On Mon, 14 Aug 2000, you wrote:
> Haveing just reinstalled linux after scandisk thought lilo was a boot sector
> virus and messed up my partition table, I now have to reinstall windows. I
> really want to get windows and linux installed but I know installing windows
> will overwrite lilo. Before I start, would someone tell me the following:
> 
> how to get lilo back on
> how to create a boot disk to load linux after lilo goes.

   Make a boot disk BEFORE you re-install windoze.  Do this
by typing    mkbootdisk $(uname -r)    in a console as root.
It will then ask for a blank floppy and make a boot disk for the
current running kernel.  The floppy does not need to be formatted,
'mkbootdisk' will take care of everything.

   After you've installed Windoze, boot Linux with the boot disk
you made above, and then type   /sbin/lilo   in a console as root.
This will re-install lilo in the MBR and you should then be able to
boot Linux from the HDD again.

   Exactly how/where the MBR is stored is system/hardware dependent,
but it's usually just the first few bytes on your HDD.  If you
keep a valid working boot disk on hand (2's better), you'll have
all the backup you need.  Also, Scandisk doesn't normally detect
lilo as a virus. Make sure you've got 'virus chk' in bios disabled.

-- 
~~   Tom Brinkman    [EMAIL PROTECTED]

Reply via email to