China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-15 13:14
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Just solved the hard drive lock, and I'll post the process for everyone's reference View 2,486 Replies 3
Original Poster Posted 2011-01-22 00:30 ·  中国 广西 柳州 电信
新手上路
Credits 12
Posts 4
Joined 2011-01-20 21:08
15-year member
UID 180841
Gender Male
Status Offline
Cause: Using GHOST to restore 99% of the time results in a hard drive lock, characterized by being unable to boot into any Windows operating system (including DOS, PE; Linux hasn't been tried), and the hard drive light stays on when booting the operating system.

After tossing and turning for 3 more days, I finally found a way. First, prepare a USB flash drive, then use USBOOT, and then format the USB flash drive in HDD mode. Then extract the downloaded grub4dos, run grubinst_gui.exe, select the USB flash drive in the disk, check the three options "Do not save original MBR", "Do not search for floppy disks at startup", "Do not boot original MBR". Click "Install".

Then copy config.sys, grub.exe, grldr, grldr.mbr, default, menu.lst to the root directory of the USB flash drive. Modify the content in menu.lst to:
color black/cyan yellow/cyan
timeout 30
default /default

title find and load IO.SYS of Windows 9x/Me
fallback 3
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2

Of course, if you want to add additional functions, download DiskGenius, extract it, and copy the DOS folder inside to the root directory of the USB flash drive. Then copy mouse.com, edit.com, command.com, msdos.sys (as many DOS programs as you want) from DOS 7.1 to the root directory of the USB flash drive. Then copy the unlock io.sys from the forum to the root directory of the USB flash drive. Then the bootable USB flash drive is ready.

Then use it to boot into DOS, load the mouse (mouse.com), enter the DOS directory, run diskgen, then the hard drive logical lock is detected, click to repair, then rebuild the partition table (must, because rebuilding the partition table can unlock the hard drive and repair partition table errors, but it is very likely to cause data loss. If you have important data, do not rebuild the partition table), save, and restart.

If you have backed up the partition table before, then use the corresponding partition software to restore it, and the data will not be lost.

Note: I consulted netizens before, and he said that MHDD can be used to repair (first disable the hard drive in BIOS, then run MHDD), but I didn't succeed. MHDD cannot detect the hard drive (I have changed FAULSE to TRUE in MHDD.CTF). Friends who are interested can give it a try. Finally, I wish everyone success and to recover data as soon as possible (there are many data recovery software, but Final Data is good). Thanks to the great people who provided free tools for nothing, such as Wengier from the forum.

I didn't find where to upload the attachment, otherwise I would share the bootable disk I made.
Floor 2 Posted 2011-01-23 20:51 ·  中国 广东 深圳 电信
新手上路
Credits 7
Posts 4
Joined 2011-01-22 16:56
15-year member
UID 180918
Gender Male
Status Offline
Just hang this hard disk as a slave disk to the master disk XP system, and it should be able to boot. After entering the system, you can use tools like winhex to unlock it.
Floor 3 Posted 2011-01-24 20:05 ·  中国 广西 柳州 柳北区 电信
新手上路
Credits 12
Posts 4
Joined 2011-01-20 21:08
15-year member
UID 180841
Gender Male
Status Offline
This is a notebook. If you disassemble it, there will be no warranty.
Floor 4 Posted 2011-01-24 21:21 ·  中国 河南 洛阳 联通
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Heheh, the person above, it's not that if the hard drive can't be accessed it's called a hard drive lock. So it's suggested to change the title.
Forum Jump: