* [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
@ 2006-09-15 17:53 Steven G Wagner
2006-09-15 18:14 ` Bruno Lustosa
2006-09-15 19:42 ` Mick
0 siblings, 2 replies; 9+ messages in thread
From: Steven G Wagner @ 2006-09-15 17:53 UTC (permalink / raw
To: gentoo-user@lists.gentoo.com
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this
error:
cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
I dl'd the stage3-x86-hardened-2.6-2006.0.tar.bz2 and the
portage-latest.tar.bz2 files. I've been following the handbook instructions
verbatim for 2.6 kernel, everything has gone fine up to this point with no
errors displayed. I configured and built the kernel with no errors (that I
could see) and executed "make && make modules_install". Everything seems
okay until I run "cp arch/i386/kernel/bzImage
/boot/kernel-2.6.16-hardened-r11" per the handbook instructions. Then I get
the error above that the bzImage file cannot be found.
When I run "ls -l /usr/src/linux" it points to linux-2.6.16-hardened-r11, so
I've tried using that name too, but still received the same error. Any help
would be appreciated, please let me know if I need to provide any additional
info.
Thanks
[-- Attachment #2: Type: text/html, Size: 3272 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 17:53 [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory Steven G Wagner
@ 2006-09-15 18:14 ` Bruno Lustosa
2006-09-15 18:57 ` Steven G Wagner
2006-09-15 19:42 ` Mick
1 sibling, 1 reply; 9+ messages in thread
From: Bruno Lustosa @ 2006-09-15 18:14 UTC (permalink / raw
To: gentoo-user
On 9/15/06, Steven G Wagner <digital9ja@cox.net> wrote:
> I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this
> error:
> cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
Isn't bzImage supposed to be in arch/i386/boot ??
--
Bruno Lustosa <bruno@lustosa.net>
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 18:14 ` Bruno Lustosa
@ 2006-09-15 18:57 ` Steven G Wagner
0 siblings, 0 replies; 9+ messages in thread
From: Steven G Wagner @ 2006-09-15 18:57 UTC (permalink / raw
To: gentoo-user
That was it, thanks a lot! Thanks a million, I can't believe I overlooked
that in the handbook!
-----Original Message-----
From: Bruno Lustosa [mailto:bruno.lists@gmail.com]
Sent: Friday, September 15, 2006 11:14 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No
such file or directory
On 9/15/06, Steven G Wagner <digital9ja@cox.net> wrote:
> I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this
> error:
> cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
Isn't bzImage supposed to be in arch/i386/boot ??
--
Bruno Lustosa <bruno@lustosa.net>
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 9/15/2006
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 17:53 [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory Steven G Wagner
2006-09-15 18:14 ` Bruno Lustosa
@ 2006-09-15 19:42 ` Mick
2006-09-15 19:53 ` Norman Rieß
1 sibling, 1 reply; 9+ messages in thread
From: Mick @ 2006-09-15 19:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 758 bytes --]
On Friday 15 September 2006 18:53, Steven G Wagner wrote:
> I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this
> error:
>
> cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
If at that moment you typed pwd you would see that you were not in
the /usr/src/linux directory and therefore the path to
arch/i386/kernel/bzImage could not be found. Go back into /usr/src/linux
before you run again the cp command:
cd /usr/src/linux
cp arch/i386/kernel/bzImage /boot/'whatever_you_want_to_call_it'
HTH
PS. You can select in your M$Outlook to only send messages in plain text
format for this mailing list. There is not _good_ reason to overload the
servers with HTML bumf.
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 19:42 ` Mick
@ 2006-09-15 19:53 ` Norman Rieß
2006-09-15 20:02 ` Neil Bothwick
0 siblings, 1 reply; 9+ messages in thread
From: Norman Rieß @ 2006-09-15 19:53 UTC (permalink / raw
To: gentoo-user
Mick schrieb:
> On Friday 15 September 2006 18:53, Steven G Wagner wrote:
>
>> I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this
>> error:
>>
>> cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
>>
>
> If at that moment you typed pwd you would see that you were not in
> the /usr/src/linux directory and therefore the path to
> arch/i386/kernel/bzImage could not be found. Go back into /usr/src/linux
> before you run again the cp command:
>
> cd /usr/src/linux
> cp arch/i386/kernel/bzImage /boot/'whatever_you_want_to_call_it'
>
> HTH
>
> PS. You can select in your M$Outlook to only send messages in plain text
> format for this mailing list. There is not _good_ reason to overload the
> servers with HTML bumf.
>
Also my kernel isn´t in arch/i386/kernel/bzImage but in
arch/i386/boot/bzImage.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 19:53 ` Norman Rieß
@ 2006-09-15 20:02 ` Neil Bothwick
2006-09-15 22:26 ` darren kirby
0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2006-09-15 20:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
On Fri, 15 Sep 2006 21:53:18 +0200, Norman Rieß wrote:
> Also my kernel isn´t in arch/i386/kernel/bzImage but in
> arch/i386/boot/bzImage.
"make install" would have copied the kernel without all this hassle.
--
Neil Bothwick
Distrust any enterprise that requires new clothes. - Henry David Thoreau
(1817-1862)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 20:02 ` Neil Bothwick
@ 2006-09-15 22:26 ` darren kirby
2006-09-15 23:19 ` Neil Bothwick
0 siblings, 1 reply; 9+ messages in thread
From: darren kirby @ 2006-09-15 22:26 UTC (permalink / raw
To: gentoo-user
quoth the Neil Bothwick:
> On Fri, 15 Sep 2006 21:53:18 +0200, Norman Rieß wrote:
> > Also my kernel isn´t in arch/i386/kernel/bzImage but in
> > arch/i386/boot/bzImage.
>
> "make install" would have copied the kernel without all this hassle.
Well, not much of a hassle if he had just gotten the path right...
I seem to recall getting bitten in the past by 'make install'. I think it
overwrote my existing kernel, and insisted on running lilo (I use grub). I
have just moved it manually since.
I just had a look at 'make help':
install - Install kernel using
(your) ~/bin/installkernel or
(distribution) /sbin/installkernel or
install to $(INSTALL_PATH) and run lilo
Gentoo does have a /sbin/installkernel but it seems to be designed for Debian.
Can you confirm then that this works fine on Gentoo and does _not_ try to run
lilo? I can see myself it appends a version number so it should not overwrite
an older kernel... maybe I will write my own ~/bin/installkernel, so it can
update my grub.conf manually.
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 22:26 ` darren kirby
@ 2006-09-15 23:19 ` Neil Bothwick
2006-09-16 5:41 ` darren kirby
0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2006-09-15 23:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]
On Fri, 15 Sep 2006 15:26:10 -0700, darren kirby wrote:
> I seem to recall getting bitten in the past by 'make install'. I think
> it overwrote my existing kernel, and insisted on running lilo (I use
> grub). I have just moved it manually since.
>
> I just had a look at 'make help':
>
> install - Install kernel using
> (your) ~/bin/installkernel or
> (distribution) /sbin/installkernel or
> install to $(INSTALL_PATH) and run lilo
>
> Gentoo does have a /sbin/installkernel but it seems to be designed for
> Debian. Can you confirm then that this works fine on Gentoo and does
> _not_ try to run lilo?
Yes I can. I believe it runs lilo is lilo is present, because you need to
re-run lilo when installing a new kernel, but I use GRUB so that's not an
issue. The kernel is copied to vmlinuz-version (or vmlinux-version on
PPC, don't ask me why) and symlinked to vmlinuz. The previous kernel is
symlinked to vmlinuz.old. As long as your GRUB menu has entries for these
two names, you'll always be able to choose between your new and previous
kernel when booting, without even having to edit /boot/grub/menu.lst.
--
Neil Bothwick
MS-DOS: if you believe in a flat Earth, this is the OS for you.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
2006-09-15 23:19 ` Neil Bothwick
@ 2006-09-16 5:41 ` darren kirby
0 siblings, 0 replies; 9+ messages in thread
From: darren kirby @ 2006-09-16 5:41 UTC (permalink / raw
To: gentoo-user
quoth the Neil Bothwick:
>
> Yes I can. I believe it runs lilo is lilo is present, because you need to
> re-run lilo when installing a new kernel, but I use GRUB so that's not an
> issue. The kernel is copied to vmlinuz-version (or vmlinux-version on
> PPC, don't ask me why) and symlinked to vmlinuz. The previous kernel is
> symlinked to vmlinuz.old. As long as your GRUB menu has entries for these
> two names, you'll always be able to choose between your new and previous
> kernel when booting, without even having to edit /boot/grub/menu.lst.
Great, thanks...
I'll give it a try next time.
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-09-16 5:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-15 17:53 [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory Steven G Wagner
2006-09-15 18:14 ` Bruno Lustosa
2006-09-15 18:57 ` Steven G Wagner
2006-09-15 19:42 ` Mick
2006-09-15 19:53 ` Norman Rieß
2006-09-15 20:02 ` Neil Bothwick
2006-09-15 22:26 ` darren kirby
2006-09-15 23:19 ` Neil Bothwick
2006-09-16 5:41 ` darren kirby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox