Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB & bzImage Problems
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
local_X
n00b
n00b


Joined: 26 May 2003
Posts: 2

PostPosted: Mon May 26, 2003 2:13 am    Post subject: GRUB & bzImage Problems Reply with quote

Sorry if this post is a duplicate, but the search just didn't do it for me. :wink:
Code:
   Booting "Gentoo-Box"

root (hd0,0)
   Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/bzImage root=/dev/hda3

Error 15: File Not Found

Press any key to continue...

Thus the problem, and that above is the message I get. I don't have a boot-disk for GRUB, because I had a bad floppy in the machine. The code above is right out of the x86 install guide. My partition config is like this:
Code:
hda1     boot      ext2
hda2     swap
hda3     root      ext3

If I add a space in betwee "(hd0,0)" and "/boot/bzImage" I get:
Code:
Error 1: Filename must be either an absolute pathname or blocklist

I would post my grub.conf, but I don't have any idea how to get there.
Thanks in advance for the help.
:D
Back to top
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Mon May 26, 2003 2:39 am    Post subject: Reply with quote

Try putting in the gentoo live-cd. When it boots up, type the following:

Code:
mount /dev/[root partition] /mnt/gentoo
mount /dev/[boot partition] /mnt/gentoo/boot
mount -t proc proc /mnt/gentoo/proc
swapon /dev/[swap partition]
chroot /mnt/gentoo /bin/bash


That gets you into your chroot environment. Now, cd to /boot and do an ls and see exactly what is in this directory. Make sure bzImage is there, if it isn't then you have forgotten to copy it after compiling the kernel. You could also have called it something different, by mistyping, so look for any typing mistakes. Also, check that there is a directory that is a symlink to /boot, because it is needed to locate bzImage. Try checking those, see what you can come up with.

Stu
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 26, 2003 2:52 am    Post subject: Reply with quote

One of GRUB's nice features is the command line. (when you see the splash screen, press "c")

Since your bzImage seems to be lost, lets try to find it :
Code:
grub> find /boot/bzImage

Error 15: File not found

grub> find /bzImage
 (hd0,0)

grub> find /usr/src/linux/arch/i386/boot/bzImage
 (hd0,2)

grub>

If you are able to locate the kernel, you can boot from wherever it is :
Code:
grub> root (hd0,2)
 Filesystem type is ext2, partition type 0x83

grub> kernel /usr/src/linux/arch/i386/boot/bzImage
   [Linux-bzImage, setup=0x1400, size=0x1169ae]

grub> boot
Back to top
View user's profile Send private message
local_X
n00b
n00b


Joined: 26 May 2003
Posts: 2

PostPosted: Mon May 26, 2003 3:22 am    Post subject: Reply with quote

I just forgot to copy the bzImage file after compiling the kernel, boots like a dream now. Thank you for the help. :D
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