Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
skale
n00b
n00b


Joined: 01 Aug 2006
Posts: 3
Location: Atlanta, GA

PostPosted: Wed Aug 02, 2006 3:05 am    Post subject: kernel panic Reply with quote

Here's the deal. I got LILO to dual boot gentoo and WinXP. XP boots great, but gentoo does not. It says "kernel panic - no syncing: VFS: Unable to mount root fs on unknown-block (3, 3)"

My linux partition is hda3. I suppose that the partition cannot be mounted. Not sure what "no syncing" does.

I have searched this fairly thoroughly, and found quite a few possible solutions. First off, the kernel has ext3(along with every other bloody filesystem I saw) support and IDE support (got an IDE HD)built in, not as a module. So much for that. The second solution I found had to do with "initrd" or something. I picked up a fuzzy idea what it does, but do not know how to do it. I think that it could be either that or a faulty fstab or lilo.conf file. lilo.conf is exactly by the book, and fstab is good as well. I'll post them here just in case:
fstab(without the #'d blabber):
Code:
# /etc/fstab: static file system information.

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

#/dev/BOOT      /boot      ext2      noauto,noatime   1 2
/dev/hda3      /      ext3      noatime      0 1
/dev/hda2      none      swap      sw      0 0
/dev/hdc      /mnt/cdrom   iso9660      auto,ro      0 0
/dev/hdd      /mnt/dvd   iso9660      auto,ro      0 0
/dev/fd0      /mnt/floppy   vfat      auto      0 0

# NOTE: The next line is critical for boot!
proc         /proc      proc      defaults   0 0

shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0

lilo.conf:
Code:
boot=/dev/hda
prompt
timeout=20
default=gentoo

image=/boot/linux-2.6.17-gentoo-r4
label=gentoo
read-only
root=/dev/hda3

other=/dev/hda1
label=windows

If there is an error or something, that would be nice. If I need to do all the initrd stuff(shudder) I will need help with that.
If it's something different, that's cool too. I really have no idea what the problem is.
Thanks ahead. :)
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Aug 02, 2006 3:12 am    Post subject: Re: kernel panic Reply with quote

Hi.
skale wrote:
Here's the deal. I got LILO to dual boot gentoo and WinXP. XP boots great, but gentoo does not. It says "kernel panic - no syncing: VFS: Unable to mount root fs on unknown-block (3, 3)"
My linux partition is hda3. I suppose that the partition cannot be mounted. Not sure what "no syncing" does.
lilo.conf:
Code:

image=/boot/linux-2.6.17-gentoo-r4
label=gentoo
read-only
root=/dev/hda3


Try taking out the read-only entry. Don't forget to run lilo afterwards. Does it work now? What storage controller do you have - lspci?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Zmyrgel
Apprentice
Apprentice


Joined: 31 Jan 2006
Posts: 181
Location: Finland / Ireland

PostPosted: Wed Aug 02, 2006 8:23 am    Post subject: Reply with quote

I withdraw my answer as it is not valid after reading the first post.... silly me.
Back to top
View user's profile Send private message
Ohm
n00b
n00b


Joined: 02 Aug 2006
Posts: 1

PostPosted: Wed Aug 02, 2006 12:17 pm    Post subject: Reply with quote

Hello skale!
I had the same problem. The advice i got from irc #gentoo was turning off the filesystems other then ext2 and ext3 (ntfs, dos etc) from kernel. This didn't help however, nor did the other solutions found over the net.
I fixed the problem seccesfully, by rebuilding kernel using
#genkernel all
and writing lines to lilo.conf, which are recomended by handbook for genkernel users (with initrd and all the stuff).
However, I'm still seeking for an elegant way to deal with it, cos I don't want to have my kernel large and slow.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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