Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic Computer Freezes on boot up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
smellycheeseboy
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 263
Location: The Future

PostPosted: Tue Jan 20, 2004 2:45 am    Post subject: Kernel Panic Computer Freezes on boot up Reply with quote

I have been using my computer with Gentoo on it for quite a while now and it seems that whenever I would power down the computer and then boot it up it gave me a kernel panic error but I just booted the Gentoo Livecd and rebooted from it and it fixed the problem until the next time I shut the computer off.

But yesterday I got this error
Code:
VFS: Cannot open root device "hda4" or hda4
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on hda4


I have been unable to get it to go past this or fix it no matter what I try. I have re-checked my grub.conf file and it is exactly how the install guide says to have it. I have all the necessary file systems compiled into my kernel (reiserfs for my root partition) and nothing seems to work. I read something in another forum about having to use tabbed spaces in the grub.conf file between the kernel command and the root= option but I don't know it that is bogus.

The kernel I am using is 2.6.0.

Thanks
Me
_________________
"No amount of fear can stop the rise of free media, or free software." --Jonathan Schwartz, Sun Microsystems
Back to top
View user's profile Send private message
NeoCORE
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2003
Posts: 100
Location: Ireland

PostPosted: Tue Jan 20, 2004 3:05 am    Post subject: Reply with quote

It is looking for the hard drive partition where your root files are stored, make sure that you have "root=" in your grub config pointing to the right partition (to find out which is which run fdisk and then option p).

also, if you have sata hard-drives, it would be sda4 not hda4. :)

Hope this helps
_________________
To err is human, but to really foul things up, you need a computer :D
NeoCORE Network:)
Adopt a post today! 8)
Back to top
View user's profile Send private message
justineiler
n00b
n00b


Joined: 31 Oct 2003
Posts: 46
Location: Boulder CO

PostPosted: Tue Jan 20, 2004 3:33 am    Post subject: Reply with quote

Hey this is smellycheeseboy
I am on my roommates computer.
And yes I checked the root= option and it is pointing correctly
Back to top
View user's profile Send private message
reconciledthief
n00b
n00b


Joined: 31 Dec 2003
Posts: 46

PostPosted: Tue Jan 20, 2004 6:43 am    Post subject: Reply with quote

Then you need to make sure you have the correct filesystem drivers compiled into the computer.

I had the same problem on a friends computer earlier. /dev/hda3 was type reiserfs and I had forgotten to build in ReiserFS Support in the kernel, so it did the same thing it did to you.

All fixed after recompile.
_________________
Truth doesn't change according to our ability to stomach it.

If life has no meaning, then death is life's only reason.

Take part in the unanswered post initiative.
Back to top
View user's profile Send private message
smellycheeseboy
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 263
Location: The Future

PostPosted: Tue Jan 20, 2004 7:35 am    Post subject: Reply with quote

I already have all the correct file systems compiled into the kernel. I have been using this for a while now and all of a sudden it quit on me.
_________________
"No amount of fear can stop the rise of free media, or free software." --Jonathan Schwartz, Sun Microsystems
Back to top
View user's profile Send private message
smellycheeseboy
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 263
Location: The Future

PostPosted: Tue Jan 20, 2004 9:28 am    Post subject: Reply with quote

I think I fixed it. I added the notail option to the line for my root partition in /etc/fstab and now it seems to be working. So it is beyond me why it was working before or why it all of a sudden quit but oh well at least it isn't Windows (meaning that the problems it has are actually fixable).

Me
_________________
"No amount of fear can stop the rise of free media, or free software." --Jonathan Schwartz, Sun Microsystems
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum