This raises a question...  (and why I'm inputting at the top :)

Has anyone else clobbered their boot blocks and used one of the /boot/boot.*
files to recover it...?

The reason I ask is that while I haven't booted the MacroShaft drive, I run some
non-M$ W9x programs via wine.  One day, I was installing LM7.0 which on its own
decided to write lilo onto hda1 instead of hda (reported it and trashed LM7.0 CD
as a result).  Since there was nothing to lose in trying to recover the boot
block, I tried rewriting (dd) the ~438 bytes that were obviously clobbered to no
avail.  

Then, I stumbled upon the /boot/boot.* files and upon closer examination decided
that one of them was the image of what my M$ drive needed.  dd'ed it into hda1
and voila!  I could access the partition again...

Now, these boot.* files are inconsistent.  Depending on the distro, if memory
serves, some of these are lilo; but other than being misnamed (you have to look
inside the files), some of these are copies of what you usually see on W9x, NT,
OS/2, etc.  Not all distros have all files.

If someone has the knowledge of all these boot files, it might be helpful to
make use of these (properly named with correct content) to create a recovery
step for those poor newbie-souls-to-come who are sure to screw this up.  Being
able to restore a clobbered other-OS boot block would get Linux some kudos in
the other camps...

Just a thought,
Pierre

Brent Hawkins wrote:
> 
> Thanks for writing back.  I just went and wiped out the whole drive and I'm
> reinstalling W98 for the wife.  That W98 reminds me of how much I hate MS
> Warez every step of the freakin' way.  How did we ever buy into that crap for
> so long??!!??  Ok, I'm calming down... and the linux partitions are just for
> trying out new distros.  Nothing crucial.
> 
> Thanks though,
> Brent
> 
> Pierre Fortin <[EMAIL PROTECTED]>(by way of Cosmio - Internet Gateway
> <[EMAIL PROTECTED]>) wrote:
> > Brent Hawkins wrote:
> >  >
> >  > How do you repair an Invalid Partition Table?  This is on a dual-boot
> > system;
> >  > W98 & LM7.1.
> >
> > With _specifics_ on what was there, what happened, what it says now, etc.
> >
> > I've fixed a few here.  Not sure I can help in this case; but it's
> guaranteed I
> > can't with this info.
> >
> > Pierre
> >
> >  > Brent
> >
> > Keep in touch with http://mandrakeforum.com:
> > Subscribe the "[EMAIL PROTECTED]" mailing list.
> >
> >
> 
> > ---------------------------------------------
> >       Attachment: message.footer
> >       MIME Type: text/plain
> > ---------------------------------------------
> 
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at 
>http://home.netscape.com/webmail
> 
>   --------------------------------------------------------------------------------
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.

-- 
Linux (Up 53 days) -- Reboots are for system upgrades...
Last reboot reason:  Installed new BackUPS power supply.

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to