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 1SCZdC-0006OQ-Mz for garchives@archives.gentoo.org; Tue, 27 Mar 2012 16:52:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA8CE0782; Tue, 27 Mar 2012 16:52:10 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id CAB5AE059B for ; Tue, 27 Mar 2012 16:50:01 +0000 (UTC) Received: by bkwj4 with SMTP id j4so91853bkw.40 for ; Tue, 27 Mar 2012 09:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LAzYiWyMh/Z1jPq4nOb2y5NCqH9ZfiA+ILp8o//13dE=; b=nWxWGqufOz15LCV1RksLkrNRwS048wINcRTxG/gsi89ZQRFrQgYim0BZCcJhXmUXkU 22/l7l/67ySGKzGI0KxZI7KTCULGd6F+/7EYhP1+DuOCt0ZQXXRreuTN8CHRC72yEe8m QRzB/99ImH03guc9MDIpctdLCv74DyDK2V/77OqMRfvEOJby/MnXxeGy71OlxumQu4Lb MX9Z1ZQywcGXoGIuAurlxMbm+xHCWKo3XROBPqx7GFVUZYA/GVwSRBkO6A2yQ7OYJpAJ 05MO5whOcEssovmdHHW0dnUg2sZh1e/3lhyGDb1SMYvWFAPPXYegi63MquBasFzF2wMV xfFA== 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.205.132.145 with SMTP id hu17mr10645707bkc.66.1332867000859; Tue, 27 Mar 2012 09:50:00 -0700 (PDT) Received: by 10.204.164.76 with HTTP; Tue, 27 Mar 2012 09:50:00 -0700 (PDT) In-Reply-To: <4F71E865.30800@hadt.biz> References: <1332844604.4130.0@numa-i> <4F71BE44.3080206@kutulu.org> <4F71E865.30800@hadt.biz> Date: Tue, 27 Mar 2012 12:50:00 -0400 Message-ID: Subject: Re: [gentoo-user] InitRAMFS - boot expert sought From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: c0fb7ebb-0d95-4db4-9dd6-5773e806f1c1 X-Archives-Hash: d2f56fa0853f9aa3e0873511cfcd9e19 On Tue, Mar 27, 2012 at 12:18 PM, Michael Hampicke wrote: >> Dracut is masked on ~amd64. Bugs me, as I'd rather use something like >> that than genkernel (I very much like building my own kernels; it >> helps me keep things lean, and keeps me familiar with the capabilities >> of current and future systems). But now I have to find time to learn >> how to use Genkernel. > > I don't understand why people always say that they hate genkernel > because they like to build the kernel on their own. You still can do > this with genkernel. I've been doing it for years. > > This is my workflow after I merged a new kernel > > # copy old config to new kernel sources > % zcat /proc/config.gz > /usr/src/linux/.config > > # enter source dir > % cd /usr/src/linux > > # run make oldconfig (help you keep things lean, keeps you familiar with > the capabilities of current and future systems.....) > % make oldconfig > > # compile kernel and modules, generate initrd, install to /boot and > /lib/modules, create symlinks in /boot > % genkernel all > > # recompile 3rd party modules > % module-rebuild rebuild > > You just have to tell genkernel not to "make mrproper" in > /etc/genkernel.conf - so that it actually uses your kernel config, and > in essence, let's you "build your own kernel". I also tell genkernel not > to run "make clean" - for a faster recompile if I have changed my kernel > config. > > I love genkernel, it just makes life so much easier, you don't have > enter every command manually. And still keeps it the gentoo-way: you can > configure everything so that it does exactly what you wan't. > > Just take a look at /etc/genkernel.conf > genkernel can do even more stuff for you. > For example include a copy of /etc/mdadm.conf into your initramfs so > that the initramfs can mount your software raid (even with metadata > higher than 0.90 :) - this is where the kernel raid auto assembly fails). > Or enable a splash theme for a graphical boot - if you like that sort of > thing. > > I'm sure you're gonna love it to after you have used it for some time. Sounds useful. At least parts of your workflow belong in the gentoo installation guide... -- :wq