Description
This article is from the the Brief
Linux FAQ (BLFAQ) Maintained by Neil Zanella
nzanella@ganymede.cs.mun.ca
021. I (re/)installed windows on the same hard drive as Linux but now I no longer get the LILO prompt and can't boot into Linux. What should I do?
Most likely windows overwrote the MBR (Master Boot Record) hence deleting
LILO. If you manually installed the kernel and used "make zdisk" then you
can boot from the floppy, otherwise you can download a boot/root floppy
distribution of Linux like the one at <http://www.toms.net/rb/> or some
other one. Once you get to your hard drive don't forget to rerun /sbin/lilo
so that you won't have to boot from the floppy again. If you are using a
floppy that boots its own file system then you must first mount your hard
drive with something like "mount /dev/hda1 /mnt" and change to the hard
drive with "chroot /mnt /bin/sh" before rerunning "/sbin/lilo".
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
linux, os, faq