View previous topic :: View next topic |
Author |
Message |
citrusfizz n00b
Joined: 27 Jul 2004 Posts: 62
|
Posted: Wed Dec 29, 2004 7:40 pm Post subject: this is my problem update FIXED |
|
|
i am installing gentoo
i got the kernel compiled and now i am working on my grub
a long time lilo user grub is confusing....
(can't use lilo due to amd 64 bit arcatecture or something like that its masked as -*)
i get
VFS: cannot open root Device "hda2" or unknown -Block(3,2)
Please append a correct "root=" Boot option
Kernel Panic -not syncing: VFS: unable to mount root fs on unknown block (3,2)
here is my config
hda1 windows
hda2 linux
hda4 swap
here is my grub.conf
default 0
timeout 30
title=Gentoo Linux 2.6.9
root (hd0,1)
kernel /boot/kernel-2.6.9-r1 root=/dev/hda2
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
then i use grub to load it to the mbr
i type
root (hd0,1)
setup (hd0)
quit
then i get that kernel panic error
after i load it up
can someone please help me?
Last edited by citrusfizz on Sun Jan 02, 2005 2:50 am; edited 1 time in total |
|
Back to top |
|
|
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Wed Dec 29, 2004 9:17 pm Post subject: |
|
|
Could you please post the contents of your fstab file?
I don't know if this will help but here's a piece of mine and an example of a working grub line:
fstab:
Code: |
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
|
grub.conf
Code: |
# For booting GNU/Linux
title Gentoo-2.6.9-r13
root (hd0,0)
kernel (hd0,0)/kernel-2.6.9-gentoo-r13 gentoo=nodevfs root=/dev/hda3 video=vesafb:ywrap,pmipal,1280x1024-32@60 splash=
silent,theme:emergence
initrd (hd0,0)/fbsplash-emergence-1280x1024
|
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Dec 30, 2004 2:39 am Post subject: Re: this is my problem |
|
|
citrusfizz wrote: | i get
VFS: cannot open root Device "hda2" or unknown -Block(3,2)
Please append a correct "root=" Boot option
Kernel Panic -not syncing: VFS: unable to mount root fs on unknown block (3,2) |
It appears your bootloader is working just fine.
Your kernel however, is missing the correct drivers needed to access your root filesystem.
What type of controller (chipset) is your harddrive attached to ?
What filesystem did you use for your root partition ? |
|
Back to top |
|
|
citrusfizz n00b
Joined: 27 Jul 2004 Posts: 62
|
Posted: Thu Dec 30, 2004 5:40 am Post subject: |
|
|
i am using an msi motherboard with my amd64 3200 cpu
its a via chipset
now when i was installing gentoo with the unaversal live cd for amd64 i had no problem mounting my hard drive
but i did have to modprobe a driver for my nic card but as i said my hard drive worked fine
i am 90% sure i compiled support for my chipset and i am using ext2 filesystem that i am almost sure i have support for that as well
i really sad that lilo doesn't work with amd-64
anyways i still haven't resolved the problem
any ideas would be great |
|
Back to top |
|
|
citrusfizz n00b
Joined: 27 Jul 2004 Posts: 62
|
Posted: Thu Dec 30, 2004 5:41 am Post subject: |
|
|
i didn't follow the hand guide completely the only thing i didn't do i think was make a boot partition
so the kernel is on my root partition wich is hda2 |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Thu Dec 30, 2004 12:24 pm Post subject: |
|
|
citrusfizz wrote: | i didn't follow the hand guide completely the only thing i didn't do i think was make a boot partition
so the kernel is on my root partition wich is hda2 |
well, that does not sound like a good idea! i don´t think it will work that way. but please post your file. so it will be easier to help! |
|
Back to top |
|
|
citrusfizz n00b
Joined: 27 Jul 2004 Posts: 62
|
Posted: Fri Dec 31, 2004 9:11 pm Post subject: |
|
|
update
i fixed my problem
i recompiled the kernel went over everthing and i got it working
then had to recompile again cuz i guess gentoo wants devfs support
who knew? lol
thanks guys sorry for the trouble |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Dec 31, 2004 9:36 pm Post subject: |
|
|
Again, please change the topic title to reflect the fixed status. |
|
Back to top |
|
|
|