LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-05-2005, 11:08 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
How do I move /home to a new partition?


I would like to move my /home to a new partition on a different hard drive.

How do I do this and transfer the existing data in /home to the new location?

Thanks
 
Old 01-05-2005, 11:12 PM   #2
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Well, after posting I managed to find a post that answers this question. Didn't see it the first time I searched....ooops.
Anyways, for anyone who may be interested, here is that post:

http://www.linuxquestions.org/questi...03/11/4/118919
 
Old 01-05-2005, 11:15 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
first setup your new partition and mount it under something like /mnt/home

Then make sure your logged in as root, and do cp -a /home/ /mnt/home/

Then delete all the files from /home the add

/dev/hdXX /home XXX defaults 0 2

to fstab, replacing the X's wit the approriate settings, then

umount /mnt/home
mount /home

And your done.

Thats the basics anyway, I would do a full backup of /home before proceeding.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I move /home ? MikeyDIUP Linux - Newbie 3 09-11-2005 02:36 AM
how can I move my /home to anohther partition ? linjia Linux - Software 1 12-11-2004 12:07 PM
How do i move /home to a new partition? glenn69 Linux - General 8 06-25-2004 12:38 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM
Move /home to Windows Partition Campy19 Mandriva 2 11-23-2003 01:24 AM


All times are GMT -5. The time now is 03:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration