从 10.10 升级到 11.04 导致 Ubuntu 崩溃

从 10.10 升级到 11.04 导致 Ubuntu 崩溃

我从 10.10 升级到 11.04(内核 2.6.38-9),现在 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/mapper/isw_jhdfjbgej_Volume01 does not exist.  Dropping to a shell!

这导致回到 BusyBox shell。

如果我这样做,ls -l /dev/mapper我会得到:

isw_jhdfjbgej_Volume0 -> ../dm-0
isw_jhdfjbgej_Volume0p1 -> ../dm-1
isw_jhdfjbgej_Volume0p5 -> ../dm-2

我尝试使用较旧的内核(2.6.35-28)进行启动,并且成功了(除了 x,因为没有构建 nvidia 驱动程序),并且得到了ls -l /dev/mapper

isw_jhdfjbgej_Volume0 -> ../dm-0
isw_jhdfjbgej_Volume01 -> ../dm-1  # my ext4 partition
isw_jhdfjbgej_Volume05 -> ../dm-2  # my swap partition

于是我sudo apt-get purge linux-image-2.6.38-9-common重新安装了nvidia-common2.6.35-28(dkms 重建模块)。然后当我重新启动到 2.6.35-28 时,我得到了/dev/mapper/isw_jhdfjbgej_Volume01与 2.6.38-9 相同的错误。

答案1

看这个:

http://ubuntuforums.org/archive/index.php/t-1719850.html

您有 Promise Raid 吗?如果是,看起来它适合您的问题。这里还有另一条关于此内容的条目:

http://ubuntuforums.org/archive/index.php/t-1719850.html

所以这是 Ubuntu 安装和 dmraid 包中的一个错误。

总而言之,看起来有一个包含更新的 ppa:

ppa: psusi/ppa

答案2

解决我的问题的方法应该是显而易见的:

ALERT!  /dev/mapper/isw_jhdfjbgej_Volume01 does not exist 

isw_jhdfjbgej_Volume01是 grub 中启动选项的一部分:

kernel /boot/vmlinuz-2.6.35-28-generic root=/dev/mapper/isw_jhdfjbgej_Volume01 ro splash quiet

无论出于什么原因,升级后isw_jhdfjbgej_Volume01现在称为isw_jhdfjbgej_Volume0p1(最终指向/dev/dm-1)。因此,通过在启动配置中更改isw_jhdfjbgej_Volume01isw_jhdfjbgej_Volume0p1,我的系统可以正常启动。

/dev/mapper我不知道为什么卷的名称发生了改变。

答案3

如果不是第一次,那么再次尝试使用 Live CD 升级方法可能是值得的。我知道我在摆弄 Gnome 3 后遇到了麻烦,只能通过插入 Live CD 并选择安装,然后从 10.10 升级(这是其中一个选项)才能使其再次工作?这样,在升级时不重新安装数据会更安全。

您的系统上是否已经有很多数据,您可以备份这些数据吗?如果您不确定,请使用实时 CD/U 盘启动,然后导航到您的旧主文件夹并先备份您能备份的数据。这样,如果您遇到问题,至少可以确保您备份了一些数据。如果您已经知道或已经备份了这些数据,请见谅。

让我们知道您的身体情况如何。

相关内容