LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-23-2008, 10:23 PM   #1
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
Question Reinstalling and keeping user data (all on the same partition)


I've got an older system here that I'd like to repurpose. I think it used to be Slackware but right now it hardly even boots. I'd like to re-install it to run 12.1

My original plan was just to format and reinstall from the Slackware discs, but everything, including user's directories (which I've been requested to keep since no one remembers exactly what's in there), are on the same partition.

What's the best way to clean and re-install the system while preserving the user data?
Thanks!
 
Old 10-23-2008, 10:34 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Backup the user data, install, set up users and groups, then restore the user data.
Since users may differ between systems, you have to deal with /etc/passwd and /etc/group yourself *before* restoring data from backup.
 
Old 10-25-2008, 01:21 PM   #3
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
Sounds fair. The system hangs during boot, so what would be the best way to back up the user data and /etc/passwd and /etc/group?
 
Old 10-25-2008, 03:48 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Can you boot from a live PC or in single user mode? If you can do that you can pull off the data. Alternatively, slave it to an already running PC and copy them over that way.
 
Old 10-28-2008, 09:59 PM   #5
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
Yeah, it boots fine from the slackware 12.1 DVD.
When it boots on its own, the terminal says "using /etc/random-seed to initialize /dev/urandom". I suspect that something's broken in the startup scripts, but I'd rather just clean and reset the system back to 12.1... unless someone thinks this boot problem's a quick-fix
 
Old 10-28-2008, 11:32 PM   #6
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
Heh ok got it booting: it was a bad rc.udev. Quicker to fix than I thought ...but I still want to backup the users and re-install clean. There's other nasties lurking on this system that I don't have the time to debug all of them.
... I guess I'm off to backup my data to a new partition. If I can't get it back to it after I reinstall, I'm sure I'll be back here!
 
  


Reply

Tags
reinstalling


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
Keeping old data on disk agatone Linux - Newbie 6 09-25-2007 04:52 AM
user permissions for my Data partition Michaelx Slackware 9 07-31-2007 06:32 PM
Reinstalling Slackware, keeping partition davidsrsb Slackware 3 08-02-2005 05:34 PM
Making new partition and keeping existing data SDmac Slackware - Installation 3 05-20-2005 08:14 AM
Keeping data when changing platforms DaveWolles Linux - General 3 03-05-2004 09:04 PM


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

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