Comment 45 for bug 120375

Revision history for this message
Ken (ksemple) wrote :

I have just had a problem with my Ubuntu 7.1 machine not booting again. Both disks of the RAID1 set (and the spare) seemed to be fine, but the system wouldn't boot. I just ended up at the Busybox prompt. I was able to get it going again using the following commands:
         "mdadm --assemble /dev/md0 --super-minor=0 -f /dev/sda1 /dev/sdb1 /dev/sdc1"
         "mdadm --assemble /dev/md1 --super-minor=1 -f /dev/sda2 /dev/sdb2 /dev/sdc2"

I have another RAID set on this machine /dev/md2 and it was fine.

A little research helped me discover a possible reason. I used the following commands to create the mdadm.conf file:
        "sudo echo "DEVICE partitions" > /etc/mdadm/mdadm.conf"
        "sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf"
It may have been the first command which created the problem I had as I had modified some partitions just before I had the boot problem. I have changed my mdadm.conf to that created by the following command:
        "mdadm --detail --scan --verbose > /etc/mdadm.conf"
Time will tell whether this solves the problem long term.

Bill, have a look at my post of 29 Dec 07. I think that tells you all you need to know. Having a look your other post, it seems that you have done everything else you need to do. I have put together a complete set of instructions for creating the bootable RAID set. I can post these if you need them.

Cheers,
Ken