Moving a server over to a RAID

Mike A. Leonetti mikealeonetti at
Fri Aug 20 03:40:39 UTC 2010

 (2010年08月19日 23:13), Luis Paulo wrote:
> 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
> grub-mkimage.
> Let the experts say if that's just a lot of nonsense. :)
> Regards
> Luis
Not to knock your idea, but it actually made me a bit confused reading
it lol. It seems like more work than just copying it straight up and
then modifying the boot stuff afterwards.

More information about the ubuntu-users mailing list