Bugzilla – Bug 510954
grub doesn't find raid partitions
Last modified: 2011-03-11 08:50:02 UTC
grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0,0) (hd0,0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install --force-lba --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed Error 22: No such partition grub> quit The reason ist that grub looks for /dev/disk/by-id/raid-isw_bjffgebgic_Volume0-part1 but it can't find it, cause the symlink doesn't exist. linux:~ # cat /boot/grub/device.map (hd0) /dev/disk/by-id/raid-isw_bjffgebgic_Volume0 linux:/dev/disk/by-id # ll total 0 lrwxrwxrwx 1 root root 9 Jun 8 17:55 ata-WDC_WD3200AAKS-00L6A0_WD-WMAV23716509 -> ../../sda lrwxrwxrwx 1 root root 9 Jun 8 17:55 ata-WDC_WD3200AAKS-00L6A0_WD-WMAV23824046 -> ../../sdb lrwxrwxrwx 1 root root 10 Jun 8 18:06 dm-name-cr_isw_bjffgebgic_Volume0_part6 -> ../../dm-7 lrwxrwxrwx 1 root root 10 Jun 8 18:00 dm-name-isw_bjffgebgic_Volume0 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 8 18:05 dm-name-isw_bjffgebgic_Volume0_part1 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 8 18:05 dm-name-isw_bjffgebgic_Volume0_part2 -> ../../dm-2 lrwxrwxrwx 1 root root 10 Jun 8 18:05 dm-name-isw_bjffgebgic_Volume0_part3 -> ../../dm-3 lrwxrwxrwx 1 root root 10 Jun 8 18:21 dm-name-isw_bjffgebgic_Volume0_part4 -> ../../dm-4 lrwxrwxrwx 1 root root 10 Jun 8 18:05 dm-name-isw_bjffgebgic_Volume0_part5 -> ../../dm-5 lrwxrwxrwx 1 root root 10 Jun 8 18:05 dm-name-isw_bjffgebgic_Volume0_part6 -> ../../dm-6 lrwxrwxrwx 1 root root 10 Jun 8 18:00 dm-uuid-DMRAID-isw_bjffgebgic_Volume0 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 8 18:00 raid-isw_bjffgebgic_Volume0 -> ../../dm-0 lrwxrwxrwx 1 root root 9 Jun 8 17:55 scsi-SATA_WDC_WD3200AAKS-_WD-WMAV23716509 -> ../../sda lrwxrwxrwx 1 root root 9 Jun 8 17:55 scsi-SATA_WDC_WD3200AAKS-_WD-WMAV23824046 -> ../../sdb
not sure who cerates those symlinks. udev?
I think it's Hannes' kpartx stuff.
Please retest with 11.4 and reopen if the problem persists.