From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N4NNx-0004RI-Qe for garchives@archives.gentoo.org; Sat, 31 Oct 2009 23:29:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0DD4E0B51; Sat, 31 Oct 2009 23:29:27 +0000 (UTC) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by pigeon.gentoo.org (Postfix) with ESMTP id 83448E0B51 for ; Sat, 31 Oct 2009 23:29:27 +0000 (UTC) Received: by pxi38 with SMTP id 38so2526345pxi.10 for ; Sat, 31 Oct 2009 16:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MG5vaoWFAA/X5ShPLol3H28pXP4DMVZNyI7q/7bVPqw=; b=EO5YC7BfOkIkpCUH36sF2ni4mEmXOd/iRAlCUaPFV/2UCxx6aID7JGQrg8YC1obPiB dIdzsfFsCx02QAOtJM9LuUmOz/3gwZPi6y4OKdxV407wQgjW3mHQjqYN6DaqvfK6b3aB XEYrsXJh6q+QNHT+RstZ+RI2RKoWAqtUwk0hU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GsQ6gS0CTrfFL5tGm/M8sE2e7WsDI6+8FQppClsBpQi4KDiEE59AMtu/PKCoHY/dRn EiQA1FzcRBlf/9iMgjRbAb/VW+bhMgbkCNpy5tZEkQSoWJwm5Nh+SrY3iKeKctWtKBpd J78D5SO135hL+caXYaD75R7WFVVbJeXGylMkQ= 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 Received: by 10.142.59.5 with SMTP id h5mr297067wfa.107.1257031767114; Sat, 31 Oct 2009 16:29:27 -0700 (PDT) In-Reply-To: <200911010020.57136.alan.mckinnon@gmail.com> References: <87hbtfo68r.fsf@newsguy.com> <4AECAB89.6020909@gmail.com> <200911010020.57136.alan.mckinnon@gmail.com> Date: Sat, 31 Oct 2009 16:29:27 -0700 Message-ID: <5bdc1c8b0910311629j5e289aa6ua87837515d859d19@mail.gmail.com> Subject: Re: [gentoo-user] Kernel upgrading and linux symlink From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 01f6e010-2cc2-4bf0-9c4e-98be418c7609 X-Archives-Hash: bb9b7335d22f283c874b979e2ce4bd8d On Sat, Oct 31, 2009 at 3:20 PM, Alan McKinnon wr= ote: > On Saturday 31 October 2009 23:26:33 Dale wrote: >> Denis wrote: >> > On Sat, Oct 31, 2009 at 12:52 PM, Harry Putnam wr= ote: >> >> And in fact does it really matter if its pointing at the newly >> >> installed or actual running kernel, when kernel compiling operations >> >> take place? >> > >> > When I upgrade a kernel, I first change the symlink using eselect to >> > point to the source I'm about to install. =C2=A0Then, after I configur= e and >> > compile the kernel, I use the "module-rebuild rebuild" to rebuild any >> > kernel modules against the new source. =C2=A0Move the bzImage to /boot= , >> > reboot, and that's it. =C2=A0I don't know how genkernel changes any of= this >> > - I use manual menuconfig. >> >> I'm about the same. =C2=A0I update the symlink, build the kernel, update >> nvidia-drivers against the new kernel before I forget, copy bzImage to >> /boot and edit grub. =C2=A0I reboot when I get the chance. > > I'm a forgetful old git. In my world it usually goes like this: > > emerge, build, install new kernel > carry on with work > boot into new kernel at some later point > observe xdm doing nothing on-screen > curse and swear mightily > Ctrl-Alt-F1 > login as root > check symlink > module-rebuild rebuild > modprobe -r nvidia && modprobe nvidia > /etc/init.d/xdm restart && logout > > takes about 6 minutes total, 6 minutes that I'll never get back :-) > > -- > alan dot mckinnon at gmail dot com So I think this thread addresses a question I've had about the kernel installation process over the years. I only copy bzImage to /boot with a rename to whatever this kernel is. I don't do anything with the other files - System.map and something else - which I don't even have on most of my systems anymore. They don't seem to be needed. Are they just things used in the old days but now too outdated or replaced by other stuff? (Like config.gz in the kernel, etc.) Thanks, Mark