On Sun, Sep 02, 2001 at 06:12:52PM +0000, Mark Glassberg wrote:
> ran lilo.  Lilo rewrote the boot sector of the msdos partition, not the
> mbr of the drive.  The partition is no longer readable.  Lilo may well
> have made a copy of the boot sector before overwriting it...but the copy,
> if it exists, is on the non-readable partition.

That's possible, but not likely.  If lilo had made a back up copy of
the boot sector of your MS-DOS partition, it would have saved it in
/boot/boot.xxxx (where xxxx is the major and minor number of the
device where lilo wrote the boot sector), unless you told it to put it
somewhere else.  For example, if you told it to write the boot sector
to /dev/hda1 (a likely location of your DOS partition), by default it
would be /boot/boot.0301.

If it's there, you should be able to restore it with something like 

  # dd if=/boot/boot.0301 of=/dev/hda1

Otherwise, you might be SOL.  I could be way off here, but I think DOS
just stores the io.sys and msdos.sys files in the first sector, so you
might be able to boot with a DOS (or win9x as appropriate) boot
floppy, and run

  a:\> sys c:

If that's not correct, hopefully someone who cares more about MS
operating systems than I do will speak up and offer some wisdom...

HTH.

-- 
---------------------------------------------------
Derek Martin          |   Unix/Linux geek
[EMAIL PROTECTED]    |   GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to