LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-14-2012, 03:35 PM   #1
aarcov
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Rep: Reputation: 0
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?
 
Old 08-14-2012, 04:43 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,116

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
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.
 
Old 08-15-2012, 02:43 AM   #3
Sidicas
Member
 
Registered: Apr 2004
Distribution: Debian GNU/Linux
Posts: 45

Rep: Reputation: 6
Quote:
Originally Posted by aarcov View Post
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.
 
Old 08-15-2012, 03:53 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
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.
 
  


Reply

Tags
dual boot, gparted, partition recovery, sector


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
Practically brand new hard drive (6 months), Linux says "Disk has many bad sectors" trusktr Linux - Hardware 8 01-24-2012 04:52 AM
[SOLVED] Gparted says I have bad sectors in windows partition after deleting things silvyus_06 Linux - General 7 11-02-2010 05:54 PM
How do I partition my hard drive? Gparted is being stupid. Scorr Linux - Newbie 14 02-01-2009 05:22 PM
Bad sectors in hard drive Johnnio Linux - Hardware 5 07-31-2007 03:38 PM
How to I check a Linux formated hard drive for bad sectors NewtoLinuxWorld Linux - Hardware 1 02-27-2004 03:46 AM


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