Create separate /home partition after install

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Re: Create separate /home partition after install

Post by scorp123 »

baba wrote:Is it possible to create it after the fact. I know how to use partitioning tools.
Of course. You just have to adjust /etc/fstab ... and move your old /home to e.g. /old_home ... as your new home partition will be mounted under /home. Just move ('mv' command) the files over (as root) to the new location.
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.
Husse

Post by Husse »

There's a bit in the wiki about it
http://www.linuxmint.com/wiki/index.php ... _partition
@scorp
move as root? (man mv did not tell me much :))
what about permissions (will they change?) and (symbolic) links?
For the wiki you gave me a good set of switches for cp

Code: Select all

cp -a -v -u
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

alexander wrote: /home/USERNAME/Network to /mnt/newhome/network !!
Duh. Of course it tried. /home/* means what it means: *Everything* underneath /home. Really *everything*. Obviously you have to get rid of all your network connections first before you try something like this. Or do it in a text console (outside of any GUI) just to make sure no overly nice program tries to be super-smart and does stuff like that such as mount something on your network underneath your $HOME ...
Locked

Return to “Installation & Boot”