Unix Technical Forum

Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2"

This is a discussion on Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2" within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How... ....anyone please help me!!! I search at Google but all anwser for this problem is about compiling the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 10:52 AM
Kazuo
 
Posts: n/a
Default Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2"

How...
....anyone please help me!!!

I search at Google but all anwser for this problem is about compiling the
suport for reiserfs as module and i compile this in the kernel, and
checking the correct root option (the correct / partition(mine is
/dev/hda2)).

I compiled the kernel 2.6.5 on my Slackware current but when a reboot my
machine i get the folow error:

<---------------------------->
hda: unknown partition table
..
..
..
VFS: Cannot open device "302" or hda2
Please append a correct "root=" bootoption
Kernel panic: VFS: Unable to mount root fs on hda2
<---------------------------->
my lilo conf:

<------------------------->
boot=/dev/hda
..
..
..
image=/boot/vmlinuz
root=/dev/hda2
label=Linux2.6.5
read-only
<------------------------->
my fstab
<------------------------->
/dev/hda4 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /home reiserfs defaults 1 2
/dev/hda3 /usr reiserfs defaults 1 2
<------------------------->
i compiled the support for reiserfs in the kernel(not as module).

So...anyone, please, can help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 10:53 AM
Alan Hicks
 
Posts: n/a
Default Re: Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Kazuo dared to utter,
> hda: unknown partition table
> .
> .
> .
> VFS: Cannot open device "302" or hda2
> Please append a correct "root=" bootoption
> Kernel panic: VFS: Unable to mount root fs on hda2


I think I got this same error recently using a 2.6.X kernel. Confused
me to no end, because I've never had that trouble with 2.4.X kernels
and reiserfs. Turns out, I hadn't compiled in support for my chipset.
I'll bet you doughnuts to dollars that's your problem too.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAhxEFL3KiNGOqr6ERAod9AKDafz+88G8K5jHr0nFEmF 9LJU97ZQCgqLY1
EOMbonT9KqL2G6xpFSzUEGM=
=h99e
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 10:53 AM
Jacek Bajor
 
Posts: n/a
Default Re: Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2"

On Wed, 21 Apr 2004 19:25:52 -0500, Alan Hicks wrote:

>> VFS: Cannot open device "302" or hda2
>> Please append a correct "root=" bootoption
>> Kernel panic: VFS: Unable to mount root fs on hda2

>
> I think I got this same error recently using a 2.6.X kernel. Confused
> me to no end, because I've never had that trouble with 2.4.X kernels
> and reiserfs. Turns out, I hadn't compiled in support for my chipset.
> I'll bet you doughnuts to dollars that's your problem too.


I have the same problem! And I never have had problems with 2.4.x.

-------------------
pozdrowienia, Jacek

http://www.europrojekt.biz.pl

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 10:56 AM
Kazuo
 
Posts: n/a
Default Re: Help Kernel 2.6.5!: "Kernel panic: VFS: Unable to mount root fs on hda2"

Hey thx for the anwser..I find the "sources" of problem...if you have this
error too, in 2.6.x try this:

1-Compiled the IDE support for card in Kernel
2-Enable the compile of option "Advanced Partition Selection -> PC
BIOS Partition Tables" in Kernel
3-Remove the DDO from HD (this works in 2.4 for me but not in 2.6)

and, one more time, thx for the replies ..and sorry for my english ^_^'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com