用LINUX的高人帮个忙!
最近开电脑时,老出现这个/bin/sh: can't access tty; job control turned off
然后就必须重起电脑才开得了机。
大家有没有出现同样的问题啊?
先谢谢了! 。。。不会用 呵呵 i have no such problem since i use another linux - debian. no idea...
but i have googled for you. it sounds like a known problem with ubuntu.
have you updated your system?
It may be a problem with the bootloader since the bootloader search a root path to boot your system.
try to change the root path after the boot prompt appears.
"At the boot prompt, press `e` to edit and try changing the root= parameter"
see the link: http://www.linux.net.nz/pipermail/aucklug/2007-April/001527.html 谢谢LSD。我也在网上搜索过,很多人都是新安装的时候出现这个问题,我的都已经安装很久,不过最近换了一个harddisk,不知道这是不是原因。$送花$ $送花$ This is not a ubuntu specific problem. Your problem is most probably that your system cannot find the root partition. The reason why you only find ubuntu relevant topics while searching for the error message in the net is that ubuntu, unlikly most other distributions, put a rudimental rootfs in the initrd image, which is extracted before mounting the system partition. Hence what you see is the error message by the busybox sh shell.
Have you changed your harddisc with the linux partition on it? For Example you have switched your old and new harddisc in the IDE or SATA bus order. In this case the harddisc device name will be changed and ther kernel will fail to mount the root disc in. Have a look in the /boot/grub/menu.lst (you can boot your machine with a live CD and mount the partition) and take a look at lines looking like:
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1.....
The first line is the position of your MBR, the second line is the kernel command line, "root=/dev/sda1" tells the kernel that linux is installed onthe first partition of the first SATA disc. If you have switched your discs, you have to change this and install your grub again with install-grub script. (if you use ubuntu, you might be abel to use the "fix installation" option booting with the install CD.) If you have trouble to understand what I've written, you might probably have to reinstall your system. ;)
cheers 原帖由 adlb 于 2007-12-5 00:20 发表 http://dolc.de/forum/images/common/back.gif
i have no such problem since i use another linux - debian. no idea...
but i have googled for you. it sounds like a known problem with ubuntu.
have you updated your system?
It may be a p ...
The problem started after I installed a second harddisk. I want to use the hd as a complete backup of my running Ubuntu 7.04 and then updating to 7.10. Strange is, that this error doesn´t come up every time. 原帖由 desert_penguin 于 2007-12-5 12:10 发表 http://dolc.de/forum/images/common/back.gif
This is not a ubuntu specific problem. Your problem is most probably that your system cannot find the root partition. The reason why you only find ubuntu relevant topics while searching for the e ...
Thank you for your answer.
The problem started after installing a second harddisk on my Ubuntu 7.04. I did an update from 6.10 to 7.04 two month ago and the system recognised the new hd. This error is not permanent, but it keeps me from an update to 7.10. 汗这里是英语角啊 原帖由 心醉的心碎 于 2007-12-5 12:47 发表 http://www.dolc.de/forum/images/common/back.gif
Thank you for your answer.
The problem started after installing a second harddisk on my Ubuntu 7.04. I did an update from 6.10 to 7.04 two month ago and the system recognised the new hd. This...
hmm, strange enough. Have you mirrored the both discs with dd or any kind like tools, which duplicate images byte-by-byte? Seemed to me that that the bios of your machine jumping between the mbr of the discs and occassionally boots from different discs. What happens if you pull the spare disc out? A more risky way: You can clear the mbr on your sparedisc by doing:
dd of= if=/dev/zero bs=512 count=1
This one is, however, a little bit risky. You might destroy your system if you don't do it right.
Neverless this is no kernel bug issue, a distribution update should do neither good nor harm to your problem. I'd do the dist upgrade if I were you. ;-)
汗这里是英语角啊
also wenn's Dir lieber ist, schreibe ich das alles noch mal auf Deutsch. ;-) Hab zwar hier auf meinem Buerorechner Eingabeprogramme fuers Chinesisch, bin aber schneckenlahm beim Schriftzeicheneingeben. :( . Schreib daher lieber auf Deutsch oder eben Engisch.... $汗$
cheers 原帖由 desert_penguin 于 2007-12-5 15:08 发表 http://dolc.de/forum/images/common/back.gif
hmm, strange enough. Have you mirrored the both discs with dd or any kind like tools, which duplicate images byte-by-byte? Seemed to me that that the bios of your machine jumping between the mb ...
Yes, I did a disk dump on a new partition on the new hd. But why is the bios using one or the other hd? It looks first for a floppy and then for a hd. I can´t boot from a dvd. My bios is 6 years in without an update. I may try to copy and delete the mbr. Never done this before.
PS: Bist du kein Chinese?$frage$
页:
[1]
2