Thursday, May 2, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 41238  / 2 Years ago, tue, september 27, 2022, 9:23:56

I currently have Ubuntu 10.04 server running on a portable HDD. Want to move it to internal sata HDD. I've got 3 partitions /, /home and swap. On the new HDD I plan to have different partition sizes. What's the correct way of doing these two things (move and resize)?


More From » partitioning

 Answers
6

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



enter image description here




Moving to a bigger disk



It's easy to ensure that a clone of a SCSI
disk is restored to a SCSI disk, but you'll have a tough time finding
an exact replica size-wise. The good news is you don't have to restore
a disk on another disk of the same size. The even better news is that
you can in fact restore the image to a much larger disk.



When restoring a disk, Clonezilla enables you to resize the filesystem
and create partitions on the new disk proportionally. But even if you
are moving to a bigger disk, you might prefer to keep the partitions
as they are. In that case you can ask Clonezilla to create the
partition table as its listed in the image.




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!


[#40228] Thursday, September 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iething

Total Points: 49
Total Questions: 127
Total Answers: 112

Location: Luxembourg
Member since Tue, Jan 25, 2022
2 Years ago
;