View previous topic :: View next topic |
Author |
Message |
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 4:20 am Post subject: bzImage ??? |
|
|
Newbie in the pool
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Aug 18, 2002 4:28 am Post subject: |
|
|
bzImage is your kernel. Did you do the make menuconfig, make etc.? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 4:32 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Aug 18, 2002 4:34 am Post subject: Re: bzImage ??? |
|
|
JWU42 wrote: | Newbie in the pool |
And about the 85th Dr. Evil.
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: - Your kernel compilation failed - in this case please post the error message when you tried to "make bzImage"
- 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 |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 4:42 am Post subject: |
|
|
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 ? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Aug 18, 2002 4:53 am Post subject: |
|
|
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 ? |
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 |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 12:48 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 1:03 pm Post subject: |
|
|
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 |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 1:24 pm Post subject: |
|
|
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 |
|
|
tomas n00b
Joined: 05 Jul 2002 Posts: 62 Location: Sweden
|
Posted: Sun Aug 18, 2002 1:58 pm Post subject: |
|
|
You can use dmesg to view boot messages. |
|
Back to top |
|
|
JWU42 n00b
Joined: 17 Aug 2002 Posts: 70 Location: Cornfields...
|
Posted: Sun Aug 18, 2002 2:25 pm Post subject: |
|
|
tomas,
Thanks for that! |
|
Back to top |
|
|
|