Moving a server over to a RAID

Luis Paulo luis.barbas at
Fri Aug 20 03:13:59 UTC 2010

On Fri, Aug 20, 2010 at 3:07 AM, Luis Paulo <luis.barbas at> wrote:
> Am I missing something?

I see now what I am missing :)

If you copy the full tree to the new drives, it probably will not boot, right?

What a about if you still install a system on the new drives, at least
grub will be working, raid partitions are there. if after copying the
old os it will not boot, it may get you to a (initramfs) prompt.
There you can assemble by hand the md partitions, but you want be able
to run grub-mkimage, I think.

What about if you copy everything but the boot dir? That may give you
a good initrd.img file. In that case having the same kernel running on
both installs will be a good idea.

If even so you still get to the (initramfs) prompt because of mdadm,
you can assemble by hand the md partitions, exit, and - with luck -
the system will boot successfully.

Then you would be able to set the /etc/mdadm/mdadm.conf file and run

Let the experts say if that's just a lot of nonsense. :)


More information about the ubuntu-users mailing list