LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to use Gparted to copy a partition with bad sectors to a new hard drive? (http://www.linuxquestions.org/questions/linux-software-2/how-to-use-gparted-to-copy-a-partition-with-bad-sectors-to-a-new-hard-drive-4175422083/)

aarcov 08-14-2012 03:35 PM

How to use Gparted to copy a partition with bad sectors to a new hard drive?
 
I am trying to copy a windows partition to a new harddrive (from a linux machine that will now be set up for dual-boot) with Gparted, but have been unable to do so since the harddrive has one bad sector. Is there a way to force it to copy it to the new harddrive?

jefro 08-14-2012 04:43 PM

You can try it.
http://www.ghacks.net/2010/06/03/cop...-with-gparted/


I don't know that I would fool with it. You won't get a good copy if you already know the drive is bad.

Some people might use dd with option to ignore error or ddrescue or I forget the other one (maybe gdd or something.)

Not sure what clonezilla would do on it.

Sidicas 08-15-2012 02:43 AM

Quote:

Originally Posted by aarcov (Post 4754154)
I am trying to copy a windows partition to a new harddrive (from a linux machine that will now be set up for dual-boot) with Gparted, but have been unable to do so since the harddrive has one bad sector. Is there a way to force it to copy it to the new harddrive?

I'm pretty sure Clonezilla would be the way to go there... You should be able to identify and work-around the bad sector by running an fsck with -c. If it's a failing hard drive, this could cause more sectors to fail though.

TobiSGD 08-15-2012 03:53 AM

I would neither use GParted nor Clonezilla here. I would use a tool that is specifically designed for such a case, like ddrescue.

But as jefro already stated, It would be better to make a fresh install of Windows on the new disk, since the old installation may already be damaged.


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