Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub can't find bzImage
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
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Wed Sep 25, 2002 10:25 pm    Post subject: grub can't find bzImage Reply with quote

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:
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!
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 25, 2002 10:52 pm    Post subject: Reply with quote

Probably failure to mount /boot when copying the kernel over. Use the instructions in https://forums.gentoo.org/faq.php#4 to boot from an install CD and then try this:
Code:
# umount /boot
# cp /boot/bzImage ~/
# rm /boot/bzImage
# mount /boot
# cp ~/bzImage /boot
# reboot

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Wed Sep 25, 2002 11:03 pm    Post subject: trying Reply with quote

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

Code:
# 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...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 25, 2002 11:10 pm    Post subject: Reply with quote

OK, I lept to conclusions that were apparently wrong. What's the entry for your boot partition in /etc/fstab?
Code:
$ 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
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Thu Sep 26, 2002 11:24 am    Post subject: etc-update Reply with quote

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:
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:
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.
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Thu Sep 26, 2002 11:38 am    Post subject: grep??? Reply with quote

After typing...

Code:
cdimage root # grep /boot /etc/fstab


...nothing happens. Does that signify anything?

EDIT:
OK, so I did the following:

Code:
# 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
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Thu Sep 26, 2002 12:06 pm    Post subject: no bzImage in /usr/src/linux/arch/i386/boot Reply with quote

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:
# cd /usr/src/linux/arch/i386/boot
ls
Makefile  bootsect.S  compressed  install.sh  setup.S  tools  video.S


Hmmm...
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Thu Sep 26, 2002 12:14 pm    Post subject: reboot error Reply with quote

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

Code:
* 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
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Fri Sep 27, 2002 3:34 pm    Post subject: still stuck Reply with quote

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
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Sep 27, 2002 3:40 pm    Post subject: Re: no bzImage in /usr/src/linux/arch/i386/boot Reply with quote

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

Code:
# 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?
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Fri Sep 27, 2002 3:42 pm    Post subject: Reply with quote

Quote:
That sounds like your kernel build failed.


Mmkay - meaning, I have to go back and try another install, or start from step 14?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Sep 27, 2002 3:54 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
frog1980
n00b
n00b


Joined: 23 Sep 2002
Posts: 21
Location: The Netherlands

PostPosted: Fri Sep 27, 2002 3:58 pm    Post subject: let's see... Reply with quote

OK thanks, I'm gonna try it and see what happens.
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