在Ubuntu上等待root设备

我刚刚用Windows 8将Ubuntu 12.10安装到双启动,但每次我从grub菜单中选择Ubuntu时,它总是遇到这个错误并且无法启动:

Gave up waiting for root device. Common problems: - 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/920903aa-762f-40d2-8126-87f4b0e6f975 does not exist. Dropping to a shell! BusyBox v1.19.3 (Ubuntu 1:1.10.3-7ubuntu1.1) built-in shell (ash) Enter 'help' for a lost of built-in commands. (initramfs) 

我尝试了boot-repair ,但它没有帮助, 这里是日志生成它 。

如果您将Ubuntu Desktop安装到作为RAIDarrays,加密磁盘或Windows ME的一部分的分区/硬盘驱动器上,它可能无法启动。 不支持在其中一个源上安装Ubuntu Desktop

如果您已将 Ubuntu Desktop安装到上述某个源中,则无法启动:

  1. 卸载Ubuntu。
  2. 将Ubuntu安装到属于RAIDarrays但未加密的硬盘驱动器或分区上,而不是安装在Windows ME上,它应该可以正常启动。

我也遇到了同样的问题,但我可以使用以下链接解决它

http://blog.wittchen.biz.pl/ubuntu-system-boot-problem/

尝试#1

首先,我尝试更改rootdelay,因为错误消息说。 我打开文件/ etc / default / grub我发现有以下行:GRUB_CMDLINE_LINUX_DEFAULT =“quiet splash”并将其更改为:GRUB_CMDLINE_LINUX_DEFAULT =“rootdelay = 90 quiet splash”rootdelay变得更长,但不幸的是它没有解决问题我的情况。

尝试#2

我编辑了/ etc / fstab文件。 我在终端执行了以下命令:sudo gedit / etc / fstab,并在gedit中编辑了fstab文件。 在一开始我的文件看起来像这样:

 # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # #       # / was on /dev/sda1 during installation UUID=96889309-5f73-4688-8354-e64cd1bb158f / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=480cc3f7-a39d-4d0f-93d5-49fc8df1a392 none swap sw 0 0 

然后,我评论了一行并添加了另一行描述/ dev / sda1磁盘设备。 现在,我的文件如下所示:

 # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # #       # / was on /dev/sda1 during installation UUID=/dev/sda1 / ext4 errors=remount-ro 0 1 # UUID=96889309-5f73-4688-8354-e64cd1bb158f / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=480cc3f7-a39d-4d0f-93d5-49fc8df1a392 none swap sw 0 0 

问题仍然存在,所以我尝试了另一种尝试来解决它。

尝试#3

我打开终端并输入以下命令:

 sudo grub-install /dev/sda 

然后我输入另一个命令来更新grub:

 sudo update-grub 

毕竟,我重新启动计算机,最后,错误消失,问题得到解决!

我只是随机开始输入东西……试试:

 (initramfs) blkid (initramfs) blockdev --rereadpt /dev/sda (initramfs) blkid (initramfs) exit 

这至少可以让您进入桌面,在那里您可以开始解决问题,这可能是由于专有驱动程序或其他原因造成的