PDA

View Full Version : [ubuntu] Upgrading hard-drive with multiple partitions. What is the easiest medhod?



alperyilmaz
June 16th, 2008, 10:39 PM
I'm using Ubuntu Hardy currently and I'm upgrading my harddrive from 60GB to 160GB. In the old drive there are multiple partitions and /home and / (root) are mounted to separate partitions.
In the new harddrive I'd like to keep the similar setup (separate partitions for / and /home), only difference will be that they will have bigger sizes.
I know of the neat dd command which can clone a disk or partition in with single command "dd if=/source/partition of=/target/partition", however as far as I read, this is only true for same size disks/partitions. Is there a way to use dd for an upgrade process? If not, what is the solution for this specific project?

louieb
June 16th, 2008, 10:49 PM
Might be a fairly easy thing. Just use GParted from a live cd such as SystemRescueCd (http://www.sysresccd.org/Main_Page). Create your new partitions and use the copy function to get your stuff from one partition to the other.

May have some UUID's to change in your Ubuntu install. Once you take care of that, it should work.

Pumalite
June 16th, 2008, 11:36 PM
http://www.psychocats.net/ubuntu/partimage

jkwinn
March 10th, 2010, 11:30 AM
I am trying this tomorrow:

http://www.linux.com/learn/tutorials/8225-clone-your-ubuntu-installation-onto-a-new-hard-disk

Hopefully it goes as planned and I can report back tomorrow night.