Link to home
Start Free TrialLog in
Avatar of singlep2
singlep2

asked on

LILO in a loop

Firstly I'm a LINUX novice. I installed RedHat Linux 5.1. As part of the installation I partitioned and formatted a second hard disk for LINUX (plus a FAT16 partition - seen as "D:" from DOS/Win98). I have Win98 on the DOS primary partition of my first disk. After I had LINUX installed and working I decided a dual boot would be nice. I created a lilo.conf file to boot to /dev/hda1 by default (label "apps" - Win98) and to /dev/hdb1 (label "linux" - for, you guessed it, LINUX). Then ran lilo which happily took over the boot sector on my first disk.
When I now boot I get the lilo prompt then "starting apps" and then this loops - lilo prompt, starting apps, lilo prompt and so on until I type linux.
When in linux I cannot mount /dev/hda1 but can happily mount all the logical partitions in the extended partition of this first disk. I can boot to dos from a floppy but again cant read the "C:" drive but can read the other logical partitions E, F and G.

I cannot get to WIn98 at all at the moment (some might say this is a good thing!) but I would really like to.

I think I want to remove/replace lilo from the boot sector of my primary disk but dont know how to. I 'm guessing that the primary partition is FAT32 (logical ones are FAT16) that could be causing the problem but I'm not sure.

Good luck and please be quick cos my wife wants to do some scanning and printing of word docs for an assignment and I'm in big trouble!
Avatar of singlep2
singlep2

ASKER

Adjusted points to 300
ASKER CERTIFIED SOLUTION
Avatar of tfabian
tfabian

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks tfabian.
"lilo -u"  was exactly what i was looking for. I find it strange that this wasn't mentioned in any of the places i looked - and i looked in a few !

I've managed to remove lilo and get my Win 98 working again. Happily booting to linux from a floppy but might try and do the "win98+linux, loadlin, bootsec, F4" solution so ican forget about floppies.

Thanks again !!    Paul.