View previous topic :: View next topic |
Author |
Message |
Nighty0 n00b
Joined: 31 Dec 2004 Posts: 6
|
Posted: Fri Dec 31, 2004 2:35 pm Post subject: Kernel Panic - not syncing: VFS: Unable to mount root fs |
|
|
After spent hours to install gentoo linux (reading the manual, configuring, searching, etc),
and installed susscessfully (?) i got a kernel panic after reboot when i tried to boot gentoo.....
I got this error:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
I partitioned using this scheme:
Code: |
-- hda-|
|- hda1 - Windows XP NTFS (i can't touch on this partition)
|- hda2 - Linux Swap
|- hda3 - Linux /boot - ext2
-- hdb-|
|- hdb1 - Windows XP NTFS (backup and docs, i can't touch on this too)
|- hdb2 - Linux / - reiserfs
|
My grub.conf
Code: |
default 0
timeout 2
splashimage=(hd0,2)/grub/splash.xpm.gz
title=Windows XP
root (hd0,0)
chainloader +1
title=Gentoo Linux 2004.3 2.6.9-r13
root (hd0,2)
kernel /kernel-2.6.9-gentoo-r13 root=/dev/ram0 real_root=/dev/hdb2 init=/linuxsrc vga=0x317 splash=verbose
initrd /initrd-2.6.9-gentoo-r13
|
I'm used the genkernel with gentoo-dev-sources....
I forgot something?
With livecd i can mount all partitions properly....
EDIT: Changed title from "Tip: Styles can be applied quickly to selected text." --pjp
Last edited by Nighty0 on Fri Dec 31, 2004 3:07 pm; edited 1 time in total |
|
Back to top |
|
|
Crucis n00b
Joined: 07 Sep 2004 Posts: 65 Location: Singapore
|
Posted: Fri Dec 31, 2004 2:45 pm Post subject: |
|
|
Change
Code: | title=Gentoo Linux 2004.3 2.6.9-r13
root (hd0,2)
kernel /kernel-2.6.9-gentoo-r13 root=/dev/ram0 real_root=/dev/hdb2 init=/linuxsrc vga=0x317 splash=verbose
initrd /initrd-2.6.9-gentoo-r13 |
to
Code: | title=Gentoo Linux 2004.3 2.6.9-r13
root (hd1,1)
kernel /kernel-2.6.9-gentoo-r13 root=/dev/ram0 real_root=/dev/hdb2 init=/linuxsrc vga=0x317 splash=verbose
initrd /initrd-2.6.9-gentoo-r13 |
Cheers |
|
Back to top |
|
|
Nighty0 n00b
Joined: 31 Dec 2004 Posts: 6
|
Posted: Fri Dec 31, 2004 3:03 pm Post subject: |
|
|
Crucis wrote: | Change
Code: | title=Gentoo Linux 2004.3 2.6.9-r13
root (hd0,2)
kernel /kernel-2.6.9-gentoo-r13 root=/dev/ram0 real_root=/dev/hdb2 init=/linuxsrc vga=0x317 splash=verbose
initrd /initrd-2.6.9-gentoo-r13 |
to
Code: | title=Gentoo Linux 2004.3 2.6.9-r13
root (hd1,1)
kernel /kernel-2.6.9-gentoo-r13 root=/dev/ram0 real_root=/dev/hdb2 init=/linuxsrc vga=0x317 splash=verbose
initrd /initrd-2.6.9-gentoo-r13 |
Cheers |
No, no donut for you..
Error 15: File not found on grub... |
|
Back to top |
|
|
Crucis n00b
Joined: 07 Sep 2004 Posts: 65 Location: Singapore
|
Posted: Fri Dec 31, 2004 3:06 pm Post subject: |
|
|
Hmm.. i suppose you're using genkernel? |
|
Back to top |
|
|
Nighty0 n00b
Joined: 31 Dec 2004 Posts: 6
|
Posted: Fri Dec 31, 2004 3:08 pm Post subject: |
|
|
Crucis wrote: | Hmm.. i suppose you're using genkernel? |
Yes.....
emerge genkernel
genkernel all
And i'm on links2 right now... booted with live cd :) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Dec 31, 2004 3:09 pm Post subject: |
|
|
Nighty0,
Heres what we know,
It loaded the kernel OK
It loaded the initrd OK,
That means that grub.conf and the names in /boot match
It failed to mount your root filesystem.
You must have missed out the reiserfs friver from you kernel, so it doesn't understand the content of the root partition. Or you missed out your hard drive chip set driver, so the kernel cannot see the drive at all.
Grub makes all its own arrangements, since it must work without the kernel being loaded. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Dec 31, 2004 3:58 pm Post subject: |
|
|
Most likely your kernel is confused because it doesn't understand the filesystem. Chuck genkernel and make menuconfig |
|
Back to top |
|
|
Nighty0 n00b
Joined: 31 Dec 2004 Posts: 6
|
Posted: Fri Dec 31, 2004 7:32 pm Post subject: |
|
|
racoontje wrote: | Most likely your kernel is confused because it doesn't understand the filesystem. Chuck genkernel and make menuconfig |
Yep.... i made with menuconfig and worked....
but now i need to config all hardware (set the modules to start on boot), since hotplug appears to not work..
another little problem i have: dhcpcd doesn't work.... which package i need to download to make this work?
i set the network card to "dhcp", but does not work...... i configured manually the network in gentoo and worked, but i prefer dhcp, since i have another hosts....
i tried to make an emerge --usepkg kde, but i can't wait........ i'll try to resume later, at night..... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Dec 31, 2004 8:21 pm Post subject: |
|
|
Nighty0,
List the modules you want loaded for hardware in /etc/modules.autoload.d/....
This shold fix your dhcp problem too. dhcpd is for serving IP information not aquiring it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nighty0 n00b
Joined: 31 Dec 2004 Posts: 6
|
Posted: Sat Jan 01, 2005 6:57 am Post subject: |
|
|
NeddySeagoon wrote: | Nighty0,
List the modules you want loaded for hardware in /etc/modules.autoload.d/....
This shold fix your dhcp problem too. dhcpd is for serving IP information not aquiring it. |
Yes, i know, but is boring, search and discover hardware :p ... as a old windows user......
i loaded my ethernet cards suscesfully, but i only can acess the network configuring manually the adresses..... with dhcp give me some /sbin/dhcp not found (not sure this is correct)...
i drunk so much this night... i will try to post more later.... good to see a great community like this...
happy new year to all..... |
|
Back to top |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Sat Jan 01, 2005 11:26 am Post subject: |
|
|
Happy new year!
Yeh, I've seen this on another post - exact same error when using genkernel and a reiserfs root partition. I'll look into it, but I don't think genkernel adds reiserfs support into it. Do:
Code: | genkernel menuconfig |
And add in reiserfs support. Or just go for a `make menuconfig' as someone suggested as it's better anyway and not hard! _________________ AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard |
|
Back to top |
|
|
|