Solved

LILO in a loop

Posted on 1998-12-03
3
359 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 300 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

632 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