Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
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
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 4:20 am    Post subject: bzImage ??? Reply with quote

Newbie in the pool :roll:

What is this?

In the install guide it mentions it in the "Code listing 25" section. It seems I didn't have it since I couldn't mv it or cp it.

I just finished running thru the install guide and was eager to watch gentoo boot but ran into the error 15 problem. Can't find file in the

kernel /boot/bzImage root=/dev/hda4

I very well could have goofed up somewhere along the line, but thought I was following it word-for-word. I tired removing the /boot part from the /boot/bzImage and I still have the same problem

Just FYI

hda1 = WinXP
hda2 = boot 100mb ext2
hda3 = swap 512mb
hda4 = root 6GB xfs

I assume I can use the boot cd to get back into the console and edit files if need be?

TIA,
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Aug 18, 2002 4:28 am    Post subject: Reply with quote

bzImage is your kernel. Did you do the make menuconfig, make etc.?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 4:32 am    Post subject: Reply with quote

kanuslupus,

yeah, did all shown in code listing 25

cd /usr/src/linux
make menuconfig (and the menu came up and I edited it)
make dep && make clean bzImage modules modules_install

did all those
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 18, 2002 4:34 am    Post subject: Re: bzImage ??? Reply with quote

JWU42 wrote:
Newbie in the pool :roll:

And about the 85th Dr. Evil. :lol:

Quote:
What is this?

It's your kernel, compressed by the bzip2 algorithm.

Quote:
In the install guide it mentions it in the "Code listing 25" section. It seems I didn't have it since I couldn't mv it or cp it.

That usually means one of two things:
  1. Your kernel compilation failed - in this case please post the error message when you tried to "make bzImage"
  2. You weren't looking in the right place. Assuming your source tree is in /usr/src/linux, and you are on an x86-architecture CPU, it should be in /usr/src/linux/arch/i386/boot/bzImage.

One more thing - when you do find it, make sure to mount /boot first (if it's a separate partition) before you copy it over.

Quote:
I assume I can use the boot cd to get back into the console and edit files if need be?

You assume correctly. If you are having problems doing this, see https://forums.gentoo.org/faq.php#2.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 4:42 am    Post subject: Reply with quote

rac,

Thanks for the response.

Can I resume my install at code listing 25 as shown in the install guide. I don't remember seeing an error after the make clean bzImage, but do know the mv command and the cp command didn't work...think it said file missing. I wasn't too worried since there was something in red about exisiting image.

Lastly, I changed my avatar...any better ? :roll:
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 18, 2002 4:53 am    Post subject: Reply with quote

JWU42 wrote:
Can I resume my install at code listing 25 as shown in the install guide.

Yes.
Quote:
I don't remember seeing an error after the make clean bzImage, but do know the mv command and the cp command didn't work...think it said file missing. I wasn't too worried since there was something in red about exisiting image.

The
Code:
mv /boot/bzImage /boot/bzImage.orig
command failing should not worry you. The
Code:
cp /usr/src/linux/arch/i386/boot/bzImage /boot
command failing should. If it does, check carefully for typos. If you are unsure whether or not "make bzImage" completed successfully, separate out the make commands:
Code:
# make dep
# make clean
# make bzImage
...scan output for errors...
Code:
# make modules
# make modules_install

Quote:
Lastly, I changed my avatar...any better ? :roll:

Sure. "Why bad, children?" I wasn't trying to be critical of your first choice either, it just seems like there's been a rash of Dr. Evils recently, and it's really my fault for relying overmuch on avatars as a quick visual crutch to disambiguate people.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 12:48 pm    Post subject: Reply with quote

Quote:
Sure. "Why bad, children?" I wasn't trying to be critical of your first choice either, it just seems like there's been a rash of Dr. Evils recently, and it's really my fault for relying overmuch on avatars as a quick visual crutch to disambiguate people.


I like you already :D
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 1:03 pm    Post subject: Reply with quote

rac,

When rebooting into with the cd, I am not able to use the make command. I followed the instructions in a link u posted to mount

Code:
# mkdir /mnt/gentoo                     <-- create a mountpoint for your / filesystem
# mount /dev/hda3 /mnt/gentoo           <-- attach your root partition (substitute hda3)
# mount /dev/hda1 /mnt/gentoo/boot      <-- attach your boot partition (substitute hda1)


When i started working on the commands you gave me, I get a sh: make: command not found error.

Where do I start from now? I would hate to spend another 4 hours and start from the beginning.

Thanks again for your help!
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 1:24 pm    Post subject: Reply with quote

I must have mistyped the

Code:
cp /usr/src/linux/arch/i386/boot/bzImage /boot


booted into the command line just fine. I thought I saw an error message flash by about problems with my ext2 filesystem. Is there a log generated at boot?

Thks!
Back to top
View user's profile Send private message
tomas
n00b
n00b


Joined: 05 Jul 2002
Posts: 62
Location: Sweden

PostPosted: Sun Aug 18, 2002 1:58 pm    Post subject: Reply with quote

You can use dmesg to view boot messages.
Back to top
View user's profile Send private message
JWU42
n00b
n00b


Joined: 17 Aug 2002
Posts: 70
Location: Cornfields...

PostPosted: Sun Aug 18, 2002 2:25 pm    Post subject: Reply with quote

tomas,

Thanks for that!
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