Grub 在 11.04 全新安裝中找不到 RAID 分割區

Grub 在 11.04 全新安裝中找不到 RAID 分割區

我嘗試在具有基於 LSI SAS1068E 的硬體 RAID 設定的 Dell PowerEdge-R610 上安裝 11.04(我認為)。安裝程式順利完成,但重新啟動後,Grub 似乎無法找到啟動分割區並落入 busybox shell。

這是 RAID 設備上的分割區表。

Disk /dev/sda: 72.7 GB, 72746008576 bytes
255 heads, 63 sectors/track, 8844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d08d6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        6757    54272000   83  Linux
/dev/sda2            6757        8845    16765953    5  Extended
/dev/sda5            6757        8845    16765952   82  Linux swap / Solaris

這是安裝程式產生的 Grub 腳本。 msdos 的東西對我來說看起來很可疑。 (請注意,這是手寫的,可能包含拼字錯誤。)

setparams 'Ubuntu, with Linux 2.6.38-8-generic'

recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 22f9995f-8060-4893-9b9a-bed1d2635384
linux /boot/vmlinux-2.6.38-8-generic root=UUID=22f9995f-8060-4893-9b9a-bed1d2635384 ro   quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic

關於如何讓它發揮作用有什麼想法嗎?

答案1

在我對這台伺服器進行了幾天的嘗試後,發現神奇的咒語只是在 Grub 選單中的核心命令中添加「rootdelay=90」。它只是等待 RAID 控制器初始化的時間不夠長。

相關內容