[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hosed my system/fdisk can't read disk drive now.



>>>>> "ktb" == ktb  <xyf@inetnebr.com> writes:

    ktb> I didn't drop any data but I can't access anything but
    ktb> bios/setup at this time.  My system basically is telling me
    ktb> that no HD exists.  How can I restore the partition table?

This might work:

* Create a bootable floppy on a Windows or DOS machine (but *not* NT),
  using `format /s'.

* Copy c:\windows\command\debug.exe onto the floppy.  Also grab
  `format.exe' and `fdisk.exe'.

* Copy the following file onto the floppy; name it `wipe.scr'.
------------------------------------------------------------
f 200 L200 0
a 100
mov ax,301
mov bx,200
mov cx,1
mov dx,0080
int 13
int 3

g=100

q
------------------------------------------------------------
Make sure you use the DOS end-of-line convention.  Also make sure you
include the two blank lines.

* Now boot your machine from this floppy.

* At the a: prompt, type `debug < wipe.scr'.

If you're lucky, you'll see the contents of wipe.scr whiz by, along
with some mysterious hexadecimal codes, followed by a register dump,
and then the a: prompt.

* Reboot.  Repartition.  Reformat.  Enjoy.


Reply to: