Solved

LILO in a loop

Posted on 1998-12-03
3
325 Views
Last Modified: 2013-12-15
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!
0
Comment
Question by:singlep2
  • 2
3 Comments
 

Author Comment

by:singlep2
Comment Utility
Adjusted points to 300
0
 
LVL 5

Accepted Solution

by:
tfabian earned 300 total points
Comment Utility
boot from a WIN95 floppy, and use the Win95 fdisk program to restore the master boot record..

the syntax is     fdisk /mbr


see url

http://www.windows-nt.com/multiboot/directboot.html

for details on how to remove LiLo from the MBR..

or see my previous (and still unanswered question) in this forum at url

  http://www.experts-exchange.com/Q.10099397

it deals with other LILO problems..
0
 

Author Comment

by:singlep2
Comment Utility
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.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now