View previous topic :: View next topic |
Author |
Message |
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 3:37 am Post subject: what did i miss? |
|
|
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 |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Fri Jul 05, 2002 3:39 am Post subject: |
|
|
If this is the first kernel then there isn't an old one to backup. |
|
Back to top |
|
|
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Fri Jul 05, 2002 3:41 am Post subject: |
|
|
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 |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 3:53 am Post subject: what did i missed? |
|
|
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 |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Fri Jul 05, 2002 3:56 am Post subject: |
|
|
This may be a stupid question...but...you've actually done 'make bzImage', right? |
|
Back to top |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:00 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jul 05, 2002 4:03 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:03 am Post subject: |
|
|
Yes, that creates the bzImage. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:07 am Post subject: |
|
|
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 |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Fri Jul 05, 2002 4:12 am Post subject: |
|
|
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 |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:16 am Post subject: |
|
|
thanks pizen! i give it a shot and see...
btw, where is bzImage located after it is created? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:17 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jul 05, 2002 4:18 am Post subject: |
|
|
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 |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:22 am Post subject: |
|
|
thanks delta407. that was my guess, but when i looked in that location i did not see the file. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:23 am Post subject: |
|
|
Did you go to /usr/src/linux and make bzImage? _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:30 am Post subject: |
|
|
yes! i still have problem. no bzImage file after running make bzImage
maybe, i try it again tomorrow...oh well! |
|
Back to top |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Fri Jul 05, 2002 4:34 am Post subject: |
|
|
Is your compile finishing cleanly? No error[2] or anything like that in the last few lines of output? |
|
Back to top |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:41 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:42 am Post subject: |
|
|
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 |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Fri Jul 05, 2002 4:46 am Post subject: |
|
|
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 |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:50 am Post subject: |
|
|
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 |
|
|
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Fri Jul 05, 2002 2:53 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:18 pm Post subject: |
|
|
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 |
|
|
novice n00b
Joined: 05 Jul 2002 Posts: 32 Location: Atlanta - GA
|
Posted: Fri Jul 05, 2002 4:44 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 4:52 pm Post subject: |
|
|
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 |
|
|
|