• Total Posts: 42343
  • Total Topics: 15618
  • Online Today: 1217
  • Online Ever: 51419
  • (01. January 2010., 10:27:49)

Author Topic: Automatically re-partition drive or hard disc around weak sectors & bad blocks  (Read 6287 times)

0 Members and 2 Guests are viewing this topic.


  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
Ever had a harddrive that's just fine, with only a small area containing bad blocks?

What I usually do in those cases (when data isn't important) is run a linux sudo badblocks -s -v -w /dev/sdXY (replace -w with -n for less rigorous non-destructive bad blocks test).

I write down which block numbers are bad, and manually calculate by hand at what percentage of the disc that area is and build my partitions (with some extra space) around those weak sectors. It works for me, and I happily used many discs for years as passive backup medium for biology movies and music  >:D

While trying to solve my RAID cloning problem here (,9592.0.html), I stumbled upon a program totally unknown to me.... Partition.Bad.Disk 3.3.2 (

PBD (Partition Bad Disk): isolate bad sectors / blocks / clusters of a HDD hard drive disc.

One day you might hear strange sound from your hard drive. The computer hangs when reading/writing files, cloning partitions, formatting/checking the disk. Windows finally fails to start up after bitter attempts of reading data from HDD. The disk volumes disappear in the Explorer.

Well, all these are probably caused by bad sectors on your HDD. To fix this problem, you can isolate the bad sectors so that OS will ignore/bypass them. There are two methods for bad sector isolation. The first method is partitioning the disk to exclude bad sectors from any created partition.

But have you been bored with partitioning bad disks with bad sectors? Did you lose your patience in the past when scanning the disk, writing down the positions of bad sectors, and calculating the start/stop position of partitions in order to block/hide bad sectors?
Now you need not do that manually.

PBD (Partition Bad Disk) can do all these annoying things for you by detecting/isolating bad sectors and creating healthy partitions. You can also adjust the properties of partitions such as the size, the start/stop postions at will, just like an ordinary partition software.
The second bad block isolation method is marking bad clusters in the file system. You can now use PBD Super Format option to format the partition and hide bad clusters smoothly.

GUI looks a bit complicated, but I'm planning on testing it once I'm fully done with cloning my old server disc to my new RAID volume. First, I'll run a destructive badblocks -s -v -w on it...


More information about bitcoin, altcoin & crypto in general? GO TO

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist

Samker's Computer Forum -


  • SCF Member
  • **
  • Posts: 16
  • KARMA: 3
  • Gender: Male
First, if you have bad blocks, replace the hard drive. It's failing. If you want to continue to take a gamble on it, I'd use MHDD. It's DOS based, but you can structure a partition around bad blocks. I've used it before on Hiren's BootCD, but I'd just replace the drive. You can get MHDD from or Hiren's from


  • SCF Newbie
  • *
  • Posts: 5
  • KARMA: 1
  • Gender: Male
For hard disks that have bad sectors, the most viable way is to do low level formatting, with the HDDGuru utility. After that a complete formatting of high level, can use the windows and finally change the voloras of the smart with the crystaldiskinfo, it has worked for me, in fact I have lasted many years more hard disks.

Sorry, but I'm using a translator, I only speak Spanish

Samker's Computer Forum -


With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters)

Enter your email address to receive daily email with ' - Samker's Computer Forum' newest content:

Terms of Use | Privacy Policy | Advertising