/Bin/sh:can't access tty;job control turned off
- wyg1258
- 帖子: 654
- 注册时间: 2006-09-12 19:44
- 来自: whu
-
- 帖子: 1
- 注册时间: 2007-09-11 17:09
LINUX DELL 1420
我也是这问题啊,有人解决吗?
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
http://sudan.ubuntuforums.com/showthread.php?p=3062852
You can try some of this:
/bin/sh:can't access tty;job control turnedoff
Describe your new note here.
when I boot, the screen shows
Starting up
then boots to the following:
/bin/sh: cant access tty; job control turned off.
(initramfs)
so, i try the following command as suggested:
/bin/sh: cant access tty; job control turned off.
(initramfs)modprobe piix
(initramfs)exit
This does the trick, Ubuntu starts up fine, and smoothly.
> Just to simplify a little, however, after the command (in the chroot env):
> sudo echo piix >> /etc/initramfs-tools/modules
> all I needed to do is issue the command
> sudo update-initramfs -u
> to update the initramfs (thus correcting the system) and then
> exit
>
UPDATED FIX!!! I removed the old suggestion that I had written and pasted the new fix from the main thread of this problem...... Credit to this goes to
hbjason as these are his exact words. It appears as though it's a combination of some of my suggestions that I found on the internet etc etc.
f you are getting this error (and you have a SATA harddrive); this is the fix:
At the LiveCD initial boot screen:
o Select F6 for more options
o Add the following option to the beginning of the options list:
break=top
o Press enter to start booting
Ubuntu will start booting, but kick you out to a command prompt; at the prompt type these two commands:
modprobe piix
exit
You will now boot into the LiveCD normally.
If you choose to install from the LiveCD, you must make the following modifications (or else your installed system will not be able to boot, just like the LiveCD):
o Make note of the device id of the partitions that were used to install (such as /dev/hda1)
-- if you choose to install the '/boot' mount from a different partition make note of it as well (this would be done from the manual partition selection); just a side note -- if you do this, make sure the boot partition is at least 50MB or the install will error at grub setup
o When the install is complete do not reboot -- stay in the LiveCD
o Open a terminal (Applications->Accessories->Terminal)
o You must now mount the installed partitions by typing the following (assuming the install was to /dev/hda1; otherwise replace '/dev/hda1' with the install partition) commands:
mkdir target
sudo mount /dev/hda1 target
*if you also created a boot partition issue (replace /dev/hda2 with the boot partition) the command:
sudo mount /dev/hda2 target/boot
sudo chroot target
o You will now be in a 'chroot' command prompt for your new ubuntu system (be careful here, you are editing with root access!)
o You must edit the /etc/initramfs-tools/modules file; adding a line with the word: piix
-- you should do this with your favorite unix editor; or simply type the command:
echo piix >> /etc/initramfs-tools/modules
o After modifying the file you must update the system with the command
update-initramfs -u
o When complete, type 'exit' to exit the chroot env; you can now close the Terminal and reset your system.
Now when you boot you will be in your new shinny Ubuntu system!
You can try some of this:
/bin/sh:can't access tty;job control turnedoff
Describe your new note here.
when I boot, the screen shows
Starting up
then boots to the following:
/bin/sh: cant access tty; job control turned off.
(initramfs)
so, i try the following command as suggested:
/bin/sh: cant access tty; job control turned off.
(initramfs)modprobe piix
(initramfs)exit
This does the trick, Ubuntu starts up fine, and smoothly.
> Just to simplify a little, however, after the command (in the chroot env):
> sudo echo piix >> /etc/initramfs-tools/modules
> all I needed to do is issue the command
> sudo update-initramfs -u
> to update the initramfs (thus correcting the system) and then
> exit
>
UPDATED FIX!!! I removed the old suggestion that I had written and pasted the new fix from the main thread of this problem...... Credit to this goes to
hbjason as these are his exact words. It appears as though it's a combination of some of my suggestions that I found on the internet etc etc.
f you are getting this error (and you have a SATA harddrive); this is the fix:
At the LiveCD initial boot screen:
o Select F6 for more options
o Add the following option to the beginning of the options list:
break=top
o Press enter to start booting
Ubuntu will start booting, but kick you out to a command prompt; at the prompt type these two commands:
modprobe piix
exit
You will now boot into the LiveCD normally.
If you choose to install from the LiveCD, you must make the following modifications (or else your installed system will not be able to boot, just like the LiveCD):
o Make note of the device id of the partitions that were used to install (such as /dev/hda1)
-- if you choose to install the '/boot' mount from a different partition make note of it as well (this would be done from the manual partition selection); just a side note -- if you do this, make sure the boot partition is at least 50MB or the install will error at grub setup
o When the install is complete do not reboot -- stay in the LiveCD
o Open a terminal (Applications->Accessories->Terminal)
o You must now mount the installed partitions by typing the following (assuming the install was to /dev/hda1; otherwise replace '/dev/hda1' with the install partition) commands:
mkdir target
sudo mount /dev/hda1 target
*if you also created a boot partition issue (replace /dev/hda2 with the boot partition) the command:
sudo mount /dev/hda2 target/boot
sudo chroot target
o You will now be in a 'chroot' command prompt for your new ubuntu system (be careful here, you are editing with root access!)
o You must edit the /etc/initramfs-tools/modules file; adding a line with the word: piix
-- you should do this with your favorite unix editor; or simply type the command:
echo piix >> /etc/initramfs-tools/modules
o After modifying the file you must update the system with the command
update-initramfs -u
o When complete, type 'exit' to exit the chroot env; you can now close the Terminal and reset your system.
Now when you boot you will be in your new shinny Ubuntu system!
no security measure is worth anything if an attacker has physical access to the machine
- ubuntusky
- 帖子: 185
- 注册时间: 2007-02-25 22:55
- ubuntusky
- 帖子: 185
- 注册时间: 2007-02-25 22:55
-
- 帖子: 39
- 注册时间: 2006-12-19 15:55
-
- 帖子: 39
- 注册时间: 2006-12-19 15:55
-
- 帖子: 8
- 注册时间: 2007-09-09 20:05
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
Michaelgu 写了:IBM T42 硬盘安装按照置顶方法,报错如下,
/bin/sh:can't access tty;job control turnedoff
手动输入以下命令,
(initramfs)modprobe piix
(initramfs)exit
结果如下,
Kernel panic - kill the initial (大概)
然后机器死机,大写键闪烁,准备先装EDGY,然后生级到FEISTY
samzons 写了:BusyBox v1.1.3 (Debian 1:1.1.3-3ubuntu3) built-in shell (ash)
Enter "help" for a list of built-in commands...
/Bin/sh:can't access tty;job control turned off
光盘启动的时候,出现的问题。
光盘MD5正确,在windows使用VM可以用光盘安装,但是用光盘引导开机,选择install,出现了滚动条之后就出现了这个问题,help
楼主明确指出是用光盘出现这种问题,指明版本是ubuntu 7.04 .
这个方法只针对ubuntu 7.04 cd 光盘启动出现这种错误的情况。也只对部分电脑有效。
硬盘安装不能这样,硬盘安装的一种原因是没找到iso文件,方法可以从论坛找。
no security measure is worth anything if an attacker has physical access to the machine