• 0 Posts
  • 34 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle


















  • 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.