• 0 posts
  • 23 comments
Joined 3 years ago
Cake day: June 3rd, 2023
  • I would argue that rsync is better suited to clone your file system when using linux. Just prepare the partitions (plus point: you can alter partition sizes and reorganise like having a new partition (or even device) for your /home or whatever) and mount them, then

    sudo rsync -ahPHAXx --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} / /mnt

    Then fix your fstab and reinstall your boot loader. Way faster than dd and can be done on a running system.