I have the task to clone a Linux distribution. Currently the system is still on an old mechanical hard drive, but now I would like to copy the system 1 to 1 on a SSD, so that I finally just have to install the SSD in the laptop and he runs as before.
Unfortunately, I've never done such a thing, so I'd need a recommendation as to which software would do the easiest thing.
In the implementation, it is planned to first connect the new SSD via hard disk adapter (SATA to USB) to the laptop, and then in the next step to clone the disk to the SSD.
I always do that with Acronis
Would you have vll. A video tutorial for the program?
I have the task to clone a Linux distribution.
You want to clone an installed GNU & Linux system, not the distribution (that would be forking)
Currently the system is still on an old mechanical hard drive, but now I want to copy the system 1 to 1 on a SSD
Then the SSD should be the same size or at least have a partition of the same size.
If it is a partition that is supposed to hold the contents, then first the MBR has to be "copied" and then the partition with the system.
The appropriate program under GNU / Linux would be dd (disk dump), which does not copy files into file systems but sectors, regardless of what is stored there and in which file system.
dd if = / dev / sda of = / mbr.img bs = 446 count = 1
Then the 1st partition (if both disks are inside at the same time):
dd if = mbr.img of = / dev / sda
Restore the MBR to the SSD:
if = mbr.img of = / dev / sda
The partition (if both disks are inside at the same time):
dd if = sda1.img of = / dev / sdb1 status = progress
so in the end I just have to install the SSD in the laptop and it runs as before.
But then maybe the / etc / fstab and the grub.cfg must be adjusted, because the UUID will not be the same anymore.
If no UUID is used in both you do not need to do anything further.
Of course you can also use partclone, diskclone or clonezilla if you like, or you can use HD clones (commercial).
Linux Hase
If you do that with dd, then the usable space of the target disk is the same as that of the source disk, even if it is physically larger.
Do that better by image, then nothing is lost in space.
On http://device-image.de/index_de.htm you will find the free tools usplit and unzsplit, as well as a description.
The packages should not be installable anymore, but they do not really need to copy the binaries (static linking) into the program folder (/ usr / bin).