From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F9qdq-0007KD-5V for garchives@archives.gentoo.org; Thu, 16 Feb 2006 21:26:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1GLKTQC013684; Thu, 16 Feb 2006 21:20:29 GMT Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.247.4]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1GL49Pd000044 for ; Thu, 16 Feb 2006 21:04:09 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by smtp13.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IUS008BHT6XYR@smtp13.wxs.nl> for gentoo-user@lists.gentoo.org; Thu, 16 Feb 2006 22:04:09 +0100 (CET) Date: Thu, 16 Feb 2006 22:03:48 +0100 From: Holly Bostick Subject: Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo In-reply-to: To: gentoo-user@lists.gentoo.org Message-id: <43F4E8B4.6030906@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5 (X11/20060206) X-Enigmail-Version: 0.94.0.0 References: X-Archives-Salt: 8692cd9a-df2c-4633-939c-b4405d58afb7 X-Archives-Hash: 800eca058daee1e4d5c2916a6d97576e Michael Kintzios schreef: > >> -----Original Message----- From: Neil Bothwick >> [mailto:neil@digimed.co.uk] Sent: 16 February 2006 16:10 To: >> gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: >> Problems with GRUB in the installation of Gentoo >> >>>> make install does exactly the same, and sets up the vmlinuz and >>>> vmlinuz.old symlinks to point to your new and previous kernel >>>> respectively, so you don't need to edit grub.conf. >>> Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz, >>> System.map and config links. >>> >>> Do I have to first set up the symlinks manually? >> Looking as /sbin/installkernel, it doesn't appear that you have to >> create the links. Of course, you do have to make sure /boot is >> mounted first :) > > Yep, /boot is always mounted (just to be sure I won't forget it, I > always mount it before I even cd into /usr/src/linux). Running make > && make modules_install does *not* create any links in my /boot > directory, Neither make nor make modules_install is *supposed* to create any links in your /boot directory. Make compiles the kernel and static modules, make modules_install compiles the dynamic modules and installs them in /lib/modules/. This is why you then have to either copy the compiled kernel (and supplemental files like .config and system.map, if you want) to /boot. make install (which is a different command than make modules_install) does this automatically, and additionally makes symlinks called vmlinuz and vmlinuz.old (if a previous kernel exists), and updates lilo (if available). If you use grub, if grub.conf is set to load vmlinuz as the current kernel, and vmlinuz.old as the previous kernel, you don't then have to update grub in any way when you have used make install to install your newly-compiled kernel, because make install changes the symlink for the previous kernel to vmlinuz.old, and makes the symlink for the newly installed kernel vmlinuz. Kernels older than the current and most-recent-previous can be added manually to the menu directly. My impression is that you haven't yet run make install. HTH, Holly -- gentoo-user@gentoo.org mailing list