Ubuntu10.04
问题摘要:
Gave up waiting for root device.Common programs:
—Boot args(cat /proc cmdline)
—Check rootdelay=(did the system wait long enough?)
—Check root=(did the system wait for the right device?)
—Missing modules (cat /proc/modules: ls /dev)
ALERT!/dev/disk/by-uuid/bce81066-d13c-4bd8-bb7f-166a22121c44 does not exist.Dropping to a shell!
BusyBox v 1.13.3(Ubuntu 1:1.13.3-1ubuntu7)built-in shell(ash) Enter 'help' for a list of built-in commands.
(initramfs)
---------------------------------------------------------------------------------------------------------------------------------
非要输入exit后方可进入,问题分析,rootdelay时间不够长。
我google+百度,改了两个文件的参数:
首先,/boot/grub/grub.cfg
中类似
linux/boot/vmlinuz-********-generic root=UUID=a2ce51b0-935b-4ba5-9151-8674fd7dd277 ro quiet splash 这一行里
quiet前面加一句:
rootdelay=90(之前设置60,竟然不可以)
然后,/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=90 quiet "
最后,提醒下,最好把rootdelay放在quiet和splash的前面,因为我放在后面的时候意外地不能成功!还有就是时间,如果60不行,换90;90不行,120。我觉得可能和机器本身的启动有关,所以根据个人情况设置。