>>Lost LILO after installed new window.
> This is a service offered to you for free by Windows. When you install
> Windows you are clearly installing a superior operating system, and
> there is not reason why youwould want to boot up anything else, so
> Windows removes all other boot loaders for you. Write a thank you card
> to Microsoft for their kind concern for your welfare.
> iThen, if you really want to use lilo again ( you need to be punished)
> you need to either use that boot disk you made when you installed linux,
> or use the installation for RH to get lilo going again.
> Once you have done that, make sure tht you have a boot disk, or at least
> a lilo on a floppy
> (run
> lilo -b /dev/fd0 to put your LILO onto a floppy which you can then use
> to rescue yourself from Microsft's ministrtions.
OR, you could take the CDROM with your Linux distribution and search it
for loadlin and vmlinuz. Create a directory on your Windoze system called
linux ;-), and copy loadlin and vmlinuz to it. Then reboot Windoze into
dos mode (NOT a dos window) and cd to the linux directory. Type the
following:
loadlin vmlinuz root=/dev/hda?
Put the right number after the hda, ie mine is 7 so I put:
loadlin vmlinuz root=/dev/hda7
Then when I boot Linux this way, login as root and simply type:
/sbin/lilo
Lilo should then be rewritten to the MBR of your harddrive, and you can
then boot Linux normally. Leave loadlin and vmlinuz in place just in case.
You may have to modify your /etc/lilo.conf to boot either Linux or Windoze
(dualboot). I've included mine as an EXAMPLE below. It will boot RH6.1 as
default, or boot Windoze 98 for my wife (really!).
Good luck!
David
boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50
default=linux
image=/boot/vmlinuz-2.2.12-20
label=linux initrd=/boot/initrd-2.2.12-20.img read-only root=/dev/hda7
other=/dev/hda1
label=dos