On 18/01/12 16:23, Joey L wrote:
When i put the drive sda into the system to add it back to the md0 - the system keeps booting from it and refuses to boot from the good sdb drive.
Boot with just the good drive; degrade the array (fail the missing drive); relabel your root partition (whatever is mounted at /) with a filesystem label you have not used before; adjust your fstab and reconfigure your bootloader accordingly. You may need to regenerate your initramfs.
Power off, plug both drives back in; upon boot, interrupt your boot loader (there's some chance your system still invoked the one from the
bad drive,) and adjust the kernel command line so that root=LABEL=new-label.That above might do the job; if not, you may also need to play in the GRUB CLI to access the correct /boot to load the correct initramfs.
-- Jon Dowland