LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2012, 09:52 PM   #1
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Rep: Reputation: 0
Exclamation How to back up files?


I think I need to reformat my pc since I can't find my mandriva 2010.2 cd/dvd, I only have here Mandriva 2008.
So how do i backup my files first? I have mounted a slave hard drive already but i can't access it, it says "an error occurred while accessing hard drive".. What should I do? I have an expansion drive but it is almost full so I can't use it.
Please help, anybody... Thanks in advance...

Last edited by onebuck; 04-13-2012 at 09:52 AM. Reason: Remove 'Urgent' from Thread title.
 
Old 04-12-2012, 09:56 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Quote:
I have mounted a slave hard drive already but i can't access it,
When you say mount, do you mean install into your machine or mount as in:
Code:
mount /dev/sdx /mnt/some/dir
Did you partition the drive first, etc. Please provide some more info.

Last edited by towheedm; 04-12-2012 at 10:20 PM. Reason: fix quote
 
Old 04-12-2012, 09:58 PM   #3
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Original Poster
Rep: Reputation: 0
well, I opened the CPU and mounted it there.. yes is it already partitioned, i mean the slave drive..
 
Old 04-12-2012, 10:10 PM   #4
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
How was it partitioned, in Linux? How many partitions? What is the device designation (/dev/sd?), etc? What fstype, etx2,3,4, etc? Providing a detailed description on exactly what you did will lead to a more accurate response.
 
Old 04-12-2012, 10:23 PM   #5
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Original Poster
Rep: Reputation: 0
it was already partitioned in windows (xp). I just took it from an unused unit.. i did not reformat it i just mounted it there directly..
 
Old 04-12-2012, 10:44 PM   #6
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Then it's almost certainly formatted in NTFS. While Linux will read from NTFS if ntfs-3g is installed, you will require the ntfsprogs to write to it.

If the info on the drive is expendable, try reformatting with a Linux native fstype, eg: ext4. If your GUI is up, you can use the GParted program, or fdisk from the command line. You must know the drive number for this. If IDE, is it in the primary or secondary channel? Is is SATA, what number drive? Be careful you don't re-partition your existing Linux drive.

If you're only interested in backing up your /home directory and it's on a separate partition, then you can re-install Mandriva using multiple partitions and keep your existing home partition intact.

For you, I would strongly recommend a backup first. But first what drive number is it? Drive 0 is /dev/sda, 1 is /dev/sdb etc.

What does:
Code:
fdisk -l /dev/sdx
return
 
Old 04-12-2012, 11:27 PM   #7
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Original Poster
Rep: Reputation: 0
if i just upgrade this will it help? If yes, could you give me a link to where I could just download the installer?
 
Old 04-12-2012, 11:34 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If the drive doesn't have files you need, you should reformat it with a native linux filesystem. That will allow you to preserve the ownership and permissions of the files. If the files are documents, and downloads, then the ownership isn't important. If you are backing up system files, the ownership is important.

Run "dmesg" to read the kernel messages. Did the kernel recognize the hard disk? Which device is it?
What was the error encountered?

The ntfs-3g package will install ntfs filesystem support. You also need the `fuse' kernel module. Is it loaded?
"lsmod | grep fuse"
 
Old 04-13-2012, 12:31 AM   #9
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
If you could upgrade what? Mandriva 2008?
Try distrowatch.com for the links to Mandriva.
 
Old 04-13-2012, 09:57 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Quote:
Originally Posted by jhazz View Post
I think I need to reformat my pc since I can't find my mandriva 2010.2 cd/dvd, I only have here Mandriva 2008.
So how do i backup my files first? I have mounted a slave hard drive already but i can't access it, it says "an error occurred while accessing hard drive".. What should I do? I have an expansion drive but it is almost full so I can't use it.
Please help, anybody... Thanks in advance...
Please do not use Urgent/Please help or the like in your thread titles. It is considered rude to use this form. We do know that you are posting to request aid.

Maybe you should look at the following;
FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem or query.



HTH!
 
Old 04-16-2012, 03:35 AM   #11
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Original Poster
Rep: Reputation: 0
@towheedm - Thanks a lot for the huge help you imparted me.
@onebuck - Sorry for being rude, I did not know I was acting like one.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete files keeping the files listed in a text file -urgent jeesun Linux - General 4 10-21-2011 11:28 AM
Urgent Help for bounce back tracking : Postfix/Amavisd-new/Mysql with Vitual domains jyotirtest Linux - Server 1 03-03-2011 04:57 AM
how to mv the files...urgent...urgent manojkarthi Programming 2 07-02-2008 02:21 AM
Back up tape drive urgent spilotro47 Linux - Hardware 17 06-06-2005 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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