LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2003, 01:09 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
putting /home on a seperate partition


Hi,
I've heard that some people put their /home directory on a seperate partition so that if the system gets hosed,they can save all their important stuff quite easily.
I was just wondering how easy it is to do this? Presumably it's not just a case of moving /home to the new partition...or is it?


regs,
Ludwig
 
Old 05-06-2003, 02:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
yeah that's all it is really. but then that it self isn't a single command... things like that are conceptually really easy, as once that directory exists in it's new physical location, mounting it at /home recreates a filesystem that looks exactly the same as it did before, but is built differently under the hood. There are a fair few threads about how to do this if you are thinking about it.
 
Old 05-06-2003, 02:37 AM   #3
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Quote:
Presumably it's not just a case of moving /home to the new partition...or is it?
No its actually case of moving everything under /home to the new /dev and then making a mount point /home to mount it on Then putting an entry in fstab that looks something like:

device mountpoint filesystem option1,option2,option3 0 0

The numbers at the end are for dump and fsck. Read man mount.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting /home on a different harddisk? Swakoo Linux - Newbie 9 10-27-2005 04:35 AM
/home seperate partition from previous install, make it new /home in new install mipia Slackware 5 06-21-2004 10:57 PM
Seperate /home directory to new partition iotc247 Debian 1 05-31-2004 10:50 AM
Seperate /home partition craigl Linux - Newbie 2 05-10-2004 11:15 PM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration