View previous topic :: View next topic |
Author |
Message |
d0rp n00b
Joined: 05 Feb 2004 Posts: 61
|
Posted: Sat Aug 13, 2005 5:35 pm Post subject: Problem with genkernel/GRUB [Solved] |
|
|
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 |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Aug 13, 2005 5:42 pm Post subject: |
|
|
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 |
|
|
Jimi... Tux's lil' helper
Joined: 06 Aug 2005 Posts: 136 Location: IoM
|
Posted: Sat Aug 13, 2005 7:28 pm Post subject: |
|
|
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 |
|
|
jhunholz Apprentice
Joined: 29 Apr 2004 Posts: 154 Location: Raleigh, NC
|
Posted: Sat Aug 13, 2005 7:39 pm Post subject: |
|
|
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 |
|
|
d0rp n00b
Joined: 05 Feb 2004 Posts: 61
|
Posted: Sat Aug 13, 2005 9:25 pm Post subject: |
|
|
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 |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Aug 13, 2005 9:30 pm Post subject: |
|
|
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 |
|
|
Greenfuse n00b
Joined: 01 Aug 2005 Posts: 60 Location: Australia
|
Posted: Sun Aug 28, 2005 10:47 pm Post subject: |
|
|
In grub.conf
< init=/linuxrc > not < init=linuxrc >
perhaps it will help |
|
Back to top |
|
|
|