当我在Ubuntu14.04 LTS桌面上启动服务器时。我遇到这种情况后,屏幕告诉你如何进入BIOS
然后
Gave up waiting for root device. Common problem:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system for the right device?)
- Missing modules (cat /proc/modules; ls/dev)
ALERT! /dev/mapper/ubuntu--vg-root does not exist. Dropping to a shell!
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)_
输入exit
后,系统总是可以正常启动。
我找过了,发现有许多类似我的问题。但我尝试过的答案不能解决我的处境。我将尽可能详细地描述我的服务器环境以及我所做的事情,非常感谢您的帮助。这真的让我很生气,因为在上次关机之前我没有做什么特别的事情。
我已经安装了具有LVM机制的Ubuntu系统。
sudo parted -l
几周前系统刚安装时我拍了这个截图。
lsblk
我有两个磁盘,sdb为另一个卷组,逻辑卷上的vg为KVM。我想这不是问题,只管提一提。
我根据提示进行了检查:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system for the right device?)
我所拥有的
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.4.0-45-generic.efi.signed root=/dev/mapper/ubuntu—vg-root ro rootdelay=30 quiet splash
正如您所看到的,我已经编辑了/etc/default/grub来添加rootdelay=30
,但是它没有修复任何问题。
- Missing modules (cat /proc/modules; ls/dev)
不知道我该注意到什么提示。当我在/dev/mapper中列出文件时,/dev/mapper/ubuntu--vg_1和/dev/mapper/ubuntu--vg-root中都有。
经常要求提供类似问题的其他资料:
cat /etc/fstab
blkid
我已经进入GRUB菜单,用恢复模式启动,有三对:
Ubuntu, with Linux 4.4.0-45-generic
Ubuntu, with Linux 4.4.0-45-generic(recovery mode)
Ubuntu, with Linux 4.4.0-42-generic
Ubuntu, with Linux 4.4.0-42-generic(recovery mode)
Ubuntu, with Linux 4.4.0-38-generic
Ubuntu, with Linux 4.4.0-38-generic(recovery mode)
但是,当我在恢复模式下选择要引导的任何版本时,只需再次失败进入BusyBox。正如我前面提到的,在输入exit
之后,我可以正常启动系统,但我不认为每次都应该这样做,而且显然我的服务器出了问题。
我真的想知道什么行为或情况会导致这个问题,然后我可以防止它。
sudo parted -l
pvdisplay
vgdisplay
lvdisplay
lvmdiskscan
发布于 2017-09-29 12:27:25
在一次新的Ubuntu16.06安装后不久,我在戴尔的XPS-13上也遇到了同样的问题,但无法成功地“退出”BusyBox。
我打开笔记本电脑时,按住ctrl,从启动菜单中选择系统设置,输入“SATA设置”,并从RAID更改为AHCI。
显然,Ubuntu不支持RAID硬盘
这立刻解决了我的问题。
发布于 2016-11-04 11:00:35
似乎您的磁盘很好,因此看起来您最终得到了一个initramfs,而没有lvm支持。
尝试添加一个新内核,仔细检查安装过程中是否有错误。
https://askubuntu.com/questions/843109
复制相似问题