LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   keeping /home on sata - Ubuntu breezy (https://www.linuxquestions.org/questions/linux-newbie-8/keeping-home-on-sata-ubuntu-breezy-478866/)

cjae 08-30-2006 02:12 PM

keeping /home on sata - Ubuntu breezy
 
Hi,

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.

1337_penguin 08-30-2006 02:32 PM

Hi

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.

1337_penguin


All times are GMT -5. The time now is 03:11 PM.