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 11-18-2005, 09:16 PM   #1
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
kernel panic: not syncing: VFS on Slack 10.2

Followed instructions on installing the 2.6.13 kernel from article # 408 on this website (since I can't post a URL yet.)

and I get this when I have completed all the steps:

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

what did I do wrong? what do I need to do to be able to fix the problem? I can still boot from 2.4.31 just fine, but not the new kernel.

Thanks, Paul
Old 11-18-2005, 11:16 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Are you using reiserfs? Probably you didn't make the initrd image properly or you didn't add it to lilo.conf. If you did the latest, did you run lilo to update the boot loader?

Edit: It would help to know if that doesn't work, if you're using a SATA drive. 2.6 kernels detects the drives as sdXX instead of hdXX.

Last edited by gbonvehi; 11-18-2005 at 11:22 PM.
Old 11-19-2005, 06:43 AM   #3
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
I am using reiserfs, added the initrd to lilo, ran lilo, I am using IDE drive, and I get the kernel panic still.
Old 11-19-2005, 11:29 AM   #4
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
I just solved this myself a few days ago. When I configured my new kernel I left out support for DOS partitions in the Advanced Partitions section. When I added it back in everything was fine.
Old 11-26-2005, 01:25 AM   #5
LQ Newbie
Registered: Nov 2003
Location: moon
Distribution: debian
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
whY but I have not a DOS partitions!!
Old 11-29-2005, 05:36 AM   #6
LQ Newbie
Registered: Oct 2004
Distribution: Slackware!
Posts: 10

Rep: Reputation: 0
Is your root partition on a SATA hard drive?

If you're upgrading to a 2.6 kernel your kernel may be loading one of the new libata SATA modules. If so your drives will be recognized as SCSI devices, e.g. /dev/sda rather than /dev/hde or whatever. Of course LILO and /etc/fstab are still looking for the old root partition name ergo the kernel panic.

This is a major PITA ... If you're not sure please post /etc/fstab, /etc/lilo.conf and the output of /sbin/lspci ... I eventually figured out a solution that involved booting into rescue mode but I'm sure I found the hardest possible way to do it. Anyone find a simple solution?
Old 11-29-2005, 07:03 AM   #7
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
whY but I have not a DOS partitions!!
That's what I thought because I completely replaced Windows. Turns out that since the disk was originally formatted by Windows (way back then) I stll need the kernel to read DOS-based partitions. It worked for me. It might be worth a try.
Old 12-05-2005, 04:54 AM   #8
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Rep: Reputation: 30
so do I ...... I kernel panic about vfs too.....same error messages.....
but maybe this is could be my fault....when I configure kernel with xconfig I load "config-2.6.13" can be this the problem?
can anyone help me please......
I have 4 times try to compile kernel and it always got kernel panic....
I use reiserfs too and I have run "lilo"......
so any idea and suggestion would be gratefull.....
thanx in advance ...
Old 12-06-2005, 10:06 AM   #9
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
i'd suggest using pats 2.6.13 config on the slack 10.2 cd you'll complie a lot of modules which takes time but you'll have a working config


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
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block Dankles Slackware 23 01-28-2011 03:01 AM
Kernel panic - not syncing carboncopy Slackware 9 12-13-2005 05:53 AM
Kernel Panic - not syncing: VFS slack_prad Slackware 8 12-05-2005 02:47 PM
Kernel panic - not syncing darkarcon2015 Slackware 7 11-01-2005 09:02 PM
kernel panic - not syncing : VFS???????????? alirezan1 Linux - Newbie 7 12-31-2004 04:04 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:43 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