View previous topic :: View next topic |
Author |
Message |
necromancer n00b
Joined: 30 Jun 2002 Posts: 9
|
Posted: Sat Jul 06, 2002 10:25 am Post subject: Cant boot Gentoo: Error 15: File not found |
|
|
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 |
|
|
therobot Apprentice
Joined: 07 Jun 2002 Posts: 256 Location: Canada
|
Posted: Sat Jul 06, 2002 11:48 am Post subject: |
|
|
is bzImage in /boot? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Jul 06, 2002 1:47 pm Post subject: Re: Cant boot Gentoo: Error 15: File not found |
|
|
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 |
|
|
necromancer n00b
Joined: 30 Jun 2002 Posts: 9
|
Posted: Sun Jul 07, 2002 4:22 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Jul 07, 2002 4:46 am Post subject: |
|
|
You have to mount boot before you can put anything in it. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
necromancer n00b
Joined: 30 Jun 2002 Posts: 9
|
Posted: Sun Jul 07, 2002 5:09 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sun Jul 07, 2002 5:11 am Post subject: |
|
|
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 |
|
|
grendel n00b
Joined: 08 Jul 2002 Posts: 1 Location: NYC
|
Posted: Tue Jul 09, 2002 6:26 am Post subject: |
|
|
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 |
|
|
|