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.
I have installed 15 on my laptop (a Tuxedo BM15), and all is well. However, after upgrading, all is not well at all.
Right after starting eudev, the error comes:
Code:
No kernel modules found for Linux 5.15.27.
mount: mounting /dev/nvme0n1p4 on /mnt failed: no such device
Error No /sbin/init found on rootdev (or not mounted). Trouble ahead.
Right after upgrading, I ran eliloconfig, and had it replace the entry.
I have brought the computer up with a boot USB stick. But then I have no network among other things. Right now, it's basically a brick.
It is reluctant to boot on its own. I need to go into the BIOS to chose the disk to boot (before upgrading). It has quirks, but otherwise fine.
I have same problem on an old 32bits archos 10 netbook. Tried to increase the wait in the initrd but perhaps not enough. Still it boots with huge kernel.
Is this a 32bit Slackware OS? Perhaps you installed a non-SMP kernel together with a SMP kernel-modules package (or vice versa).
Also, eliloconfig may not be the best tool to use after upgrades since it makes some assumptions that may be correct for the initial installation but not for upgrades, and worse: it only configures one kernel for you.
You may want to learn how to edit /boot/efi/EFI/Slackware/elilo.conf and add your new kernel(s) manually so that you can always keep a known working kernel in your boot selection menu.
I'm having the same problem. I guess the reason is I didn't run the mkinitrd script. I've got two questions:
- is there a way to salvage current installation?
- should I run mkinitrd manually after kernel upgrade, or is there other way?
I'm having the same problem. I guess the reason is I didn't run the mkinitrd script. I've got two questions:
- is there a way to salvage current installation?
Almost certainly. But exactly how you do it will depend on a lot of info that you haven't given us yet. For example, which bootloader are you using, GRUB2 or elilo? Do you still have the old kernel and modules around anywhere? Can you boot from another system?
Quote:
- should I run mkinitrd manually after kernel upgrade, or is there other way?
Yes you should. Run Patrick's /usr/share/mkinitrd/mkinitrd_command_generator.sh script first so that you know what modules to provide. And remember that you'll have to add a -k option if you're creating it for a new kernel, not the one that's currently running.
Almost certainly. But exactly how you do it will depend on a lot of info that you haven't given us yet. For example, which bootloader are you using, GRUB2 or elilo? Do you still have the old kernel and modules around anywhere? Can you boot from another system?
Thank you for your reply. It's elilo. Old modules are gone, just the new ones. I'm able to boot the system, but USB keyboard doesn't work, also no network. I have bootable USB Slackware instalation key, I'm able to mount partitions, which are:
/dev/sda1 /boot
/dev/sda2 swap
/dev/sda3 /
/dev/sda4 /home
Thank you for your reply. It's elilo. Old modules are gone, just the new ones. I'm able to boot the system, but USB keyboard doesn't work, also no network. I have bootable USB Slackware instalation key, I'm able to mount partitions, which are:
/dev/sda1 /boot
/dev/sda2 swap
/dev/sda3 /
/dev/sda4 /home
Can I make it with this stuff?
Not sure. You say you have the new modules. What about the new kernel that goes with them? And the initrd to go with the kernel? You need a full matching set somewhere on your system.
Here are a couple of things to check:
1) Which kernel(s) do you currently have installed modules for? Look in /lib/modules.
2) If you have any installed modules at all, do you have a kernel image to go with them? Look in /boot as well as on your ESP. You can also find a list of what's currently installed in /var/lib/pkgtools/packages.
I gather you have a keyboard when you boot from your installation image so you should be able to check up on that. If you can find a matching set of kernel plus modules, you just need to make (or find) an initrd for the kernel and copy everything to the right places for a working boot.
If not, you will need to boot from something that gives you a network connection, like systemRescueCD, so that you can download what you need from a Slackware mirror.
Is this a 32bit Slackware OS? Perhaps you installed a non-SMP kernel together with a SMP kernel-modules package (or vice versa).
I got myself a brand spanking new computer just for the release of 15. It's a 64 bit machine. I chose the huge option as far as I know.
Quote:
Also, eliloconfig may not be the best tool to use after upgrades since it makes some assumptions that may be correct for the initial installation but not for upgrades, and worse: it only configures one kernel for you.
You may want to learn how to edit /boot/efi/EFI/Slackware/elilo.conf and add your new kernel(s) manually so that you can always keep a known working kernel in your boot selection menu.
Yes, I made the assumption that all was back to the good old ways. Apparently I have to learn new tricks to keep the system going.
I'm not sure this will be useful, but want to mention it, just in case. I have a System76 Pangolin that for whatever reason, doesn't like to boot with elilo. I've come to find out that tuxedo and system76 share a lot in common. Anyway, based on your posts in this thread I doubt the issue is with elilo, but just wanted to mention it.
You can use the Slackware 15.0 install disc as a rescue. With a UEFI system, boot the installation medium and there is an option called "Detect/boot any installed operating system". Assuming you did install all the 5.15.27 patches, modules, huge, generic, etc. Then it should find them and you should be able to select the huge kernel from there and boot the system. Once booted then you can make a new initrd the way Tonus mentioned.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.