Bug 510954 - grub doesn't find raid partitions
Summary: grub doesn't find raid partitions
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Factory
Hardware: Other openSUSE 11.2
: P5 - None : Major with 5 votes (vote)
Target Milestone: Future 11.3
Assignee: Hannes Reinecke
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 14:57 UTC by Andreas Schneider
Modified: 2011-03-11 08:50 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2009-06-08 14:57:34 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
Comment 1 Marcus Meissner 2009-06-25 18:04:34 UTC
not sure who cerates those symlinks.

udev?
Comment 2 Kay Sievers 2009-06-25 23:58:26 UTC
I think it's Hannes' kpartx stuff.
Comment 3 Hannes Reinecke 2011-03-11 08:50:02 UTC
Please retest with 11.4 and reopen if the problem persists.