I currently have Ubuntu 10.04 server running on portable hdd. Want to move it to internal sata hdd. I've got 3 partitions /, /home and swap. On new hdd I plan to have different partition sizes. What's correct way of doing these 2 things(move,resize)?
|
|
|||||||
|
|
Clonezilla may be useful for cloning your hard disk, even for those situations on which you need to do it with different size disks as mentioned here: http://www.tuxradar.com/content/how-clone-hard-drives-clonezilla
There is documentation about moving to a larger disk as mentioned here but I am not sure that you can do it the opposite (cloning to a smaller disk). However, it's worth to try. Clonezilla offers several Live CD's and bootable USB images and there is also documented that you can resize the free space on the disk after the copy, in which case the suggestion by @maniat1k to use gparted is also a good idea. If you use clonezilla, I would appreciate if you drop comments with your experiences over here in order to have well documented how does this work for future reference. Thank you a lot and Good luck! |
|||
|
|
|
with an live cd open a terminal as root ( example: you can do a copy from one hdd to another like this
with the same live-cd you can use |
|||||||||||
|
|
If I understand you correctly, you want to move your current installation of Ubuntu to a new disk of 300 GB. yes this can be done, but it's much easier to make a fresh install, and a lot faster. if you make a fresh install on the larger disk and then just move your files to the larger disk. |
|||||||||||
|
Just putting in the new drive and copying over all the files by themselves will not work because the disk will not be listed in GRUB and the partition is not set as bootable. |
|||||||||||||
|
