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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-14-2003, 11:21 PM
|
#1
|
Member
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181
Rep:
|
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?
|
|
|
08-15-2003, 12:39 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-15-2003, 05:17 AM
|
#3
|
Member
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181
Original Poster
Rep:
|
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?
|
|
|
08-15-2003, 05:25 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-15-2003, 06:55 AM
|
#5
|
Member
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181
Original Poster
Rep:
|
I got my files backed up and I ahve reinstalled Slackware and am configuring it now!
Thanks.
|
|
|
08-15-2003, 07:23 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome, have fun!
Cool
|
|
|
All times are GMT -5. The time now is 04:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|