I installed LMDE and did not get a choice to use a second hard drive for my /home directory.
So, I have a hard drive just sit-in there with a blank stare on its face.
I installed LMDE on sda2. On sdb1 is where I want my /home directory. How do I do this?
Thanks a lot for your quick like responses...
how to move /home to another hard drive
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
how to move /home to another hard drive
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: how to move /home to another hard drive
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=359767a5-33f8-4735-b638-ff2ae2593903 / ext4 rw,noatime,nodiratime,errors=remount-ro 0 0
# /dev/sda6
UUID=52b6b1fa-8a8a-4862-88c9-d33014139d35 /home ext4 rw,noatime,nodiratime,errors=remount-ro 0 0
# tmpfs
tmpfs /tmp tmpfs nodev,noatime,nosuid,mode=1777 0 0
1. run 'sudo blkid' to get UUID number of sdb1
2. copy everything on your current /home to sdb1. down to every hidden files.
3. create a new entry on your /etc/fstab. it will be something like this
Code: Select all
# /dev/sdb1
UUID=<sdb1 UUID number> /home <filesystem> rw,noatime,nodiratime,errors=remount-ro 0 0
4. restart.
the noatime and nodiratime parameter is optional. I haven't try this yet but it theorically should work. good luck
Re: how to move /home to another hard drive
Check this thread. There's a link to the tutorial for Ubuntu, but people say it works for LMDE, you just need to read it carefully, not copy things blindly, and make a backup before doing anything of course.