Operating Systems > Linux and UNIX
/home
Doogee:
Hey.
I just made a new partition in the linux installer, it was the /home partition.
Now im in and the partition is under /mnt/disk/
how do i make this seperate partition the home directory?
voidmain:
Log off and log in as root, move all the data from /home to /mnt/disk, unmount /mnt/disk, change the /etc/fstab, mount /home:
# mv /home/* /mnt/disk
# umount /mnt/disk
Assuming /mnt/disk is on /dev/hda3, change /etc/fstab from:
--- Code: ---
--- End code ---
to
--- Code: ---
--- End code ---
then
# mount /home
Log off and log on as a normal user where your home directory (and all other users home directory) will be on the /home partition rather than the /home directory on the root partition.
Doogee:
--- Code: ---
--- End code ---
Theres my fstab, im in mandrake, i changed over yesterday(sunday) so its got all this supermount shit that i dont have a clue about... a hand, anyone?
voidmain:
Apparently after creating your partition you mounted it manually on /mnt/disk. No problem, after moving the data and unmounting /mnt/disk, just insert the line I mentioned as the second line in your fstab:
--- Code: ---
--- End code ---
Again, I am assuming your /mnt/disk is on /dev/hda3. Change "/dev/hda3" to whatever it *really* is. I am also assuming you created the file system on this partition as "ext3" which is what it needs to be.
[ November 11, 2002: Message edited by: void main ]
Doogee:
ok so i change
--- Code: ---
--- End code ---
to
--- Code: ---
--- End code ---
i just need to be clear, i had my red hat install fucked from the start, i wanna do it clean this time. sorry for any trouble void main.
Navigation
[0] Message Index
[#] Next page
Go to full version