Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant boot Gentoo: Error 15: File not found
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
necromancer
n00b
n00b


Joined: 30 Jun 2002
Posts: 9

PostPosted: Sat Jul 06, 2002 10:25 am    Post subject: Cant boot Gentoo: Error 15: File not found Reply with quote

As I thought everything had gone smooth I get following message trying to boot:

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

Error 15: File not found

Press any Key to continue...

I got following partition setup:

hda1 Windows Fat16/32
hda2 boot ext3
hda3 swap
hda4 / ext3
Back to top
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Sat Jul 06, 2002 11:48 am    Post subject: Reply with quote

is bzImage in /boot?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Jul 06, 2002 1:47 pm    Post subject: Re: Cant boot Gentoo: Error 15: File not found Reply with quote

You may have not mounted boot before copying bzImage. If this is the case, you can still boot from the compiled kernel by doing:
Code:

kernel (hd0,3)/usr/src/linux/arch/i386/boot/bzImage root=/dev/hda4

This has saved me a lot of work when I have forgotten to copy the new kernel over to /boot.
necromancer wrote:
As I thought everything had gone smooth I get following message trying to boot:

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

Error 15: File not found

Press any Key to continue...

I got following partition setup:

hda1 Windows Fat16/32
hda2 boot ext3
hda3 swap
hda4 / ext3
Back to top
View user's profile Send private message
necromancer
n00b
n00b


Joined: 30 Jun 2002
Posts: 9

PostPosted: Sun Jul 07, 2002 4:22 am    Post subject: Reply with quote

Changed the "kernel /boot/bzImage root=/dev/hda4 " to "kernel (hd0,3)/usr/src/linux/arch/i386/boot/bzImage root=/dev/hda4 " in Grub, but it did not help. same error 15 and File not found.

Therobot wrote:
is bzImage in /boot?

I am not sure. Would bzImage be in /boot if I did:
#mv /boot/bzImage /boot/bzImage.orig
#cp /usr/src/linux/arch/i386/bzImage /boot
?

It is possible that I forgot those lines, or one of them.

Do I have to start from scratch?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jul 07, 2002 4:46 am    Post subject: Reply with quote

You have to mount boot before you can put anything in it.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
necromancer
n00b
n00b


Joined: 30 Jun 2002
Posts: 9

PostPosted: Sun Jul 07, 2002 5:09 am    Post subject: Reply with quote

Then maybe I missed the "#mount /dev hda2 /mnt/gentoo/boot" -line, but I did not get any errors during installation untill booting with Grub.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sun Jul 07, 2002 5:11 am    Post subject: Reply with quote

Mounting /boot applies both during and after the installation process. It is left unmounted by default... so, yeah.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
grendel
n00b
n00b


Joined: 08 Jul 2002
Posts: 1
Location: NYC

PostPosted: Tue Jul 09, 2002 6:26 am    Post subject: Reply with quote

I had this same problem.
I have hda1 mounted as /boot
I have hda2 as a swap
I have hda3 as the root partition (/)
But it seems that no matter what I did
grub
root (hd0,0)
setup (hd0)

and in my menu.lst
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

This would not work.

Then I noticed that when I ran 'setup (hd0)' line it kept saying it found the stage1 in /grub so then I changed to
kernel /grub/bzImage root=/dev/hda3
and copied bzImage to /boot/grub and that worked.
Hope this helps!
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