LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-19-2010, 11:34 PM   #1
skanthsuku
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
back up data in linux


if c: drive is corrupted in windows OS, we can reinstall the c:\ with windowsXP and the remaining data will be safe in other partitions. Is there any way to make linux partition like this, so that data remains in other partition and the main linux OS in a single partition? pls reply.
 
Old 04-19-2010, 11:41 PM   #2
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Yes, absolutely. With linux you get the choice of where you want to put your data, so you can put it on a separate partition, or disk, or even a different machine. Reinstalling the software can be done without affecting the data.

Having said that, linux is not like windows, you don't generally have to reinstall to correct a problem.
 
Old 04-19-2010, 11:43 PM   #3
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
As long you have separate partitions and choose No format on that partition, the data will remain untouch.
 
Old 04-19-2010, 11:48 PM   #4
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
It's pretty easy with linux. Just partition your hard drive (or drives) into more than one partition before installing (using a live cd if you like, but most installers give you the choice during their setup program). Then just make sure your /etc/fstab points the partitions at the correct spots in the directory tree and you're done.

For instance, I have three partitions on my desktop (plus a swap partition) on two different drives. One is mounted to the root filesystem ('/'), one to /usr, and the third to /home. So my fstab looks like this:

Code:
/dev/hda2        swap             swap        defaults         0   0
/dev/hda1        /                ext4        defaults         1   1
/dev/hda3        /usr             ext4        defaults         1   2
/dev/hdb1        /home            reiserfs    defaults         1   2
Run 'man fstab' at the command line for more details than you could possibly use. You can partition any hard drive you don't have mounted using cfdisk.

Last edited by zytsef; 04-19-2010 at 11:49 PM. Reason: typo
 
  


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
LXer: Back up your data LXer Syndicated Linux News 0 12-13-2009 06:40 PM
Getting Back The Data? your_shadow03 Linux - Newbie 4 08-19-2008 08:13 PM
Back up Windows data to a Linux server across the internet dickgregory Linux - Networking 2 04-30-2008 11:12 AM
script to back up data? linuxpng2 Linux - Newbie 1 09-19-2006 01:41 PM
back up data linuxqa Linux - Software 1 03-28-2006 09:39 AM


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