Ubuntu10.04启动时的initramfs问题

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。我觉得可能和机器本身的启动有关,所以根据个人情况设置。

posted on 2012-08-07 16:12 Head 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/hzprogram/archive/2012/08/07/2626888.html

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值