LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2003, 11:21 PM   #1
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
backup files before reinstall HELP!


Argh!
I have just unwittingly stuffed up something in my linux install and need to reinstall.

I have a bunch of files in /home/stevo I need backed up to another partition called /dev/fat2 or /dev/hdb3

How can I get these files?
 
Old 08-15-2003, 12:39 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Toss in your install CD (slack right?) and when you get to the first command prompt after loggging in as root, simply mount up your existing / partition, mount up /dev/hdb3 and copy the data over.

However, it's usually not necessary to reinstall, learning to fix your errors instead of reinstalling is half the beauty of linux. So feel free to post up what problems you have been experiencing

Cool
 
Old 08-15-2003, 05:17 AM   #3
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by MasterC

However, it's usually not necessary to reinstall, learning to fix your errors instead of reinstalling is half the beauty of linux. So feel free to post up what problems you have been experiencing

Cool
Thanks, I'll try that.

I don't think I had all the dev modules installed, so i went to install then, then cancelled a little way thru, then i couldnt get to KDE so I couldn't copy over my files and settings.

I also want to install Gnome so that will let me do that. I haven't been able to install any other programs, it keeps error-ing at the C- compiler stage of ./configure...

so yeah a bunch of probs, thought I'd just reinstall and start over.

What are the commands to copy a whole directory over to the partition?
 
Old 08-15-2003, 05:25 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You have to mount the partition first, then:
cp -a /path/to/files /path/to/partition



Good Luck! And I hope you get it all worked out this next time

Cool
 
Old 08-15-2003, 06:55 AM   #5
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
I got my files backed up and I ahve reinstalled Slackware and am configuring it now!

Thanks.
 
Old 08-15-2003, 07:23 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome, have fun!

Cool
 
  


Reply



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
Can't uninstall or reinstall backup software..HELP! ntwkgirl Linux - Software 2 05-23-2005 09:56 PM
How to backup files? yuchen99 Red Hat 6 04-23-2005 09:36 PM
help with backup files vince_2x Linux - General 1 09-21-2004 09:11 PM
reinstall redhat config files? how? piratebiter Linux - General 11 10-02-2003 03:20 AM
backup files before reinstall HELP! ludeKing Linux - Newbie 4 08-14-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration