Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-21-2005, 09:52 PM   #1
Registered: Aug 2005
Location: Winnipeg, Manitoba
Distribution: Slackware 12.2
Posts: 36

Rep: Reputation: 15
Slackware 10.2 Kernel problem

Hello guys. I have just installed Slackware 10.2 on my system. The installation went fine with no errors but when I booted into it, after
Starting PCMCIA, I got modprobe errors saying it could not find the folder /lib/modules/2.4.26 So I looked in /lib/modules and found no 2.4.26 I did however find 2.4.31 which i think is the kernel it should be using. so I checked in /boot for the image I was booting to and it was vmlinuz. but I also saw a vmlinuz-2.4.31 so I went into lilo.conf and changed image = /boot/vmlinuz to image = /boot/vmlinuz-2.4.31 then ran /sbin/lilo and then rebooted but that didn't seem to work either. :/ So now I am lost I don't understand why this is happening. Can anyone help me? Thanks.
Old 10-21-2005, 10:53 PM   #2
Registered: Aug 2005
Location: Winnipeg, Manitoba
Distribution: Slackware 12.2
Posts: 36

Original Poster
Rep: Reputation: 15
ok, so I figured out what was wrong in the end. Me, being the idiot I am, installed lilo to the MBR last time when I installed slack 10.0 and when I installed 10.2 I installed it to the superblock So all I had to do was reinstall lilo to the mbr. So I did that and had kernel 2.4.31 running with slack 10.2.

Then after that I decided to upgrade to linux 2.6.13 by going on to the linux install cd and accessing linux-2.6.13 on the cd and doing

installpkg kernel-generic-2.6.13-1.tgz
and the same with alsa drivers and kernel-modules
and kernel-headers
then I did

mkinitrd -c -k 2.6.13 -m reiserfs

and then I edited lilo.conf from image = /boot/vmlinuz to image = /boot/vmlinuz-generic-2.6.13

and then I did /sbin/lilo

and then rebooted and got

kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(3,3)

So now I am stuck again :/
Old 10-22-2005, 09:12 AM   #3
LQ Newbie
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
First of all, make sure you compiled in support for your filesystem into the kernel. If you've already done that, then do you have a SATA hard disk?

I have a SATA hard disk which is recognised as /dev/hda in 2.4, and as /dev/sda in 2.6. Here's what I do to get a 2.6 kernel working in Slackware:
  1. edit /etc/fstab, and change every instance of hda to sda.
  2. Edit /etc/lilo.conf and change the root partition from /dev/hdaX to /dev/sdaX.
  3. Run /sbin/lilo.
  4. Reboot with new kernel.
  5. Edit /etc/lilo.conf again, changing every instance of hda to sda.
  6. Run /sbin/lilo again.
That solves all of my problems with Slackware and a 2.6 kernel, with a SATA hard disk.


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
Problem with slackware and 2.6.13 kernel lin_user2004 Slackware 5 11-06-2005 12:17 PM
Slackware 10.1 Kernel 2.6.10 sound problem. landfill Linux - Hardware 8 02-15-2005 04:22 AM
Slackware 10.0 Kernel Problem! glaz Linux - Software 2 10-27-2004 03:52 AM
Interesting Slackware 9 kernel problem... Mishley Slackware 12 06-26-2003 07:35 AM
Slackware Kernel problem apsn Linux - General 3 06-02-2003 01:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

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