LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-21-2005, 10:52 PM   #1
exad
Member
 
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, 11:53 PM   #2
exad
Member
 
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, 10:12 AM   #3
xerophyx
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.
 
  


Reply


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


All times are GMT -5. The time now is 02:58 PM.

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