Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with genkernel/GRUB [Solved]
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
d0rp
n00b
n00b


Joined: 05 Feb 2004
Posts: 61

PostPosted: Sat Aug 13, 2005 5:35 pm    Post subject: Problem with genkernel/GRUB [Solved] Reply with quote

I keep getting the following error no matter what I try:
Code:
  Booting 'Gentoo Linux 2.6.12-r6'

root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda4 udev

Error 15: File not found

Press any key to continue...

My grub.conf looks like this:
Code:
default 0
timeout 30
splashimage(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda4 udev
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6

title=Windows XP
root (hd0,0)
makeactive
chainloader +1

I can boot into windows just fine, and the splashimage works with GRUB, so I assume that the path is correct. I have checked, and the files are in /boot just like I have them listed there, but it keeps saying it can't find it.

Also, here is my /etc/fstab for reference:
Code:
/dev/hda2      /boot      ext2      noauto,noatime   1 2
/dev/hda4      /      ext3      noatime      0 1
/dev/hda3      none      swap      sw      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro   0 0
none         /proc      proc      defaults   0 0
none         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


I must be missing something obvious, but for the life of me, I can't figure out what is wrong.


Last edited by d0rp on Sat Aug 13, 2005 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Aug 13, 2005 5:42 pm    Post subject: Reply with quote

A few post above this (in the stickies) is a thread called

grub error collection
https://forums.gentoo.org/viewtopic-t-122656.html

Error 15 is to do with GRUB not finding the kernel to boot

does the kernel image exist in /boot?
was /etc/fstab edited correctly ie changing /dev/BOOT to the correct /dev node
is the kernel name in /boot the same as what was entered into the grub.conf?
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Aug 13, 2005 7:28 pm    Post subject: Reply with quote

Yeah, once you've compiled your kernel, you have to copy it over to your boot partition.

Your grub.conf and fstab looks fine though.
Back to top
View user's profile Send private message
jhunholz
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 154
Location: Raleigh, NC

PostPosted: Sat Aug 13, 2005 7:39 pm    Post subject: Reply with quote

Genkernel copies the kernel and the initrd over by default, so check that you typed them correctly into the grub.conf.
_________________
Member of the Gentoo Right Wing Conspiracy
Back to top
View user's profile Send private message
d0rp
n00b
n00b


Joined: 05 Feb 2004
Posts: 61

PostPosted: Sat Aug 13, 2005 9:25 pm    Post subject: Reply with quote

jholz7 wrote:
Genkernel copies the kernel and the initrd over by default, so check that you typed them correctly into the grub.conf.

Yes it does, so I was very confused. I must have checked the filenames at least 5 times and still missed that I had a '-' instead of a '.'

I'm not quite sure how that happened, but now I feel like a moron :(

Now I am having issues get my modules loaded, but hopefully that won't be too much of an issue to fix.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Aug 13, 2005 9:30 pm    Post subject: Reply with quote

lol I wouldn't call you a moron.

As to modules loading, is it a case that they are not loading at startup, BUT you can "modprobe" them

IF that is the case have a look in /etc/modules.autoload.d/

There are two txt files kernel-2.4 and kernel-2.6 choose the one for your kernel (likely 2.6)
This file auto loads kernel modules

here is mine

Code:

# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
nvidia
tulip
snd_emu10k1

_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Greenfuse
n00b
n00b


Joined: 01 Aug 2005
Posts: 60
Location: Australia

PostPosted: Sun Aug 28, 2005 10:47 pm    Post subject: Reply with quote

In grub.conf

< init=/linuxrc > not < init=linuxrc >

perhaps it will help
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