Bad Sector Fix using GParted [XP Pro SP3]

benbrockn

Distinguished
Oct 26, 2011
31
0
18,530
I have an old laptop whose hard drive has a bad sector on it (it's been on there for years and has shown no sign of further deterioration). I am able to resize/move partitions as I like and I'm going to use the bad sector as unallocated space and partition around it. I was using GParted on Ubuntu and when I check my drive it gives me this:

GParted 0.5.1

Libparted 2.2
Check and repair file system (ntfs) on /dev/sda1 00:00:01 ( ERROR )

calibrate /dev/sda1 00:00:00 ( SUCCESS )

path: /dev/sda1
start: 63
end: 40960079
size: 40960017 (19.53 GiB)
check file system on /dev/sda1 for errors and (if possible) fix them 00:00:01 ( ERROR )

ntfsresize -P -i -f -v /dev/sda1

ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 20971528704 bytes (20972 MB)
Current device size: 20971528704 bytes (20972 MB)
Checking for bad sectors ...
Bad cluster: 0x1627bb - 0x1627bb (1)
ERROR: This software has detected that the disk has at least 1 bad sector.
****************************************************************************
* WARNING: The disk has bad sector. This means physical damage on the disk *
* surface caused by deterioration, manufacturing faults or other reason. *
* The reliability of the disk may stay stable or degrade fast. We suggest *
* making a full backup urgently by running 'ntfsclone --rescue ...' then *
* run 'chkdsk /f /r' on Windows and rebooot it TWICE! Then you can resize *
* NTFS safely by additionally using the --bad-sectors option of ntfsresize.*
****************************************************************************

I was wondering if the error code 0x1627bb gave any details to where I can move/resize my hard drive (maybe 1627 is the 1627th byte on the disk?).

Here are my computer's basic spec's:

Windows XP Professional 32-bit (SP3)
2GB RAM
Intel Pentium M Processor 2GHz
160GB HDD

HP Compaq tc4200 tablet pc

Thanks!
 
Solution
Bad sectors are marked by the drive firmware and never used. There is no reason or way to partition "around" them as bad sectors are not used.