Lilo problems

Posted on 1999-11-16
Medium Priority
Last Modified: 2013-12-15
When reformatting my drive I caught a lost cluster and now everything is messed up-  when I boot i get to LI and then i get a blinking cursor.  I don't really want to loose my windows partitions but it seems i can't boot windows at all.  Is there any way to remove the Lilo boot loader and save the win9x partitons??
Question by:golson

Expert Comment

ID: 2212455

Your Linux and Win are in different partitions right? If so, you can just boot from disk and run  'fdisk /mbr'.

Accepted Solution

tommyh111699 earned 100 total points
ID: 2214922
If you made rescue disks for either linux or windows you should be fine. Booting into either OS should allow you to save your Win partitions. Both OS's will allow you to reformat the MBR if that is needed. In Linux you should be able to edit etc/lilo.conf to reflect any partition changes you may have made. After editing lilo.conf run lilo and then reboot and you should be set to go. Read the LILO HOWTO, in /usr/doc/HOWTO/mini/.

Try to fix LILO first, Stopping at LI implies that the second stage loader is unable to load the kernel. This can be a drive architecture problem thaat can be solved by BIOS knowing your HD disk type, (large LBA, normal etc). In your case you may have moved things around and not told LILO. Adding LINEAR to the /etc/lilo.conf can sometimes be a solution. See the Mini howto for more options. If you know where your windows partitions are you should be able to point LILO to the windows partiton with a label of "default' in /etc/lilo.conf and be ready to go. Always run LILO after editing /etc/lilo.conf .

If you have no rescue disks and LILO is hanging then the problem is more complicated. A mini linux distro on a flopppy could get you access to your files and at least allow you to clear your MBR. THere may be DOS boot disks that will do the same thing if you are more comfortable with dos.

Expert Comment

ID: 2270531
If you would like to fix the problem get a win95 boot disk from someone and make sure it has the right version of fdisk on it.  after it boots type fdisk /mbr.  This will rewrite only the Master Boot record.  That will get rid of lilo and allow you to boot as you used to into windows.  If you want to save lilo try the comment listed above mine.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month4 days, 3 hours left to enroll

600 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