Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-30-2006, 02:12 PM   #1
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Rep: Reputation: 30
keeping /home on sata - Ubuntu breezy


Have been away from the box for awhile. I need to remove a installation from 40 gig pata which has a 300 gig sata dedicated to media and such.

I would either like to erase all ubuntu and go to a different distro or
just upgrade to drapper, but I have something terribly configured wrong so I would like to do a clean install.

How can I save /home and have it recoginized after install? Without burning it to disc or transfering it to another drive.
Old 08-30-2006, 02:32 PM   #2
Registered: Jul 2005
Location: Brighton, UK
Distribution: Mainly Debian and Mepis, but also Slackware, Arch and Mandriva
Posts: 73

Rep: Reputation: 15

Is the /home a separate partition? If so you could just go through installing whatever distro, making sure not to format that partition, and then set it up in /etc/fstab afterwards. Otherwise, as far as I'm aware, you'll still need to copy it to somewhere if you plan to wipe the disk. You could try ysing tar (as it preserves permissions) and gzip to compress it (and copy the resulting file onto another drive, burn it to CD, etc.): eg.

# cd /
# tar cvf - /home | gzip -9 > home.tar.gz

To restore:
# cd /
# gunzip -c home.tar.gz | tar xvf -

Hope this helps.


Last edited by 1337_penguin; 08-30-2006 at 02:35 PM.


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
need ubuntu breezy upgrade help eoinmonty Ubuntu 2 02-24-2006 10:00 PM
Keeping \home NNP Linux - General 3 06-28-2005 10:06 PM
keeping ubuntu from going up to X eantoranz Ubuntu 11 06-22-2005 03:43 PM
Keeping /home partition with new installation Micro420 Linux - Newbie 6 10-31-2004 03:50 AM
chroot or keeping users to /home techrolla Linux - Security 9 06-22-2004 05:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 AM.

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