LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-04-2007, 11:26 AM   #1
rvicker
Member
 
Registered: Jul 2005
Distribution: Fedora
Posts: 34

Rep: Reputation: 15
Unhappy Disaster Recover (preventative) SDA failing


I've got a Fedora Core 4 system where the SATA drive (SDA) has developed some low level errors. I have an identical drive ready to replace it. So far I have not been able to get an old IDE tape drive to work so I can't seem to get a good backup alternative.

I thought I could use G4U to clone the old drive to the new but because there are too many errors it stops quickly. By using G4U to copy individual partitions I know that the errors are not in the boot or swap partitions.

Is there any way to copy the other partition to the new drive with the errors? I know that this will probably leave files with corruption. Corrupted files are easier to deal with then no files at all. I will be updating to Fedora Core 6 after a while but I don't want to have to start all over with configuration, settings and preferences if there is a way to salvage them from the current disk.

Thanks.

Roger
 
Old 03-04-2007, 01:05 PM   #2
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
if you can boot from a live CD or different hard disk you should be able to copy the whole system from one disk to the other skipping corrupted files.
For just the relevant configuration files, copying /etc and /home and possibly /root will keep nearly all of your settings.
It may be possible to replace a new installation's /etc with your original directory but it may make the system unbootable, /home should replace no problem and /root shouldn't be needed but it is better to keep it just in case.
Cheers,
Stan
 
Old 03-04-2007, 02:33 PM   #3
rvicker
Member
 
Registered: Jul 2005
Distribution: Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
I am using UBCD for G4U.

I have the Knoppix CD and DVDs and will give one of them a try and see if it comes out right.
 
Old 03-04-2007, 03:37 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,111

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
I don't like clone solutions. Bad option.
O.k., got that out of the way early, so feel free to ignore the following.

Blindly copying regardless of errors means you may never know where the erors are on the new system.
dd will copy regardless of errors, but not by default - see the man page, or the humungous "using dd" thread. If going that way, I'd suggest allocating new (slightly larger) partitions, and do it partition by partition rather than as a whole disk.

IMHO best option is a simple "cp -a ..." or rsynch, something like that.
 
Old 03-04-2007, 09:46 PM   #5
rvicker
Member
 
Registered: Jul 2005
Distribution: Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
Post

Well, I tried the Knoppix Live CD and even when I use the Super User mode Konquer I got errors about can't copy to the the mounted new drive partition.

Then I got to thinking, why use Knoppix when I can boot the original hard disk. Again it gave me errors.

I saw syg00's post and did some Google on dd and found some discussion on dd_rescue and that it is in Knoppix. Back to the CD and it is now chugging away at sda3 to sdb3. Tomorrow night, when I get back to it and it is hopefully done, I will see if it can boot from the new hard disk.

What would help on the cleanup is if there was a utility like was in the older Norton windows tools where you could click on a block in its display and it would tell what file(s) were stored there. I could then use a map of the errors to check the tool and identify the corrupted files. If I had the time to dig into the filesystem internals I could probably use a desk editor to find it but a tool would be soooo quicker.

Did I mention that while I am a computer pro I can barely figure out how to manually mount a partition in Linux yet, but I can configure servers Apache through Samba?
 
  


Reply

Tags
clone, sata


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
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 06:13 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM


All times are GMT -5. The time now is 05:03 PM.

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