upgrade to kernel 5.4.13 not working
Hello,
I upgraded my system to kernel-5.4.13 and after reboot the system hangs saying " Loading kernel vmlinuz... Done " I am using elilo and have copied the new vmlinuz file to /boot/efi/EFI/Slackware. And tried mounting with a usb and running eliloconfig command too Thanks |
Quote:
But it is required for the generic kernel, the huge one often can do without, if your hardware is reasonably standard (and the root fs is one of the ext? varieties). |
Thanks i forgot to do initrd.
Now i booted using a usb and created initrd using " mkinitrd -c -k 5.4.13 -m ext4 -f ext4 -r /dev/sda4 " It gave some errors like /proc/devices/ file not found and created the initrd.gz file. I copied the file to efi folder too but still not working. |
Hello,
Quote:
You can run (as root) the following command to get the recommended mkinitrd command line to run for your system. Code:
$ /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.4.13 SeB |
Quote:
Read https://docs.slackware.com/howtos:sl...oot_from_media for instance. |
Thanks. This was my procedure but than too it hangs
Code:
mount /dev/sda4 /mnt Code:
./usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.4.13 Then i copied initrd.gz |
Did you keep your old kernel around? You can boot with that, run mkinitrd with -k to the correct kernel, then copy the initrd.gz to /boot/efi/EFI/Slackware/. Or you can install the huge kernel when you're booted with USB, reboot, and fix your old one.
|
Slackpkg upgrade will remove old kernel i guess.
|
Quote:
But I do not know if slackpkg removes the ones in the EFI tree too, I never use it myself, I only selectively update from my own mirror, so all packages are available local. |
Quote:
|
Any other way to recover my system ?
|
You can try downgrading to older kernel. Download the older kernel here: https://slackware.uk/cumulative/slac...slackware64/a/
|
Quote:
|
It just says
Code:
Loading kernel vmlinuz....done |
Quote:
|
All times are GMT -5. The time now is 06:28 PM. |