Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

LILO in a loop

Posted on 1998-12-03
3
Medium Priority
?
369 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:singlep2
ID: 1631754
Adjusted points to 300
0
 
LVL 5

Accepted Solution

by:
tfabian earned 1200 total points
ID: 1631755
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
ID: 1631756
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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

722 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