Hello,
I have had a similar problem. I am upgrading to openSUSE 12.1 on a system with a RAID 1 configuration and got:
kernel (hd0)/vmlinuz-3.1.10-1.16-desktop root=/dev/md2 resume=/dev/md1 splash=silent vga=0x31a
Error 17: Cannot mount selected partition
I could also not boot in failsafe.
Since this is a RAID 1 setup, I activated the RAID:
mdadm --assemble --scan
Two devices did not assemble: sda6 failed to be added to md4 because of an invalid argument; md4 thus tried to assemble from 0 drives and failed.
sda5 failed to be added to md3, also because of an invalid argument; md3 thus tried to assemble from 0 drives and failed.
I ran fdisk:
Disk /dev/sda: 250.0 GB, 250000000000 bytes255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000170fa
Device Boot Start End Blocks Id System
/dev/sda1 * 63 1028159 514048+ fd Linux raid autodetect
/dev/sda2 1028160 17816084 8393962+ fd Linux raid autodetect
/dev/sda3 17816085 38796974 10490445 fd Linux raid autodetect
/dev/sda4 38796975 488279609 224741317+ f W95 Ext'd (LBA)
/dev/sda5 38797038 49287419 5245191 fd Linux raid autodetect
/dev/sda6 49287483 91233134 20972826 fd Linux raid autodetect
/dev/sda7 91233198 101723579 5245191 fd Linux raid autodetect
/dev/sda8 101723643 488279609 193277983+ fd Linux raid autodetect
Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004586c
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 1028159 514048+ fd Linux raid autodetect
/dev/sdb2 1028160 17816084 8393962+ fd Linux raid autodetect
/dev/sdb3 17816085 38796974 10490445 fd Linux raid autodetect
/dev/sdb4 38796975 488279609 224741317+ f W95 Ext'd (LBA)
/dev/sdb5 38797038 49287419 5245191 fd Linux raid autodetect
/dev/sdb6 49287483 91233134 20972826 fd Linux raid autodetect
/dev/sdb7 91233198 101723579 5245191 fd Linux raid autodetect
/dev/sdb8 101723643 488279609 193277983+ fd Linux raid autodetect
Disk /dev/sdc: 2107 MB, 2107637760 bytes
61 heads, 60 sectors/track, 1124 cylinders, total 4116480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x75c8aa08
Device Boot Start End Blocks Id System
/dev/sdc1 64 4116479 2058208 6 FAT16
Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfdf22653
Device Boot Start End Blocks Id System
/dev/sdf1 * 63 976768064 488384001 b W95 FAT32
Disk /dev/md125: 197.9 GB, 197916557312 bytes
2 heads, 4 sectors/track, 48319472 cylinders, total 386555776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md121: 5371 MB, 5371002880 bytes
2 heads, 4 sectors/track, 1311280 cylinders, total 10490240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md120: 526 MB, 526319616 bytes
2 heads, 4 sectors/track, 128496 cylinders, total 1027968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md119: 197.9 GB, 197916557312 bytes
2 heads, 4 sectors/track, 48319472 cylinders, total 386555776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md118: 10.7 GB, 10742136832 bytes
2 heads, 4 sectors/track, 2622592 cylinders, total 20980736 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
So now I see my partitions and I can identify them by contents as:
md118 /
md119 /data
md120 /boot
md121 /srv
md125 /data (but files not touched since 2010…hmm…could my RAID have broken?)
There is also supposed to be a /home and a /tmp partition, but those did not appear. Perhaps they are md3 and md4?
So how do I change my bootloader command to point to the right partition? Switching it to hd1 didn’t work (not that I thought it would). How do I specify the RAID device?
thanks,
Bill