Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RedHat 7.2 LILO error: Getting "LIL"

Status
Not open for further replies.

RichieK515

IS-IT--Management
Feb 18, 2002
5
US
Hey,

To anyone out there who has a quick fix for this problem. I have a system that has two OS: Windows NT and RedHat 7.2. After installing RedHat (after NT), I received a LILO error, where the boot process just halts at "LIL." Before, I would just boot from a RedHat boot diskette, run "rescue root=/dev/hda1" at the boot prompt, login, and run the command "/sbin/lilo" to reset LILO. RedHat 7.2 now mounts the root filesystem under the /mnt/sysimage/ filesystem, which doesn't allow me to run /mnt/sysimage/sbin/lilo, since lilo.conf is located in the /mnt/sysimage/etc/ filesystem. I've tried to copy lilo.conf in the /etc/ filesystem, as well as the boot.b file in the /boot/ filesystem, but it doesn't work. Please let me know if there is a fix to this.

Thanks,
Richie
 
Never mind I figured it out...

I overlooked the comment of using "chroot /mnt/sysimage" to set root as root... hehe, if that makes sense
 
LIL mean second stage loader started, but the descriptor table can't be loader due to bad disk or invalid parms in /etc/lilo.conf.
You can restore the original boot sector using this command :
dd if = /boot/boot.0300 of =/dev/hda1 bs=446 count=1

Please check this boot.MMmm in /boot.
MM is the major device number.
mm is the minor device number.

Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top