grub 拒绝安装到 raid 阵列

grub 拒绝安装到 raid 阵列

我有一个软件 raid 0 设置,其中双启动 Windows 7 和 Ubuntu 12.04。硬盘上已有的 GRUB 引导加载程序似乎运行正常。但是,自从 grub 的最新软件包更新以来,它拒绝将新版本安装到硬盘上。grub-install 抛出以下错误:

/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/mapper/< raid name>_RAID0p9. Check your device.map.
Auto-detection of a filesystem of /dev/mapper/< raid name>_RAID0p9 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to < [email protected]>

update-grub 弹出相同的

/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/mapper/< raid name>_RAID0p9. Check your device.map.

每隔一行。

我不明白到底发生了什么。我害怕重新安装 grub 包,因为它可能会搞乱启动,而目前启动工作正常。忽略这个问题安全吗?

编辑:该系统是Alienware M17xR4,我不知道如何更好地描述主板。

编辑2:这是“ls -alFR /dev/mapper/”的输出:

/dev/mapper/:
total 0
drwxr-xr-x  2 root root     260 Sep 19  2012 ./
drwxr-xr-x 16 root root    4500 Sep 19 09:03 ../
crw-------  1 root root 10, 236 Sep 19 09:03 control
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0 -> ../dm-0
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p1 -> ../dm-1
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p2 -> ../dm-2
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p3 -> ../dm-3
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p4 -> ../dm-4
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p5 -> ../dm-5
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p6 -> ../dm-6
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p7 -> ../dm-7
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p8 -> ../dm-8
lrwxrwxrwx  1 root root       7 Sep 19 09:03 isw_ccdceegjed_M17x_RAID0p9 -> ../dm-9

默认情况下,/boot/grub/device.map不存在。这是通过“/usr/sbin/grub-mkdevicemap”创建后的内容:

(hd0)   /dev/disk/by-id/ata-ST9500423AS_6WS2GYX3
(hd1)   /dev/disk/by-id/ata-ST9500423AS_S2V01385
(hd2)   /dev/mapper/isw_ccdceegjed_M17x_RAID0

相关内容