Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-19-2008, 07:51 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 8

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

Ok so i have Slack 12 with the

I need to patch to include kdb debugger these are the steps i have taken

1) patch -p1 < ../kdb-v4.4-
2) patch -p2 < ../kdb-v4.4-
2.5) make xconfig - Select Built in debugger & KDB Modules
3) Make dep
4) make clean
5) make bzimage
5.5) cp arch/i386/boot/bzImage /boot/linuxkdb
6) make modules
7) make modules_install
8) change lilo.conf to add

Which is the same as default entry from the original instalation except the boot image is now linuxkdb rather than vmlinuz.

When i select the original kernel everything boots ok

when i select the kdb patched kernel i get the error
no filesystem could mount root, tried
kernel panic-not syncing VFS:unable to mount root fs on unknown-block(3,1)
Old 01-19-2008, 08:20 AM   #2
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
thats the standard error when you don't have the correct filesystem in the kernel supported.

for e.g if it is a ext3 then you need to make sure you have the ext3 support in the kernel. Try and include it (Y instead of N or M ) and see if it works (replace ext3 with your filesystem).
Old 01-19-2008, 10:28 AM   #3
Registered: Jul 2007
Location: Porto Alegre, Brazil
Distribution: Slackware
Posts: 38

Rep: Reputation: 17
If your kernel does not support the file system of your / (root) directory, as seems to be your case, you may either recompile your kernel with embedded support for it, as suggested by duryodhan or make an initrd, to load the filesystem support as a module.
To do this follow the instructions in
Old 01-19-2008, 10:01 PM   #4
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
try recompiling the kernel with your file system set as <yes> instead of <modules>. that worked for me.
Old 01-20-2008, 05:31 PM   #5
Registered: Aug 2004
Location: Matrix
Distribution: slack currrent
Posts: 61

Rep: Reputation: 16
see readme.mkinitrd in /boot and you will have a good boot.
Old 01-22-2008, 01:54 PM   #6
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 129

Rep: Reputation: 35
One other problem could be an incorrect / entry in your fstab - I had problems after a recompile with my primary disk becoming sda instead of hda so that might be worth checking
Old 01-26-2008, 05:22 PM   #7
LQ Newbie
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
I got a similar error and I worked it out by booting a live cd and mounting the volume and then:

sudo update-initramfs -k all -u -b /mnt/sda1/boot
Might have something to do with this

I hope the command help you out.


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 (1,0) Zenx Linux - Kernel 12 08-04-2010 05:33 AM
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) OR13 Linux - Kernel 18 01-12-2008 09:23 AM
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block bijit1709 Slackware 11 06-08-2007 04:38 PM
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block kaplis Linux - Software 1 09-19-2006 01:44 AM
Kernel Panic!!! -Not Syncing VFS:Unable to mount root FS on unknown - block (0,0) scarabs Linux - Software 4 04-16-2006 04:16 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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