I just installed Debian 2.1 on my system (Asus P2B, BT-958 SCSI, two
UW-SCSI hard drives & LS-120 on hda), and I can't seem to upgrade the kernel.
I compiled a new kernel, tried creating a boot disk. A plain ("dd")
boot disk refuses to even start booting, a LILO boot disk gets as far as
"LI", and now I've rendered Debian unbootable by trying LILO on the hard
drive.
LILO is configured to install on /dev/sdb4 (my Debian partition), as
I use OS/2 Boot Manager as the primary loader. The partition is just over
4 Gb in size.
When I ran lilo -v on the new kernel, I got a warning that BIOS device 0x82
might not be accessible.
Then when I tried to boot, as soon as I chose Linux from Boot Manager, I
got
L 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ...
ad infinitum.
I checked the LILO documentation, and it says this "shouldn't happen"
(and a few equally helpful things).
I tried booting into my other Linux partition, SuSE 5.2 on /dev/sdb3.
I mounted sdb4 on /new, tried restoring the old kernel image, and
running "lilo -v -r /new"
and got "First boot sector does not have a valid LILO signature".
The LILO docs just say I might have the partition name wrong, but
I can't have since I've mounted it.
The final piece of the puzzle is this: LILO installed perfectly well
via the Debian installation routines (with the default install kernel).
I'm using the exact same lilo.conf file as was installed by default in
/etc (which I assume is what it used before). All I did was change the
symlink /vmlinuz to point to the new kernel.
I've tried adding/removing parameters like "compact" and "linear", to
no avail.
I've also tried using the exact same lilo.conf contents as my SuSE
installation on /deb/sdb3 has (with the partition name changed).
But it refuses to accept it.
It can't be the hard drive, because SuSE works well, and Debian installed
perfectly well, too.
It can't be a one-time fluke, either, because this same thing happened
to me earlier in the week, using the debian-style kernel install (I
just reformatted & reinstalled because I couldn't bother fighting with it).
Can somebody PLEASE help me...?
Thanks...
-----------------------------------------------------------------
Alex Taylor BA - CIS - University of Guelph
-----------------------------------------------------------------