Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't boot gentoo
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
sigma
n00b
n00b


Joined: 16 Jan 2004
Posts: 14
Location: Switzlerland

PostPosted: Sat Jan 17, 2004 12:05 pm    Post subject: can't boot gentoo Reply with quote

i installed gento with the kernelsource gentoo-dev-sources and if had it complied with genkernel. As bootloader i had choosen the grub. now i had the problem that he can't load the kernel.

the grub i had installed with
Code:
root (hd0,0)
setup (hd0)


the configfile of grub in "/boot/grub/grub.conf"
Code:
default=0
timeout=30
splashimage=(hd0,0)boot/grub/splash.xpm.gz
title=test
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV


here the error messegae
Code:
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3

Error 15: File not foundx


can someone help me?

sigma
Back to top
View user's profile Send private message
joehni
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 175

PostPosted: Sat Jan 17, 2004 12:18 pm    Post subject: Reply with quote

Hello Sigma,

from your messages I suppose that /dev/hda1 is your boot partition. Therefore you have to remove all "/boot", since "/boot" is just your mount point from /dev/hda3, and anything is located directly at /dev/hda1.

Regards,
Jörg
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Sat Jan 17, 2004 1:04 pm    Post subject: Reply with quote

you need to replace kernel-KV with the actual name of your kernel file. If you compiled it under Gentoo then it will be something like "kernel-2.4.20-gentoo-r6" or something. The KV after the kernel stands for kernel version. I wish I could help you with the exact name, but I am not running the dev sources.

If you use genkernel to compile it, when it finishes it will tell you the name of your kernel and your initrd string.
Back to top
View user's profile Send private message
sigma
n00b
n00b


Joined: 16 Jan 2004
Posts: 14
Location: Switzlerland

PostPosted: Sun Jan 18, 2004 12:17 pm    Post subject: Reply with quote

no it find the kernel after the bootloader, but it don't find any partitions

Code:
UDF-fs: No partition found (1)
Kernel panic: VS: Unable to mount root fs on hda3


sigma
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Sun Jan 18, 2004 12:28 pm    Post subject: Reply with quote

If you used genkernel try something like this:
Code:

kernel (hd0,0)/boot/kernel-KV root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV
Back to top
View user's profile Send private message
sigma
n00b
n00b


Joined: 16 Jan 2004
Posts: 14
Location: Switzlerland

PostPosted: Sun Jan 18, 2004 1:16 pm    Post subject: Reply with quote

no this one doesn't work. i became the same fatal error
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sun Jan 18, 2004 6:57 pm    Post subject: Reply with quote

Did you remember to include support for all the filesystem types you are using directly in the kernel as well as support for your IDE controller?

Is /dev/hda3 really the root location? Can you boot from the live cd and mount /dev/hda3 /mnt/gentoo then post the output of ls /mnt/gentoo. Also, mount your boot partition: mount /dev/hda1 /mnt/gentoo/boot then post the output of: ls /mnt/gentoo/boot. This will help a bit with troubleshooting.

Also, might as well post 'fdisk -l /dev/hda' just to be safe!
_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
sigma
n00b
n00b


Joined: 16 Jan 2004
Posts: 14
Location: Switzlerland

PostPosted: Wed Jan 21, 2004 5:14 pm    Post subject: Reply with quote

thanks a lot at all. now i have compiled my kernel not with the genkernel. i it works.
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