SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
I am using elilo and have copied the new vmlinuz file to /boot/efi/EFI/Slackware.
And did you generate a new initrd (initial ram disk) too and copied that to the EFI directory? The one there probably is still from your old kernel, so doesn't have the right modules to access your root disk/fs. The package only contains the kernel (and config, System.map) itself as the initrd is installation-dependant.
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.
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.
I guess that in addition to ext4 module, other are required for your system.
You can run (as root) the following command to get the recommended mkinitrd command line to run for your system.
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.
When you boot from an external medium, be sure to (bind-) mount the relevant filesystems (not just your physical disk partitions but also /dev /proc and /sys) and do a chroot before you create the initrd.
Read https://docs.slackware.com/howtos:sl...oot_from_media for instance.
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.
If you didn't blacklist that, yes.
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.
Did you copy that initrd file to the correct location on the EFI partition? And does your elilo.conf mention both the correct kernel name AND the correct initrd filename? I suspect not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.