reinstall and keep /home
is there a way i can reinstall my OS, but keep /home untouched?
i am using SuSE 9.1 |
yes, move /home to a separate partition while you reformat your old one. or just install linux on top of your existing installation to overwrite all the binary files (not recommended)
|
Hi!
Simply backup your home directory like: Code:
cp -r --preserve /home/./ /source-directory/ or use Code:
tar -cjv --preserve -f "home.tar.bz2" /home |
Code:
or just install linux on top of your existing installation to overwrite all the binary files (not recommended) |
This is a reason I always have a separate /home partition.
|
Quote:
|
i have /home on a seperate hd in fact. could i just disconnect that disk and reconnect it when i finish reinstalling....or would i then end up with two home dirs?
|
as long as you say to use the second harddrive as /home without reformatting it (so it updates /etc/fstab) you are all set. go ahead, you'll be fine.
|
well, i told YaST to get info from the old fstab file, and mount it the same way. then i deleted all partitions on hda (swap, / and /usr), and told YaST to keep hdb as it was, mounting it as /home.
this worked like a charm. i formatted hda with ext3, and hdb still has reiserfs3...will this give me any problems? Thanks |
All times are GMT -5. The time now is 10:44 PM. |