How to clone my os from one drive to another?

So… just boot live system and connect via ssh to it, then do the copy. Ok, will try it!

format and partition the drive as you want it - mimicking the one you have now - then mount the partitions to … somewhere (/mnt for instance)
then copy to that mount point

and I think rsync is easier and more efficient over the network
or you can use scp (instead of cp)

There are certain caveats when you want to copy a running system - it’s easier to do it with a live system on both sides.
For example: the contents of /dev /sys and /proc cannot! be included when you copy from your running system!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.