LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-29-2004, 04:10 PM   #1
DarkNebula
LQ Newbie
 
Registered: Jan 2004
Posts: 18

Rep: Reputation: 0
Kernel Panic! Unable to mount root fs...


After installing gentoo and trying to boot it I get... Kernel panic VFS: unable to mount root fs on 3:04. Here are some things that might help.

lilo.conf:
Code:
boot=/dev/hda
prompt
timeout=500
default=gentoo
vga=788

image=/boot/kernel-2.4.26-gentoo-r6
 label=gentoo
 read-only
 root=/dev/hda4

other=/dev/hda2
 label=windows
fstab:
Code:
/dev/hda1  /boot  ext2 noauto,noatime 1 1
/dev/hda4 /  ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0

none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
fdisk -l
Code:
Disk /dev/ide/host0/bus0/target0/lun0/disc : 80.0 GB


/dev/ide/host0/bus0/target0/lun0/disk/part1 * 1-63 : 31720+ (size) : 83 (ID)
/dev/ide/host0/bus0/target0/lun0/disk/part2 * 25242-155059 : 65428272 : 7
/dev/ide/host0/bus0/target0/lun0/disk/part3    64-1056: 500472 : 82
/dev/ide/host0/bus0/target0/lun0/disk/part4    1057-25241: 12189240 : 83
 
Old 09-29-2004, 09:56 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
Quote:
unable to mount root fs
...
/dev/hda4 / ext3 noatime 0 0
did you recently re-compile your kernel? Are you sure that since your re-compilation you have ext3 support with your kernel?
 
Old 10-17-2004, 08:08 PM   #3
dmx9595
Member
 
Registered: Jun 2003
Location: Canada,Ontario
Distribution: Debian and Gentoo
Posts: 135

Rep: Reputation: 15
i got the same problem, gentoo amd64 2004.2 kern 2.6.7 and im using grub and i get unable to mount root fs kernel panic although my partitions and everything seem correct and filesystem support is built in correctly
 
Old 10-17-2004, 08:15 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Re: Kernel Panic! Unable to mount root fs...

Quote:
Originally posted by DarkNebula
After installing gentoo and trying to boot it I get... Kernel panic VFS: unable to mount root fs on 3:04. Here are some things that might help.
It's been almost 3 weeks, and you've probably gotten it fixed now,
but I'd like to ask one question. What type of hard drive do you have,
and how is it being detected? You should see that before the kernel
panic message.
 
Old 10-17-2004, 08:19 PM   #5
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
Are you *sure* you:

- didn't make a typo on the drive letter/number?
- have ext3 support compiled into your kernel? (not a module!)
 
Old 10-17-2004, 09:05 PM   #6
dmx9595
Member
 
Registered: Jun 2003
Location: Canada,Ontario
Distribution: Debian and Gentoo
Posts: 135

Rep: Reputation: 15
yes
infact there are many people have the same problem witht hte 2.6kernels, the known fix it to issue the minor major block number to root= instead of the /dev method its worked for many ppl however not for me cause on my debian sys i issue ls -l /dev/hda10 and its 3, 10 so thats 0310 so i do root=0310 and it _should_ work but when i boot it says cant load 0310 or hda16 but it sohuld be hda16 but hda10 so just a guess i tried 10-6 0304 and then it said cant load 0304 or hda4 so thats werid and thats why this fix isnt working for me, however go get it working for you http://kerneltrap.org/node/view/1955...ts_per_page=35
 
Old 10-24-2004, 06:30 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by dmx9595
yes
infact there are many people have the same problem witht hte 2.6kernels, the known fix it to issue the minor major block number to root= instead of the /dev method its worked for many ppl however not for me cause on my debian sys i issue ls -l /dev/hda10 and its 3, 10 so thats 0310 so i do root=0310 and it _should_ work but when i boot it says cant load 0310 or hda16 but it sohuld be hda16 but hda10 so just a guess i tried 10-6 0304 and then it said cant load 0304 or hda4 so thats werid and thats why this fix isnt working for me, however go get it working for you http://kerneltrap.org/node/view/1955...ts_per_page=35
No, it says to do it in HEXADECIMAL so 10 becomes 0A, not 10 which is 16 decimal, hence it looks for hda16 when you boot.. The number you want is root=030A
 
Old 10-24-2004, 06:38 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
For those last two threads, read the original post.

First, it's not a 2.6.x kernel issue and second, the poster
is using LILO and not GRUB...
 
  


Reply



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
Kernel Panic, unable mount root fs ShadowLeo Debian 3 06-03-2004 01:03 PM
2.2 --> 2.65: Kernel panic, unable to mount root. gaea Debian 5 04-28-2004 01:10 PM
Unable to mount root fs -- Kernel panic tijs Linux - Newbie 6 02-07-2004 05:55 PM
kernel panic: VFS: unable to mount root fs on 09:02 x2000koh Linux - General 8 07-07-2002 07:40 AM
Kernel panic - unable to mount root fs felecha Linux - General 3 06-17-2002 08:57 AM

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

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration