This was I can wipe the drive it’s on and install a new OS without losing anything in /home/

  • h3ndrik@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    get a filesystem ready on the new drive, mount it to /mnt/ (for example) and then cp -a everything. You could also use rsync. Or clone the entire harddrive with ‘dd’ and afterwards grow the partition if it’s a bigger hdd.

    If you just want to replace the OS you can do manual partitioning on install, keep your /home and just overwrite the OS. But do a backup anyways since mistakes do happen.