Goku@lemmy.world to Linux@lemmy.ml · edit-21 year agoHow can I migrate my existing /home/ directory to another drive?message-squaremessage-square10fedilinkarrow-up122arrow-down13file-text
arrow-up119arrow-down1message-squareHow can I migrate my existing /home/ directory to another drive?Goku@lemmy.world to Linux@lemmy.ml · edit-21 year agomessage-square10fedilinkfile-text
minus-square[She/Her] EdgeRunner 🏳️⚧️@lemmy.dbzer0.comlinkfedilinkarrow-up9·1 year 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-up4·1 year 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-up5·1 year 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.