#How do I make a separate home partition after install?

23 messages · Page 1 of 1 (latest)

candid slate
#

Title, I'm considering distrohopping to opensuse, but I want to keep my files, and a separate /home partition seems ideal for that, but sadly, I did not set it up during install. Is there any way to do so after the install, and move my files over to the /home partition?

tall zephyr
#

just
shrink your root

#

make a new partition

#

log out
and log in as root in tty2 or any tty that doesnt have your desktop

#

mount your new home to /mnt

#

sudo mv /home/* /mnt

viral quarry
#

sorry for interupting, but wheee do you guys put your exports? This one thing kept putting me in vi, i only know vim and nvim

tall zephyr
#

unmount /mnt
then mount the new home to /home

viral quarry
#

Oky

tall zephyr
candid slate
#

how do i do that

tall zephyr
#

nvim /etc/fstab

#

vim /etc/fstab

#

nano /etc/fstab

#

the syntax for each entry is

identifier,mountpoint,fstype, mountoption,dump, order

and they are seperated by spaces

candid slate
#

also my linux partition is 250gb, how big should my /home partition be

tall zephyr
#

either way
if youre not using a filsystem with compression (and has it on) for root
you should use a 50GiB root

sinful sundial
#

@tall zephyr no sudoedit?

tall zephyr
#

what do you need sudo edit for