Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

grub can't find bzImage

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

grub can't find bzImage

  • Quote

Post by frog1980 » Wed Sep 25, 2002 10:25 pm

Well, I made it to the end of a gentoo install, using a stage 3 tarball. Everything seemed to go OK, but now, when I boot, I get the following:

Code: Select all

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

Error 15: File not found
Now I booted from CD and have been sniffing around, and it seems there's no bzImage in the boot partition. I could be wrong, and I'm sure it's not an error in the menu.lst, I've checked that. Any help would be greatly appreciated!
Top
rac
Bodhisattva
Bodhisattva
User avatar
Posts: 6553
Joined: Thu May 30, 2002 6:19 am
Location: Japanifornia
Contact:
Contact rac
Website

  • Quote

Post by rac » Wed Sep 25, 2002 10:52 pm

Probably failure to mount /boot when copying the kernel over. Use the instructions in http://forums.gentoo.org/faq.php#4 to boot from an install CD and then try this:

Code: Select all

# umount /boot
# cp /boot/bzImage ~/
# rm /boot/bzImage
# mount /boot
# cp ~/bzImage /boot
# reboot
For every higher wall, there is a taller ladder
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

trying

  • Quote

Post by frog1980 » Wed Sep 25, 2002 11:03 pm

ok, I followed your advice to the letter, and this is what I got:

Code: Select all

# umount /boot
umount: /boot: not mounted
# cp /boot/bzImage ~/
cp: cannot stat '/boot/bzImage': No such file or directory
# rm /boot/bzImage
rm: cannot remove '/boot/bzImage': No such file or directory
#mount /boot
mount: can't find /boot in /etc/fstab or /etc/mtab
#cp ~/bzImage /boot
cp: cannot stat '/root/bzImage': No such file or directory
But just for the hell of it, I'll fool around in the spirit of this stuff, see what I come up with... Thanks anyway!

EDIT:
OK, I had another look, and found out that there is simply no bzImage in my /boot. How the hell that happened, I have no idea. If there's a way of getting it in there, I would love to hear it. Otherwise, I'll just do another install tomorrow...
Top
rac
Bodhisattva
Bodhisattva
User avatar
Posts: 6553
Joined: Thu May 30, 2002 6:19 am
Location: Japanifornia
Contact:
Contact rac
Website

  • Quote

Post by rac » Wed Sep 25, 2002 11:10 pm

OK, I lept to conclusions that were apparently wrong. What's the entry for your boot partition in /etc/fstab?

Code: Select all

$ grep /boot /etc/fstab
...should find it.

EDIT: There shouldn't be a need to reinstall. Just maybe kernel recompilation. Is there a bzImage in /usr/src/linux/arch/i386/boot?
For every higher wall, there is a taller ladder
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

etc-update

  • Quote

Post by frog1980 » Thu Sep 26, 2002 11:24 am

hmmm, well, I read your post too late, and did do a reinstall. I follow manual instructions to the letter, using the Pentium 2 stage 3 tarball. Everything went well (like last time). But now, after completing step 16, I notice a strange little something I remember happened yesterday as well. Behold:

Code: Select all

cdimage linux # etc-update
Scanning Configuration files...
Exiting: No files to work on!
Is this a problem, could this be a symptom/cause of my problem? The rest of step 17 completes fine. I reboot and get the grub menu, (this time WITH spiffy background image, I didn't have that the previous install). However, I still get:

Code: Select all

Booting 'Gentoo Linux'

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

Error 15: File not found

Press any key to continue...
The filesystem type is correct. I am puzzled.
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

grep???

  • Quote

Post by frog1980 » Thu Sep 26, 2002 11:38 am

After typing...

Code: Select all

cdimage root # grep /boot /etc/fstab
...nothing happens. Does that signify anything?

EDIT:
OK, so I did the following:

Code: Select all

# chroot /mnt/gentoo /bin/sh
# grep /boot /etc/fstab
/dev/hda1  /boot  ext2  noauto,noatime  1 2
This is my first experience with Linux, as you probably guessed. Have been trying to install for a week now (on and off) and am learning all the time. I guess I am close, but there's still something going wrong. Could it be the boot partition was mounted improperly at grub install? Again, I am following install instructions to the letter, including partitions etc.
Last edited by frog1980 on Thu Sep 26, 2002 12:34 pm, edited 1 time in total.
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

no bzImage in /usr/src/linux/arch/i386/boot

  • Quote

Post by frog1980 » Thu Sep 26, 2002 12:06 pm

rac wrote:EDIT: There shouldn't be a need to reinstall. Just maybe kernel recompilation. Is there a bzImage in /usr/src/linux/arch/i386/boot?
Ummm, there doesn't seem to be:

Code: Select all

# cd /usr/src/linux/arch/i386/boot
ls
Makefile  bootsect.S  compressed  install.sh  setup.S  tools  video.S
Hmmm...
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

reboot error

  • Quote

Post by frog1980 » Thu Sep 26, 2002 12:14 pm

also, after booting into the liveCD when I unmount my partitions and reboot, I get the following mess:

Code: Select all

* Remounting remaining filesystems readonly [!!]

/sbin/rc: /bin/sync: No such file or directory
/sbin/rc: /bin/sync: No such file or directory
/sbin/rc: /sbin/sulogin: No such file or directory
/sbin/rc: /sbin/reboot: No such file or directory
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

still stuck

  • Quote

Post by frog1980 » Fri Sep 27, 2002 3:34 pm

isn't there anyone who can tell me what the heck is going on? Two installs, and I get exactly the same problem. See above for details - thanks in advance!
Last edited by frog1980 on Fri Sep 27, 2002 3:43 pm, edited 1 time in total.
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

Re: no bzImage in /usr/src/linux/arch/i386/boot

  • Quote

Post by pjp » Fri Sep 27, 2002 3:40 pm

frog1980 wrote:Ummm, there doesn't seem to be:

Code: Select all

# cd /usr/src/linux/arch/i386/boot
ls
Makefile  bootsect.S  compressed  install.sh  setup.S  tools  video.S
Hmmm...
That sounds like your kernel build failed.
Quis separabit? Quo animo?
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

  • Quote

Post by frog1980 » Fri Sep 27, 2002 3:42 pm

That sounds like your kernel build failed.
Mmkay - meaning, I have to go back and try another install, or start from step 14?
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Fri Sep 27, 2002 3:54 pm

Using the link rac provided above, boot to the CD and then Step 14, specifically the part where you make the kernel (Code listing 28). When the compile is done, you can ls /usr/src/linux/arch/i386/boot again to make sure there is a bzImage.
Quis separabit? Quo animo?
Top
frog1980
n00b
n00b
User avatar
Posts: 21
Joined: Mon Sep 23, 2002 7:16 pm
Location: The Netherlands
Contact:
Contact frog1980
Website

let's see...

  • Quote

Post by frog1980 » Fri Sep 27, 2002 3:58 pm

OK thanks, I'm gonna try it and see what happens.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic