中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-15 12:24
47,813 topics / 349,903 posts / today 1 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » Just solved the hard drive lock, and I'll post the process for everyone's reference
Printable Version  2,484 / 3
Floor1 nicktf Posted 2011-01-22 00:30
新手上路 Posts 4 Credits 12
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.
Floor2 ypcok2011 Posted 2011-01-23 20:51
新手上路 Posts 4 Credits 7
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.
Floor3 nicktf Posted 2011-01-24 20:05
新手上路 Posts 4 Credits 12
This is a notebook. If you disassemble it, there will be no warranty.
Floor4 bc12060101 Posted 2011-01-24 21:21
银牌会员 Posts 712 Credits 1,455
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023