Click to See Complete Forum and Search --> : LILO problem


mmartinez
01-21-2001, 09:43 PM
I have placed LILO on the 2nd partition of my HDD. I have dual boot PC (Win98 and RH6.2). My PC crashed (courtesy of Win98, of course). Anyway, I deleted the C drive without deleting the other partitions (6 partitions in all including RH). Now I wanted to reinstall the OSs but I could neither install any MS OS nor I could access the freshly installed Linux.

LILO would always prompt for an OS. But there is no OS yet in the C drive because I couldn't get into the installation or system files of MS OS. So the LILO would assume that there is an OS already so it will boot Windows. I tried booting from a floppy disk for Linux, I failed.

Help!

manux
01-21-2001, 10:40 PM
if you didn't delete your linux partition, everything should be there. you should be able to boot with lilo. it doesn't need C drive to work unless you try to boot from there.

mmartinez
01-21-2001, 10:44 PM
Originally posted by manux:
if you didn't delete your linux partition, everything should be there. you should be able to boot with lilo. it doesn't need C drive to work unless you try to boot from there.


I deleted it because it wouldn't boot anyway. How can I remove the LILO? somebody told me that the option to install lilo on other section (aside from MBR) is if there is an OS/2 boot loader.

Now, how do I deal with it? thanks.

manux
01-21-2001, 11:56 PM
the only other option apart from fdisk /mbr is to run lilo -u from console. since you can't boot i guess that won't work. why don't you wanna use fdisk /mbr to remove it?

mmartinez
01-22-2001, 12:02 AM
Originally posted by manux:
the only other option apart from fdisk /mbr is to run lilo -u from console. since you can't boot i guess that won't work. why don't you wanna use fdisk /mbr to remove it?

i have to try that later tonight. i'll reply again tomorrow. thanks.

Linuxman
01-22-2001, 09:48 AM
boot with a DOS boot disk or windows rescue disk, cd to c:\, then type "a:fdisk /mbr" and your problem is solved. You can then reinstall your OSes.

Also, you should be able to install windows without doing the above. If you install windows via the cdrom, you just make the cdrom the first place to look to boot from in your BIOS.

------------------
ADOPTION not abortion. Proud father of an adopted boy.


NFL Playoffs Week 3
Ravens 16, Raiders 3
Regular Season
W 12
L 4
Playoffs
W 3
L 0
Tampa, here we come.

mmartinez
01-22-2001, 09:38 PM
Originally posted by Linuxman:
boot with a DOS boot disk or windows rescue disk, cd to c:\, then type "a:fdisk /mbr" and your problem is solved. You can then reinstall your OSes.

Also, you should be able to install windows without doing the above. If you install windows via the cdrom, you just make the cdrom the first place to look to boot from in your BIOS.



got it right this time. the 'fdisk /mbr' worked.