View previous topic :: View next topic |
Author |
Message |
smellycheeseboy Apprentice


Joined: 15 May 2003 Posts: 263 Location: The Future
|
Posted: Tue Jan 20, 2004 2:45 am Post subject: Kernel Panic Computer Freezes on boot up |
|
|
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 |
|
 |
NeoCORE Tux's lil' helper

Joined: 15 Mar 2003 Posts: 100 Location: Ireland
|
Posted: Tue Jan 20, 2004 3:05 am Post subject: |
|
|
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
NeoCORE Network
Adopt a post today!  |
|
Back to top |
|
 |
justineiler n00b


Joined: 31 Oct 2003 Posts: 46 Location: Boulder CO
|
Posted: Tue Jan 20, 2004 3:33 am Post subject: |
|
|
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 |
|
 |
reconciledthief n00b


Joined: 31 Dec 2003 Posts: 46
|
Posted: Tue Jan 20, 2004 6:43 am Post subject: |
|
|
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 |
|
 |
smellycheeseboy Apprentice


Joined: 15 May 2003 Posts: 263 Location: The Future
|
Posted: Tue Jan 20, 2004 7:35 am Post subject: |
|
|
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 |
|
 |
smellycheeseboy Apprentice


Joined: 15 May 2003 Posts: 263 Location: The Future
|
Posted: Tue Jan 20, 2004 9:28 am Post subject: |
|
|
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 |
|
 |
|