LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2003, 10:21 AM   #1
wgast77
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Woody 3.0
Posts: 3

Rep: Reputation: 0
VFS: unable to mount root fs


hello,

after compiling a 2.4.19 kernel on my debian woody 3.0 box, my system won't boot nor the new kernel neither the old one.
here what it gives:

(the new kernel)
...
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 788 nlocks [1 disk] into ram disk... done.
Freeing initrd memory: 788k freed
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
Kernel panic: VFS: Unable to mount root fs on 03:01

(the old kernel)
...
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux multicast router 0.06 plus PIM-SM
VFS: Cannot open root device "301" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01

and here is my lilo.conf:

boot=/dev/hda
root=/dev/hda1

install=/boot/boot-menu.b
map=/boot/map
prompt
delay=100
timeout=100
vga=normal

append=""
default=myker

image=/vmlinuz
label=myker
read-only
initrd=/initrd.img

image=/vmlinuz.old
label=LinuxOld
read-only
optional

thanks in advance,

Martin
 
Old 07-25-2003, 11:04 AM   #2
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Rep: Reputation: 15
if u have for example / on /dev/hda5

on lilo prompt type

lilo: linux root=/dev/hda5
 
Old 07-25-2003, 11:48 AM   #3
wgast77
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Woody 3.0
Posts: 3

Original Poster
Rep: Reputation: 0
hda1 is root on fstab ...

Martin
 
Old 07-26-2003, 10:14 PM   #4
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
I've been getting a similar problem on an install I just did. I too have an error about a bogus FAT something or other, so maybe that is the problem.
 
Old 07-30-2003, 02:52 AM   #5
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Rep: Reputation: 30
Re: VFS: unable to mount root fs

Quote:
Originally posted by wgast77
(the new kernel)
...
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 788 nlocks [1 disk] into ram disk... done.
Freeing initrd memory: 788k freed
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
Kernel panic: VFS: Unable to mount root fs on 03:01

Had exactly the same "bogus" error after upgrading my kernel .
I think you have loaded the file system as a module on your previous kernel. To correct open the .config file of the new kernel and got to the file system. Then for your particular file system put a "y" instead of "m". (mine was reiser so I put a "y" on all lines with reiser on it).Save the file.Then recompile the kernel.

For the old kernel check that the 'vmlinuz.old' file points to the old vmlinuz kernel-do 'ls-l' on the boot directory. Or change image=youroldvmlinuz-xxxx
Good luck!

Last edited by bongski55; 07-30-2003 at 02:57 AM.
 
Old 07-30-2003, 01:13 PM   #6
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Ohhhh, duh. The box I was having this problem on is in Florida, so I'll send word down. I'm sure this is the problem though.

Thanks,
Andrew
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: Unable to mount root fs mmatis Slackware 22 12-03-2005 10:02 PM
VFS: Unable to mount root fs pappsynz Linux - Newbie 10 10-07-2005 07:02 AM
VFS : Unable to mount root fs on 16:03 new.thing Slackware 5 07-05-2005 09:55 AM
VFS Unable to mount root fs on 00:00 thelandrew Linux - Newbie 9 03-30-2004 01:25 AM
VFS: unable to mount root fs -Dice Linux - Newbie 20 11-04-2003 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:30 AM.

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