Discussion:
Kernel Panic!
(too old to reply)
Richmond
2021-04-26 14:42:21 UTC
Permalink
I upgraded a laptop running 14.2 using slackpkg, and afterwards it will
not boot. Lilo hangs after BIOS check. I tried grub super rescue but
cannot find a kernel which works, either they hang or panic.

I upgraded using:

slackpkg update
~ install-new
~ upgrade-all
~ clean-system

Is there a way to revert to the previous kernel? I cannot find it.
Chris Vine
2021-04-26 20:11:08 UTC
Permalink
On Mon, 26 Apr 2021 15:42:21 +0100
Post by Richmond
I upgraded a laptop running 14.2 using slackpkg, and afterwards it will
not boot. Lilo hangs after BIOS check. I tried grub super rescue but
cannot find a kernel which works, either they hang or panic.
slackpkg update
~ install-new
~ upgrade-all
~ clean-system
Is there a way to revert to the previous kernel? I cannot find it.
You probably either (i) didn't rebuild your initrd if you are using the
generic rather than the huge kernel (see README.initrd in the slackware
distribution), or (ii) didn't run lilo (legacy boot) or eliloconfig
(UEFI boot) after installing the new kernel.
cjd
2021-06-09 03:50:56 UTC
Permalink
Post by Chris Vine
On Mon, 26 Apr 2021 15:42:21 +0100
Post by Richmond
I upgraded a laptop running 14.2 using slackpkg, and afterwards it will
not boot. Lilo hangs after BIOS check. I tried grub super rescue but
cannot find a kernel which works, either they hang or panic.
slackpkg update
~ install-new
~ upgrade-all
~ clean-system
Is there a way to revert to the previous kernel? I cannot find it.
You probably either (i) didn't rebuild your initrd if you are using the
generic rather than the huge kernel (see README.initrd in the slackware
distribution), or (ii) didn't run lilo (legacy boot) or eliloconfig
(UEFI boot) after installing the new kernel.
To tack on to this, booting from your Slackware install USB/DVD and
chrooting into the root filesystem can help you address these issues.
Jimmy Johnson
2021-04-26 20:38:45 UTC
Permalink
Post by Richmond
I upgraded a laptop running 14.2 using slackpkg, and afterwards it will
not boot. Lilo hangs after BIOS check. I tried grub super rescue but
cannot find a kernel which works, either they hang or panic.
slackpkg update
~ install-new
~ upgrade-all
~ clean-system
Is there a way to revert to the previous kernel? I cannot find it.
If you can boot, put a 3 at the end of the boot syntax before you boot
and run the upgrade again. See if that helps.

I run multiple computers for testing and there are 3 computers on my
desktop with amd and intel and each one has 14.2 installed, none have
had boot problems. I say this to let you know the problem is probably
somewhere between the chair and the keyboard. But I really don't know a
lot about much of anything. :)
--
Jimmy Johnson

Slackware64 Current - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263
D Br
2021-05-11 17:36:14 UTC
Permalink
Post by Jimmy Johnson
Post by Richmond
I upgraded a laptop running 14.2 using slackpkg, and afterwards it will
not boot. Lilo hangs after BIOS check. I tried grub super rescue but
cannot find a kernel which works, either they hang or panic.
slackpkg update
~ install-new
~ upgrade-all
~ clean-system
Is there a way to revert to the previous kernel? I cannot find it.
If you can boot, put a 3 at the end of the boot syntax before you boot
and run the upgrade again. See if that helps.
I run multiple computers for testing and there are 3 computers on my
desktop with amd and intel and each one has 14.2 installed, none have
had boot problems. I say this to let you know the problem is probably
somewhere between the chair and the keyboard. But I really don't know a
lot about much of anything. :)
--
Jimmy Johnson
Slackware64 Current - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263
Another alternative (Because I've upgraded without running lilo myself) is to:

1) boot from DVD (I havent done USB stick),
2) mount your root partition
3) chroot your root partition
4) mount -a
5) Then run lilo.

After that reboot and if every ran without issues it should boot normally
Loading...