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 02-26-2009, 06:19 PM   #1
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Rep: Reputation: 16
How to Re-Install Suse 11 without loosing data


I am fairly new to Linux. I have been using OpenSuse 11 for the last six months. couple of days ago when trying to install the NVIDIA driver the Xserver failed. I have been trying various things many kind and patient people have been telling me to do. I am running out of time as I have an assignment to finish by end of this week and I have no back up.

How can I re install Suse 11 with the original DVD without loosing my emails and the data. If there is a way I can take back ups please tell me. The only way I can access the pc is through a like a dos screen and I do not know the commands to copy files to dvd.

Cheers!
 
Old 02-26-2009, 06:23 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by yaarappa View Post
I am fairly new to Linux. I have been using OpenSuse 11 for the last six months. couple of days ago when trying to install the NVIDIA driver the Xserver failed. I have been trying various things many kind and patient people have been telling me to do. I am running out of time as I have an assignment to finish by end of this week and I have no back up.

How can I re install Suse 11 with the original DVD without loosing my emails and the data. If there is a way I can take back ups please tell me. The only way I can access the pc is through a like a dos screen and I do not know the commands to copy files to dvd.

Cheers!
Well, there are commands to burn things to a CD/DVD from the command line, but if you're looking for quick-and-simple, a regular USB thumbdrive should do the trick as well. It'll probably also auto-mount, and be visible under /media, and you can just copy your file(s) to it, with the 'cp' command (do a "man cp" and it'll tell you the options).

If you want to back up your whole home directory, try something like this:

"cp -R /your/home/directory/* /media/<whatever thumbdrive mount point>",

They're very cheap these days, and good for quick backups like this.
 
Old 02-26-2009, 06:33 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
boot your live cd create another partition copy your /home/username/data then reinstall on the old partition then copy data from new partition to the old. or boot live cd and copy data to usb reinstall.
or reboot and in text as root or sudo type nvidia-xorgconf then then type startx. or run this from the console saX2 this should put you back to our original drivers.

Last edited by Drakeo; 02-26-2009 at 06:49 PM.
 
Old 02-27-2009, 06:37 AM   #4
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TB0ne View Post
Well, there are commands to burn things to a CD/DVD from the command line, but if you're looking for quick-and-simple, a regular USB thumbdrive should do the trick as well. It'll probably also auto-mount, and be visible under /media, and you can just copy your file(s) to it, with the 'cp' command (do a "man cp" and it'll tell you the options).

If you want to back up your whole home directory, try something like this:

"cp -R /your/home/directory/* /media/<whatever thumbdrive mount point>",

They're very cheap these days, and good for quick backups like this.
I cannot see the pendrive in the /media directory. How will I know which mount point to write to?

How do I access a directory with spaces in the middle. 'My Documents & Files

Last edited by yaarappa; 02-27-2009 at 07:16 AM.
 
Old 02-27-2009, 09:07 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by yaarappa View Post
I cannot see the pendrive in the /media directory. How will I know which mount point to write to?

How do I access a directory with spaces in the middle. 'My Documents & Files
The /media directory is usually empty. Anything that gets auto-mounted will show up as a directory in there, that's the mount point. If you don't see anything, try doing (as root) "mount". It'll show what devices are mounted. If all you see is your hard drive (probably /dev/sda), do a "ls /dev/sdb*". If you see anything, that's your pendrive. Again, as root, type in "mount /dev/sdb<whatever number> /media", like "mount /dev/sdb1 /media". That's it, the pendrive is now mounted.

To get EVERYTHING, as I said earlier, look at the options for the "cp" command. The "cp -R" will get everything, but be safe; run it as "cp -R /path/to/home/directory/* /media", then "cp -R /path/to/home/directory/.* /media". That'll get the hidden files/directories as well.

Drakeo gave some good advice too. Take your pick.
 
  


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
C sockets loosing data? greeklegend Programming 8 01-10-2008 04:40 PM
Loosing power and data flycast Linux - Hardware 2 04-15-2007 01:23 AM
How to reinstall kubuntu without loosing data? AVD_ZM Ubuntu 2 03-27-2007 08:59 AM
Can i resize my partition without loosing data? byen Linux - General 4 05-25-2005 07:39 PM
Partition resizing witout loosing data? Loke Linux - General 1 03-08-2003 07:52 PM

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

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

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