I need to clone LVM encrypted to a bigger size hard drive.
Need help with MBR, how should I do it?
I need to clone LVM encrypted to a bigger size hard drive.
Need help with MBR, how should I do it?
Partition the new drive as a new LVM PV, and add it to the vg. Then pvmove the volumes off of the original pv and vgreduce it from the vg. You might find the system-config-lvm package useful if you don't like the command line.
I've googled many ways of cloning a hard drive, however, almost always it's mentioned that grub needs to be installed ou recovered from a previous backup; now, I believe Ubuntu 10.04 and 10.10 no longer use grub but grub2 instead. Does this change anything?
Oh, I thought you wanted to just migrate from the old drive to the new one. If you want to actually duplicate, then yes, you will need to boot from a live cd and use dd to copy the entire drive to the new one, then put it in the new machine and it should boot up, but if the new drive is larger then you will need to extent, which will be a bit tricky with lvm. There should be no need to reinstall grub.
Bookmarks