Ross Walker wrote on Fri, 12 Dec 2008 19:35:48 -0500:
I think I would do it the same or very similar.
- created a degraded raid1 called md2 out of new sdb2, use --force
with mdadm
Why force?
- removed sda1 from md0 and sda2 from md1 killing md1 off, I don't
remember if I did a mkinitrd at this point, but if in doubt, generate one
Yes, if your root device path changes, you have to run mkinitrd with the *new* fstab.
- fdisk'd boot partition of type autoraid and lvm partition of type
autoraid, same as before. Added grub to new sdb mbr.
At this point you can simply copy the structure over with sfdisk and avoid the manual creation.
Kai