Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what did i miss?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 3:37 am    Post subject: what did i miss? Reply with quote

i followed the installation instruction until i hit step number 14, code listing 25, when i typed

mv /boot/bzImage /boot/bzImage.orig

i got the message

mv: cannot stat '/boot/bzImage': No such file or directory

so i skipped this step and go to the next one, which was

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

and i got similar message as the previous step: No such file or directory.

can anyone help?

btw, i am new to Linux.

thanks
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Fri Jul 05, 2002 3:39 am    Post subject: Reply with quote

If this is the first kernel then there isn't an old one to backup.
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Fri Jul 05, 2002 3:41 am    Post subject: Reply with quote

The first thing you say is normal in a new install.

The second one I dont understand though. You tried to copy bzImage to /boot and it gave an error? What was the error exactly?
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 3:53 am    Post subject: what did i missed? Reply with quote

the message was:

cp: cannot stat '/usr/src/linux/arch/i386/boot/bzImage' : No such file or directory

this is, btw, a clean install using stage3 option
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Fri Jul 05, 2002 3:56 am    Post subject: Reply with quote

This may be a stupid question...but...you've actually done 'make bzImage', right?
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:00 am    Post subject: Reply with quote

where in the installation steps does it say that? was it the step:

make dep && make clean bzImage modules modules_install

that creates the bzImage file?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 4:03 am    Post subject: Reply with quote

novice wrote:
where in the installation steps does it say that? was it the step:

make dep && make clean bzImage modules modules_install

that creates the bzImage file?
Yes.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:03 am    Post subject: Reply with quote

Yes, that creates the bzImage.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:07 am    Post subject: Reply with quote

i had both make dep and make clean bzImage... on the same line. should i type these two one at a time?
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Fri Jul 05, 2002 4:12 am    Post subject: Reply with quote

Code:
make dep && make clean bzImage modules modules_install

should work.

But if in doubt you can do them all separately
Code:

make dep
make clean
make bzImage
make modules
make modules_install
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:16 am    Post subject: Reply with quote

thanks pizen! i give it a shot and see...
btw, where is bzImage located after it is created?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:17 am    Post subject: Reply with quote

The new bzImage ends up in /usr/src/linux/arch/i386/boot/bzImage, just like the install guide says.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 4:18 am    Post subject: Reply with quote

The instructions tell you to copy the image from xxx to /boot. Look for that. The original post
mentions it, just double check to make sure it is the correct location.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:22 am    Post subject: Reply with quote

thanks delta407. that was my guess, but when i looked in that location i did not see the file.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:23 am    Post subject: Reply with quote

Did you go to /usr/src/linux and make bzImage?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:30 am    Post subject: Reply with quote

yes! i still have problem. no bzImage file after running make bzImage

maybe, i try it again tomorrow...oh well!
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Fri Jul 05, 2002 4:34 am    Post subject: Reply with quote

Is your compile finishing cleanly? No error[2] or anything like that in the last few lines of output?
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:41 am    Post subject: Reply with quote

i ran the make bzImage again and did see some of the last few line with error[2]. what does it mean?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:42 am    Post subject: Reply with quote

No one can tell you what it means if you don't post the errors.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
pizen
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 213
Location: Atlanta, GA, USA

PostPosted: Fri Jul 05, 2002 4:46 am    Post subject: Reply with quote

novice wrote:
i ran the make bzImage again and did see some of the last few line with error[2]. what does it mean?


It means your compile is failing. That's why it's never creating bzImage. But like Delta407 said, we don't know anything else without the specific error.
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:50 am    Post subject: Reply with quote

fellows, thanks for all of your responses.

it's time for me to hit the bed (got to work tomorrow). i'll give it another shot when i got home from work.

again, thanks y'all
Back to top
View user's profile Send private message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Fri Jul 05, 2002 2:53 pm    Post subject: Reply with quote

I remember having the same problem, and IIRC, the error means not that bzImage does not exist but that /boot does not exist. I would make sure that you did the mount /boot step right.

Let us know. :)
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:18 pm    Post subject: Reply with quote

Martin wrote:
I remember having the same problem, and IIRC, the error means not that bzImage does not exist but that /boot does not exist. I would make sure that you did the mount /boot step right.


How does "/usr/src/linux/boot/arch/i386/bzImage : No such file or directory" translate in to a /boot problem? make bzImage isn't completing properly, hence the error[ ] messages and the missing output file. Of course, you're right, he has to mount /boot before he copies it, but that's not what the problem is.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 4:44 pm    Post subject: Reply with quote

hello again,

i am going to do a clean install again when i get home today. i basically follow the instruction step by step and everything went without a hitch until i got to the part where i ran the make menuconfig, which brought up a list of options like:

"Code maturity level options --> Prompt for development and/or incomplete code/drivers" , etc.

this was where i went in and checked a few more options down the list.

i don't know if this could cause the error[2] message or not, but i am going to accept the default and proceed to see what happen this time around. now i remember something about compiling the code back when i took programming courses many years ago: it is not a good sign if there was an error at the end!

my question is: if i accept the default after running make menuconfig, can i add the options later on? would i then have to re-compile the kernel?

anyway, i really appreciate all the help from the people of this board. your help encourages newbie like me to stay the course of linux experience.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 4:52 pm    Post subject: Reply with quote

Accepting the defaults will leave you with a non-functional system, FYI.

Please post the actual error message.
_________________
I don't believe in witty sigs.
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
Goto page 1, 2  Next
Page 1 of 2

 
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