Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-01-2005, 12:06 PM   #1
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Reinstalling Slackware, keeping partition

After a bad memory stick caused the /dev/hda1 file system to be corrupted beyond what reiserfsck can recover, I want to reinstall 10.1 onto the machine, but I have /home mounted on /dev/hda3.
How do I install on this machine without wiping the contents of /home?
When I recreate users, will the OS corrupt existing /home/username directories?
Old 08-01-2005, 12:19 PM   #2
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
just install it without adding users, and don't mention /dev/hda3.( don't use it at install )
you'll have an empty /home dir
after install, mount hda3 on /home, and edit fstab to mount it at boot.

then add users, you'll be asked if it's ok to give the new user the existing /home/<username> dir.
as homedirectory.

edit:if i understand correct you're not able to backup any config files ?


Last edited by egag; 08-01-2005 at 12:25 PM.
Old 08-01-2005, 09:41 PM   #3
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Fortunately I was able to recover the /etc directory with a SLAX cd and copy it to my fileserver. The main damage is to /var/run

I planned to do a clean reinstall of the hda1 partition anyway as I was experimenting with different mail mtas, apache2 and mysql versions that seem to have left a lot of stray files around.
Old 08-02-2005, 05:34 PM   #4
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
It is possible you have to reconfigure some programs, as /home/logname dir has many dot files used by some of those programs. Usually what you're doing doesn't cause significant problems.


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
Making new partition and keeping existing data SDmac Slackware - Installation 3 05-20-2005 08:14 AM
Backup partition keeping file owners the same Sledge Linux - Newbie 1 05-14-2005 10:14 PM
Reinstalling BOOT partition sachinh Linux - General 1 03-24-2005 03:17 AM
removing RH9 but keeping my ntfs partition bof Red Hat 6 12-25-2004 10:14 PM
Keeping /home partition with new installation Micro420 Linux - Newbie 6 10-31-2004 04:50 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:00 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