Goku@lemmy.world to Linux@lemmy.ml · edit-211 months agoHow can I migrate my existing /home/ directory to another drive?message-squaremessage-square10fedilinkarrow-up135arrow-down13file-text
arrow-up132arrow-down1message-squareHow can I migrate my existing /home/ directory to another drive?Goku@lemmy.world to Linux@lemmy.ml · edit-211 months agomessage-square10fedilinkfile-text
minus-square[She/Her] EdgeRunner 🏳️⚧️@lemmy.dbzer0.comlinkfedilinkarrow-up16·11 months agoI dont like the MV home. 😅 My advice : login as root. rsync -av /home, on the new disk. fstab : comment the old home’s line, don’t delete, and copy it to change the identifier (path or uuid). noob tips, add a new file in the new home. login to check it is ok (with su - user), and check there is the new file. You can now delete or keep it as a save.
minus-squareblotz@lemmy.worldlinkfedilinkarrow-up9·11 months agothe mv home is just renaming the folder so you can mount home in the same space. Rsync is probably better than cp but I didn’t want to suggest tools that op doesn’t have installed.
minus-square[She/Her] EdgeRunner 🏳️⚧️@lemmy.dbzer0.comlinkfedilinkarrow-up10·11 months agoOh ok I see why no use of rsync. Clever. I’ve read your solution, OP, you can go. Good tuto written on mobile.
I dont like the MV home. 😅
My advice :
You can now delete or keep it as a save.
the mv home is just renaming the folder so you can mount home in the same space. Rsync is probably better than cp but I didn’t want to suggest tools that op doesn’t have installed.
Oh ok I see why no use of rsync. Clever.
I’ve read your solution, OP, you can go. Good tuto written on mobile.