It is currently Mon 30-Jan-2023 08:22

How can I move my home folder to an external drive?

OptimusPrime

@OptimusPrime@lemmy.ml
Joined:Mon 18-Apr-2022 23:55

How can I move my home folder to an external drive?

Post by @OptimusPrime@lemmy.ml »

Edit: doing this has slowed down the computer. I don't recommend it. I'm going to revert the changes.

I would like to move all the content of my home folder to an external drive to preserve the SSD from too many reads and writes when downloading stuff. Would it be safe to just move everything to /mnt/T/home and symlink with ln -s /mnt/T/home /home/user? The hard drive is configured to mount on system startup. I don't know if this would generate issues with any program that may refuse to follow symlinks.

Maybe it's safer to create a home partition and move it?
lostbox66

@lostbox66
Joined:Fri 2-Dec-2022 22:41

How can I move my home folder to an external drive?

Post by @lostbox66 »

sudo rm -rf / should suffice. Sometimes you want to put a --no-preserve-root just so it doesn't interfere with the root of your filesystem.