I wanted to clone my yunohost SATA drive to a smaller SSD drive. It’s a new installation without any data.
Are gparted to shrink the drive then clonezilla the way to go?
Appreciate any help,
U
I wanted to clone my yunohost SATA drive to a smaller SSD drive. It’s a new installation without any data.
Are gparted to shrink the drive then clonezilla the way to go?
Appreciate any help,
U
I remember having used gparted to copy paste the whole disk. But there was a trick I forgot
Hi @uncertain
I’ve never used clonezilla, it can perhaps perform all operations in one go, but I’m not sure.
For this kind of operations I use a boot key (like SystemRescue), change the keyboard layout, launch the graphical environment (both commands are printed when booted) and then use GParted as mentioned by @jarod5001.
Here’s a step-by-step procedure:
# dd if=/dev/sda of=/dev/sdb bs=1M count=10
I prefer SystemRescue over distribution rescue disk because it has every tools I can think of to tinker with systems: restore grub, work with cryptsetup, clone/resize partitions…
When cloning disk/partition always check source and destination twice before committing changes!
thanks for the reply @jarod5001 and @kumqualy ,
I’ve tried gparted but the install has allocated the whole 2tb disk, even though there is almost nothing on it. Thanks for putting me onto systemrescue. Ill give that a try.
Best regards,
U
I have plugged the drives using USB external cable on my Linux laptop. I copy pasted the partitions from source to destination then resized it (or resize then copy paste, I don’t remember, it was 2 years ago)