moving /home to its own partition

Emmanuel Seyman seyman at wanadoo.fr
Sun Feb 13 18:01:31 UTC 2005


On Sun, Feb 13, 2005 at 06:39:26PM +0100, Duncan Lithgow wrote:
>
> my /home partition has filled up so I need to move it. I used qtparted to 
> format a 9Gig section of my disk to ext2 - cool - but, I've read a few 
> explanation and still can't understand how to move /home so it still works 
> properly. At the moment /home is on the same partition as the rest of my 
> instalation.

The first thing you'll have to do is empty your current /home.
Move the dulithgow and mbschmidt accounts to a newly created directory,
/home.new for exemple.
Then add the following line in your /etc/fstab:

LABEL=/home     /home     ext3    defaults        1 2

Label the new partition /home with the command "e2label /dev/hda8 /home"
and then mount it with the command "mount /home".
Move the user accounts from /home.new to /home and erase /home.new .

You're done!

Emmanuel




More information about the fedora-list mailing list