Comment 48 for bug 569900

Revision history for this message
Manny Vindiola (serialorder) wrote : Re: mount: mounting /dev/md0 on /root/ failed: Invalid argument

I can also confirm for Ubuntu 10.04 Lucid Server (64 bit)

I tried installing with a raid 1 on two WD Black 500GB hard drives.
I get the no init found error and am dropped to a busybox shell

I have three partitions one for /boot, one for /root, and one for /swap

Like @Thomas I also get this type error

md1: detected capacity change from 0 to 490107502592

and

md1: p2 size 957241344 exceeds device capacity, limited to end of disk

and like @midair77 I also get this type of error
AERT!! /dev/md1 does not exist. Dropping to a shell!

cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-21-server root=/dev/md1 ro quiet

I just took a look at my partition table and I think I noticed something that may be contributing to the problem:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x000a2420

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 59829 480468992 fd Linux raid autodetect
/dev/sda3 59829 60802 7813120 fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x000a2420

   Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 fd Linux raid autodetect
/dev/sdb2 14 59829 480468992 fd Linux raid autodetect
/dev/sdb3 59829 60802 7813120 fd Linux raid autodetect

If you notice both HDDs have a total of 60801 cylinders and on both hard drives the end cylinder of the 3rd partition is 60802 which is greater than the size of the disk.

Both of these partitions were created with the install partitioner I am resinstalling now with partitions I create myself with (s)fdisk. I will let you know if that works.