View previous topic :: View next topic |
Author |
Message |
SiberianX37 n00b
Joined: 28 Mar 2005 Posts: 23
|
Posted: Fri May 13, 2005 7:57 am Post subject: grub won't find my kernel |
|
|
Hi everyone. I followed the gentoo handbook to the letter (sort of) and i'm having problems with grub. I did not use gen kernel so i'm doing it the first way. However, my partiitions are a little different.
Hda1 = WINXP
Hda2 = boot
hda3 = swap
hda4 = root.
My Grub.conf looks like this:
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
Code: | # Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
# Partition where the kernel image (or operating system) is located
root (hd0,1)
[b]kernel /kernel-2.6.11-gentoo-r8 root=/dev/hda4[/b]
# WINDOWS XP
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1 |
in theory, all should work and boot fine, but it doesnt. Upon boot, the system enters grub, I am able to boot windows, but it tells me specifically this whenever i try to boot into gentoo
Code: |
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.11-gentoo-r8 root=/dev/hda4
Error 15: file Not Found.
Press any key to continue
|
It can't find the kernel image. I thought that the kernel image was in /usr/src so i tried changing it to
Code: | kernel /kernel-2.6.11-gentoo-r8 root=/dev/hda4 | but that was probably a stupid n00b mistake because nothing happened.
It is now almost 3 am and i should probably go to sleep since I got schoo tomorrow, so im' going to leave this alone for now
Anyway, anyone have any ideas on what the problem is? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri May 13, 2005 8:11 am Post subject: |
|
|
You should probably get some sleep, yes - not all of those could be typos. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
SuperYak Tux's lil' helper
Joined: 06 Jan 2005 Posts: 76 Location: 41''13'38'' N - 96''01'19'' W
|
Posted: Fri May 13, 2005 3:14 pm Post subject: |
|
|
I don't see your full gentoo entry in your grub.conf
Here's a pretty generic grub.conf:
Code: | testbox2 root # cat /boot/grub/grub.conf
timeout 30
default 0
#fallback 0
splashimage=(hd0,0)/grub/splash.xpm.gz
title Gentoo
root (hd0,0)
kernel (hd0,0)/vmlinuz ro root=/dev/hda3 |
Here's what my boot partition looks like:
Code: | testbox2 boot # ls -l
total 3519
lrwxrwxrwx 1 root root 27 May 12 15:51 System.map -> System.map-2.6.11-gentoo-r8
-rw-r--r-- 1 root root 962337 May 12 15:51 System.map-2.6.11-gentoo-r8
lrwxrwxrwx 1 root root 1 May 10 10:33 boot -> .
lrwxrwxrwx 1 root root 23 May 12 15:51 config -> config-2.6.11-gentoo-r8
-rw-r--r-- 1 root root 27411 May 12 15:51 config-2.6.11-gentoo-r8
drwxr-xr-x 2 root root 608 May 10 12:45 grub
lrwxrwxrwx 1 root root 24 May 12 15:51 vmlinuz -> vmlinuz-2.6.11-gentoo-r8-rw-r--r-- 1 root root 2002641 May 12 15:51 vmlinuz-2.6.11-gentoo-r8 |
|
|
Back to top |
|
|
thedrez n00b
Joined: 10 May 2005 Posts: 26
|
Posted: Sat May 14, 2005 1:49 pm Post subject: |
|
|
Sounds like you did not cp the bzImage to /boot/kernel......
That grub error, means it can't find the file, but that everything else is OK....
Seems like your first grub.conf is OK....
http://www.gnu.org/software/grub/manual _________________ *****************************************
Artificial intelligence is no match for natural stupidity!
Believe me, I know a lot about the latter. I'm a natural... |
|
Back to top |
|
|
LV426 n00b
Joined: 13 May 2005 Posts: 17 Location: Germany
|
Posted: Sat May 14, 2005 4:30 pm Post subject: |
|
|
Make sure, that "/boot/kernel-2.6.11-gentoo-r8" really exist, if not, you can copy you
kernel image from "/usr/src/linux/arch/i386/boot/bzImage" (where it will be after compiling the kernel)
to "/boot/kernel-2.6.11-gentoo-r8" _________________ Experience is a hard teacher because she gives the test first, the lesson afterwards. |
|
Back to top |
|
|
SiberianX37 n00b
Joined: 28 Mar 2005 Posts: 23
|
Posted: Sun May 15, 2005 4:54 am Post subject: |
|
|
thanks guys. For some reason i might have forgotten to copy over the image or something. but not htat i copied it over its fine. It boots, i'm now having problems with emerging kde, gnome and fluxbox. all the same error. I think i should post that one in desktop environments to make it easier for the mods. thanks for all your help everyone. |
|
Back to top |
|
|
|