引导加载程序安装失败 - RAID

引导加载程序安装失败 - RAID

我正在尝试在具有硬件 raid(raid 5 中的 3 个磁盘)的台式机上安装 Ubuntu 13.04。如果相关的话,我相信我有一个 ICH8 芯片组。

因此,我使用启动盘创建器创建了一个安装 USB 棒,其中包含 amd64 Ubuntu 桌面映像。我继续安装,选择清除所有内容并安装 Ubuntu(无 lvm、无加密或类似的东西)。安装似乎很顺利,直到最后,我收到一条错误消息,提示“无法安装 GRUB”

无法安装 GRUB

https://i.stack.imgur.com/4ZfOu.png

我认为它最初尝试了 /dev/sda,但随后我得到了一个菜单,我可以在菜单中选择一个网络分区。我尝试了其他选择,但似乎没有任何效果。我需要卸载某些东西来安装 GRUB 吗?

其他安装路径候选的屏幕截图:

引导加载程序安装失败

https://i.stack.imgur.com/gLXzj.png

以下是输出ls -l /dev/mapper

ubuntu@ubuntu:~$ ls -l /dev/mapper
total 0
crw------- 1 root root  10, 236 Aug 25 06:48 control
brw-rw---- 1 root disk 252,   0 Aug 25 14:17 isw_bifaeaafcc_Volume0
brw-rw---- 1 root disk 252,   1 Aug 25 14:17 isw_bifaeaafcc_Volume0p1
brw-rw---- 1 root disk 252,   2 Aug 25 14:17 isw_bifaeaafcc_Volume0p2
brw-rw---- 1 root disk 252,   3 Aug 25 14:17 isw_bifaeaafcc_Volume0p5
ubuntu@ubuntu:~$

我最终选择了“继续不使用引导加载程序。”,希望能够弄清楚如何在安装后安装 GRUB。

有没有办法安装 GRUB,以便系统可以启动?如果您需要更多详细信息或系统规格,请告诉我。

编辑:这是故障期间 /var/log/syslog 的输出

Aug 25 23:03:50 ubuntu grub-installer: info: architecture: amd64/generic
Aug 25 23:03:50 ubuntu grub-installer: info: Mounting /proc into /target
Aug 25 23:03:50 ubuntu ubiquity: grub-probe: error: failed to get canonical path of /dev/mapper/isw_bifaeaafcc_Volume0p1.
Aug 25 23:03:51 ubuntu ubiquity: grub-probe: error:
Aug 25 23:03:51 ubuntu ubiquity:  
Aug 25 23:03:51 ubuntu ubiquity: failed to get canonical path of /dev/mapper/isw_bifaeaafcc_Volume0p1
Aug 25 23:03:51 ubuntu ubiquity: .
Aug 25 23:03:51 ubuntu ubiquity: File descriptor 3 (pipe:[140038]) leaked on lvdisplay invocation.
Aug 25 23:03:51 ubuntu ubiquity:  Parent PID 17588: /bin/sh
Aug 25 23:03:51 ubuntu ubiquity:   
Aug 25 23:03:51 ubuntu ubiquity: Volume group "isw_bifaeaafcc_Volume0p1" not found
Aug 25 23:03:51 ubuntu ubiquity: 
Aug 25 23:03:51 ubuntu ubiquity:   
Aug 25 23:03:51 ubuntu ubiquity: Skipping volume group isw_bifaeaafcc_Volume0p1
Aug 25 23:03:51 ubuntu ubiquity: 
Aug 25 23:03:51 ubuntu grub-installer: info: Identified partition label for /dev/mapper/isw_bifaeaafcc_Volume0p1: loop
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpGkg: warning: ignoring request to remove grub-legacy which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi-amd64-bin which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi-amd64 which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi-amd64-signed which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi-ia32-bin which isn't installed
Aug 25 23:03:52 ubuntu grub-installer: dpkg: warning: ignoring request to remove grub-efi-ia32 which isn't installed
Aug 25 23:03:53 ubuntu grub-installer: info: Installing grub on '/dev/mapper/isw_bifaeaafcc_Volume0p1'
Aug 25 23:03:53 ubuntu grub-installer: info: grub-install does not support --no-floppy
Aug 25 23:03:53 ubuntu grub-installer: info: Running chroot /target grub-install  --force "/dev/mapper/isw_bifaeaafcc_Volume0p1"
Aug 25 23:03:54 ubuntu grub-installer: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
Aug 25 23:03:54 ubuntu grub-installer: error: Running 'grub-install  --force "/dev/mapper/isw_bifaeaafcc_Volume0p1"' failed.

答案1

这是一个假袭击控制器。除非您必须使用 Windows 双启动,否则最好避免使用它们,而坚持使用普通的旧式 Linux 软件 raid,您可以在 BIOS 实用程序中破坏伪 raid 阵列后使用备用安装程序进行设置。

如果您必须使用假 raid,为了进一步排除故障,您将需要检查 /var/log/syslog 以获取关于 grub-install 失败原因的更详细的错误消息。

相关内容