How to force remap bad sectors

Опубликовано: 08 Август 2026
на канале: LineNumber0
35,047
95

Physical bad sectors cannot be fixed because it's a defect on the platter surface of the disk, called on Gsmartcontrol "offline Uncorrectable sector" from the name suggest, it cannot be repaired even during uninterrupted surface scan (interrupted by an operating system or any other software), the system board of the hard drive is programmed to do a routine scan when the disk doesn't receive any operation for a certain period.
But instead, HDD can reallocate successfully some pended sectors with physical or logical defect.
Here how to force the replacement, rather than waiting for an offline surface scan.



The remap doesn't affect data .


DO NOT TOUCH "erasing sectors or whole drive" IF YOU ARE NOT SURE BECAUSE Vivard DOESN'T GIVE ANY CONFIRMATION DIALOG AFTER INSERTION OF THE LBA NUMBER (Logical Block Addressing) !



OS : Debian GNU/Linux 7.9 ; Gnome Desktop (fallback experience)
Qemu open source virtualization software, the command i used to create a virtual machine and boot UltimateBootCD 5.3.5 :

qemu -smp 2 -m 512 -localtime -cdrom $HOME/Desktop/ubcd535.iso -drive file="qemu-hdd",if=ide,index=0,media=disk,cyls=16383,heads=16,secs=63,trans=lba,cache=writethrough,aio=native -boot once=c,menu=on


Read this article : https://oprojet.ma/ln0wp/yet-another-...

ogv format : https://drive.google.com/file/d/0B85Z...