Solved

LILO error URGENT!

Posted on 1999-01-25
3
263 Views
Last Modified: 2010-04-20
After a reboot* command on a dual Win NT and Linux(redhat 5.2) I can not start Linux. LLIO starts as follows: "LIL-" and I heard the error mean: "The descriptor table is corrupt. This can either be caused by a geometry mismatch or by moving /boot/map without running the map installer. - from www.yggdrasil.com"
WHAT SHOULD I DO? Formating the Hard DRIVE partition will be ruled out. Is any way I can remove LILO and install it again? Will this will work?

Thank you,
 
0
Comment
Question by:elvaaa
  • 2
3 Comments
 
LVL 3

Expert Comment

by:PinTail
Comment Utility
Are you using NT's boot loader to get to LILO or do you boot NT from LILO.

The following discussion assumes you are using the NT boot loader ( my preference )

Have you just installed Linux.  If so, did you have a look at /etc/lilo.conf.  make sure the images it points to are the ones you want to use (ie: boot=, map=, kernel=).  If they are execute the following /sbin/lilo with no arguments.  You should a line of text for every label specified ( a label is associated with a bootable OS by using the label= statement within /etc/lilo.conf, read the LILO documentation if you are really lost ).

If you didn't get any errors things are probably o.k., if you got a warning about Linux not being on the first disk device, you can ignore that as long as it's on the second device.

Now 'peel' the bootsector off of the linux root partition
I have installed Linux on my second IDE drive in the first partition so if I were to need to 'peel' the boot sector i would issue this command:
dd if=/dev/hdb1 of=bootsect.lnx bs=512 count=1
now copy that file ( bootsect.lnx) to the root of your NT partition ( in my case DOS C: drive ).







0
 
LVL 3

Accepted Solution

by:
PinTail earned 40 total points
Comment Utility
I think I need more information to even be able to decide if I can answer it.

Are you using LILO or the NT boot loader as your main OS loader ?
Have you just recompiled your kernel without running /sbin/lilo ?

Can you reply with a copy of your /etc/lilo.conf ?

0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
I recommend using dd with bs=448, 'cause it does not copy the partition table

elvaaa, when you installed lilo, it made a backup copy of the MBR, it's usually
/boot/boot.301, where 301 is a number identifying the disk where it came from.
You max copy it back with the dd command (see PinTails comment)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 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

18 Experts available now in Live!

Get 1:1 Help Now