LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-01-2005, 11:06 AM   #1
davidsrsb
Member
 
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, 11:19 AM   #2
egag
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 ?

egag

Last edited by egag; 08-01-2005 at 11:25 AM.
 
Old 08-01-2005, 08:41 PM   #3
davidsrsb
Member
 
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, 04:34 PM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 532

Rep: Reputation: 30
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.
Ciao
 
  


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


All times are GMT -5. The time now is 08:47 AM.

Main Menu
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