Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-08-2010, 11:20 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 18

Rep: Reputation: 3
No kernel modules found for Linux

After changing to generic-smp kernel I can not boot. I get the following message:
No kernel modules found for Linux
mount: mounting /dev/sda1 on /mnt failed: No such device
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
You can try to fix it. Type 'exit' when things are done.

/bin/sh: can't access tty: job control turned off

Well, I might have forgotten to install the smp modules but I don't get it cause I ran huge-smp before and read on Pat Volkerdings release notes that generic-smp was preferred. I did what it said in README.mkinitrd and typed reboot.
Now I really need help on this subject.
Old 06-08-2010, 11:42 AM   #2
Registered: Apr 2010
Posts: 38

Rep: Reputation: 23
Why don't you try to install the smp modules ? The generic kernel need it.
Old 06-08-2010, 12:16 PM   #3
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
I think you already have them installed, I dont think you can make a initrd.gz otherwise but check..
titus:~ $ ls /lib/modules
titus:~ $ ls -al /etc/rc.d/rc.modules
lrwxrwxrwx 1 root root 23 2010-05-31 15:42 /etc/rc.d/rc.modules -> rc.modules-
Maybe you didn't get all what's needed for your initrd, look here on Alien-BOB's site...
..try his script..""

Old 06-08-2010, 12:59 PM   #4
LQ Newbie
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 3
Solved it. Thanks for the answers. You are right.

I had both and installed.
-smp was forgotten the first time in the line below.
mkinitrd -c -k -m ext4 -f ext4 -r /dev/sda1
This post was helpful after I had booted from the DVD:

Last edited by pejobe; 06-08-2010 at 01:05 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no kernel modules found for aBiNg Slackware 4 12-19-2011 10:36 AM
fatal error attempting to install /var/log/mount/slackware/a/kernel-modules-smp-2.6.2 v@ny@ Slackware - Installation 10 05-19-2010 01:40 AM
Non-SMP kernel modules for SMP kernel: Best practice? gargamel Slackware 9 12-29-2008 01:13 PM
No kernel modules found for Linux w1k0 Slackware 11 12-23-2008 02:24 PM
No kernel modules found davidsrsb Slackware 3 05-17-2006 05:55 AM

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration