LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 11-05-2005, 11:18 PM   #1
nova-ex
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
kernel 2.6.12 VFS: Unable to mount root fs


Hi,

i recently upgraded to mandriva linux 2006 and with it i upgraded the kernel too. The kernel version is now 2.6.12.12 and it was previously 2.6.11.6. After the upgrade i was unable to start my system and here is what i see during boot.

Code:
devfs_mk_dev: could not append to parent for md/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 176KiB [1 disk[ into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Error -5 while decompressing!
c0482884(1943)->efd51000(4096)
input: AT Translated Set 2 keyboard on isa0060/serio0
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
my specs can be fount at h ttp://nova-ex.net/sysinfo.

Any idea whats wrong? My old kerenel worked well. and im still using it to post this.
 
Old 11-05-2005, 11:24 PM   #2
nova-ex
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
btw here is what i ahve mounted.

Code:
/dev/hda3 on / type reiserfs (rw,notail)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
/dev/mapper/system-home on /home type ext3 (rw)
/dev/hdb1 on /mnt/backup type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--)
/dev/hda1 on /mnt/win_c type ntfs (ro,umask=0,nls=utf8)
/dev/hda5 on /mnt/win_d type vfat (rw,umask=0,iocharset=utf8)
/dev/mapper/system-var on /var type reiserfs (rw,notail)
none on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=43)
nfsd on /proc/fs/nfsd type nfsd (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
 
Old 11-06-2005, 07:37 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Just a guess, but it looks like an initrd issue. Try re-installing that kernel upgrade and see if that fixes it. Also, check your bootloader config file (I know Mandrake use to use Lilo, but I don't know anymore whether it uses Grub or still Lilo), see that the initrd entry isn't b0rked and that the initrd image actually exists.

It may very well be a filesystem is not supported in the new kernel issue, check the new kernel's config to see that cramfs and reiser are enabled.

Cool
 
Old 11-08-2005, 04:29 AM   #4
nova-ex
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
this kernel was compiled from a srpm and other kernel versions i have tried compiling with srpms have turned out the same error. im using lilo.

Here is my lilo config
Code:
default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us-latin1.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
        label="linux"
        root=/dev/hda3
        initrd=/boot/initrd.img
        append="acpi=ht resume=/dev/system/swap splash=silent"
        vga=788
i dont think there is anything wrong with it. The same config goes for my 2.6.11 -6 which works perfectly.

i know that you check which modules are loaded yuo use modprobe right. But how do you check what is compiled into the kernel? especially one that is not being used now? its make menuconfig is it? but where do i run this command? i believe i need an argument for this command that is the config file of the new kernel. where do you find that?
 
Old 11-08-2005, 09:54 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
If you saved the config or the kernel source from the *old* kernel you can cat or less the .config in that directory, which is generally:
less /usr/src/linux-kernel-version/.config

If you prefer the ncurses interface, you can:
cd /usr/src/linux-kernel-version
make menuconfig
And it *should* load the old kernel config.

You can also copy that old kernel config to new kernels:
cp /usr/src/linux-kernel-version/.config /usr/src/linux-new-kernel-version/

You run that command in the kernel source directory.

And that new config file is in the same place as the old one

Cool
 
Old 03-14-2006, 11:17 AM   #6
nova-ex
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Bah after so many eons and multiple versions of kernels i am still facing this problem. Any help guys?
 
  


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
Kernel Panic: VFS: Unable to mount root fs on 03:06 nmares Linux - Software 6 09-16-2004 07:51 AM
kernel panic: VFS: unable to mount root fs on 09:02 ancient lunatic Linux - Newbie 2 03-07-2004 01:46 AM
Kernel Panic: VFS: Unable to mount root FS on 01:03 kragbax Linux - Software 2 11-03-2003 01:51 PM
kernel panic:vfs:unable to mount root fs on 03:06 brianlan Linux - Software 4 06-28-2002 10:16 PM
Kernel panic:VFS:unable to mount root fs on 01:03 Marc Linux - Software 2 12-08-2001 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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