[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

LILO hangs after executed from NT Boot Loader

 I have installed Win98SE, NT 4.0 Sp6a, and Red Hat Linux 6.1 as a triple boot system using the NT Boot Loader menu.
Win98 and NT work fine. I did the steps to make the file bootsect.lnx and add the entry to the boot.ini file. So I can see Linux and when I select it from the boot menu, all I get at the prompt is LI instead of LILO.
Whats going on?

1 Solution
The problem is two fold:
1. At the time of installation you should have selected "linear mode config" for the boot disk (provided if your hard disk supports LBA). Check with your hard disk config and also your BIOS to verify this. (If you have a brand new linux installation, reinstallation is not a bad idea).

2. Each time the "lilo.conf" file is updated you need to run "lilo -v" and create a new "bootsec.lnx" file (with "dd if=/dev/hdxx of=/bootsec.lnx bs=512 count=1 ; where xx is your boot partition) and copy it over to "c:\bootsec.lnx" on your NT (If you are using the NT bootloader).

Here is the solution:
1. As a first step boot with your Linux boot disk (If you created on during the installation). The boot loader will bring up your kernel. If this works then you should see your logon screen.

2. Login and perform the standard "bootsec.lnx" procedure:
# lilo -v
# dd if=/dev/hdxx of=/bootsec.lnx bs=512 count=1

Put a dos floppy on A:
# mcopy /bootsec.lnx a:

3.Boot system in NT. Copy your new "/bootsec.lnx" to "c:\bootsec.lnx"

4. Reboot the box and select "linux" from your NT bootlist.

You should now see "lilo:" and this will boot your default kernel. You should be all set.

Cheers !!!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now