From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LTU75-00056I-Id for garchives@archives.gentoo.org; Sun, 01 Feb 2009 04:39:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0777E04A7; Sun, 1 Feb 2009 04:39:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AF1E5E04A7 for ; Sun, 1 Feb 2009 04:39:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 596A464425 for ; Sun, 1 Feb 2009 04:39:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.56 X-Spam-Level: X-Spam-Status: No, score=-3.56 required=5.5 tests=[AWL=0.039, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2-WdwNRZNhC for ; Sun, 1 Feb 2009 04:39:05 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4B8916439E for ; Sun, 1 Feb 2009 04:39:04 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LTU6k-0005yI-Kl for gentoo-user@gentoo.org; Sun, 01 Feb 2009 04:38:58 +0000 Received: from pool-173-71-204-106.clppva.fios.verizon.net ([173.71.204.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Feb 2009 04:38:58 +0000 Received: from en.ABCD by pool-173-71-204-106.clppva.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Feb 2009 04:38:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: ABCD Subject: [gentoo-user] Re: When did bzImage move? Date: Sat, 31 Jan 2009 23:38:48 -0500 Message-ID: References: <49850BBC.9060302@gmail.com> <200902010402.18188.volkerarmin@googlemail.com> <4985186C.2040001@gmail.com> <200902010442.07025.volkerarmin@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-71-204-106.clppva.fios.verizon.net User-Agent: Thunderbird 2.0.0.19 (X11/20090106) In-Reply-To: <200902010442.07025.volkerarmin@googlemail.com> X-Enigmail-Version: 0.95.7 Sender: news X-Archives-Salt: 099e993e-20ac-4325-a294-600ca860ebd9 X-Archives-Hash: 71f0f2a1804e1f60a5599b84a3dedb03 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Volker Armin Hemmann wrote: > Dale wrote: >> Volker Armin Hemmann wrote: >>> Dale wrote: >>>> I like to copy mine manually. I dunno, I just do. I'm weird that way. >>>> I also have a unique way of naming my kernels so I can keep up with >>>> which is which. >>> well, you can always put the name in the config - and let make install do >>> the copy. That way you get a nice vmlinuz symlink to the latest kernel >>> and vmlinuz.old to the older one - and you never have to touch grub.conf >>> again. >> But that would only allow you to have two kernels laying around. Right >> now I have these: >> > > no, you can have as many kernels as you want. But there is a vmlinuz symlink > to the latest and vmlinuz.old symlink to the previous installed one. > To be precise, the config option CONFIG_LOCALVERSION appends a string to the end of the kernel version, which installkernel uses to place the kernel image. If /boot/vmlinuz exists, then it is moved to /boot/vmlinuz.old, and a *symlink* from /boot/vmlinuz is created to "vmlinuz-${VERSION}". If /boot/vmlinuz did *not* exist before installation, then no symlink is created. installkernel also copies your .config to /boot/config-${VERSION}, performing the same move and symlink operation. In addition, if you *do* install the same kernel version twice, it will move your old version out of the way (to vmlinuz-${VERSION}.old) first, so even if you do forget to update your .config, you will still have both kernels. To see exactly what "make install" does, read /sbin/installkernel (a /bin/sh script), as that's all `make install` calls (well, it first checks for ~/bin/${CROSS_COMPILE}installkernel, and calls it, if it exists, which allows you to customize the installation process). Personally, I will set CONFIG_LOCALVERSION to ".#" or "-r0.#" on a second+ compilation of the same kernel version. (My current kernel is 2.6.28-gentoo-r1.2). - -- ABCD -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmFJ1cACgkQOypDUo0oQOouMACcC6abA3gFvOZQbDB5dMnMBAMo D8MAnjr4MSrTG9KiC6cB6fodijrSWjK/ =6Bgu -----END PGP SIGNATURE-----