From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 460141381F3 for ; Thu, 22 Aug 2013 21:08:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81B32E0CDD; Thu, 22 Aug 2013 21:08:50 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70A95E0B6C for ; Thu, 22 Aug 2013 21:08:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 598E4123E9 for ; Thu, 22 Aug 2013 23:08:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1377205727; bh=SrsUFupxwKoXRMXnzReRzSYSPDcUrj9YGRBU9EpSNFw=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=h5Bva1pc9VxCpYFYXjl/jZw2LsM8Zxzqjgn0opA2jfk0YtA9JeTOkAWUb+fi8TDU7 JzwNFQKtok09O+YV3/MfyJdzzQE4yDTArfm2sIPRwNmDpj0zeNetAqfqrsj1HhcHgY 85zYi4sdFBz/fMZJHyHcyHKNVwskGpiH+t03Tp74= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 11888-01 for ; Thu, 22 Aug 2013 23:08:45 +0200 (CEST) Received: from hiro.oops.intern (unknown [IPv6:2001:15c0:65ff:8742:55eb:229b:8c9f:b74e]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id 6C7E7123E4 for ; Thu, 22 Aug 2013 23:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1377205725; bh=SrsUFupxwKoXRMXnzReRzSYSPDcUrj9YGRBU9EpSNFw=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=1B7pQn8QRPjofIRwyMjJxGGlvCc3HdSW1ENpDmCgZfUgQ5ma1PtxUxUANokNiO4ib Mri7vXmlVD7eVX1X8QgmQ2Ia2eI/JPaZfk1HK4awuw6iL9GfnhSPGlqMxg3Yo4SZ4V MEJpIY9FUsrLHNpj4VoVl4T1Dst9cvrgrmlxajbA= Message-ID: <52167DDB.6060706@xunil.at> Date: Thu, 22 Aug 2013 23:08:43 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130807 Thunderbird/17.0.8 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd and initramfs References: <1376906298.2367.3@numa-i.igpm.rwth-aachen.de> <1376981069.12493.3@numa-i.igpm.rwth-aachen.de> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: 57fd2e18-0b5b-4361-8743-9dd71acecb38 X-Archives-Hash: 99baa7a6891c33c2814d4d208b6a6db1 Am 20.08.2013 08:54, schrieb Canek Peláez Valdés: > Unless you want to learn the ins and outs of using an initramfs (and > having a lot of fun and failed boots in the process), I highly > recommend using Dracut. It does everything for you. I'd dig a short and working howto "systemd and dracut". My approach in the last weeks/months was a mixed one (which is nearly always bad): I ran genkernel to compile kernel and modules ... additionally generated initramfs with a quick-and-dirty-script hacked by myself (it uses dracut) ... and then executed grub2-mkconfig to update my grub2-config. This works so far ... until yesterday when my thinkpad didn't boot correctly anymore with the gentoo-sources-based kernel/initramfs 3.10.9 (interesting: my desktop worked out fine with the same sources ... the config might be a bit different). I found that the genkernel-based grub2-entry (with the initramfs generated via genkernel) didn't create /dev/shm anymore .. leading to various things failing. Another grub2-entry pointing to the dracut-based initramfs works fine. Cool. So I have to get rid of genkernel, right? At least for now. Additionally I would really like to understand how to influence the default entry for grub2 ... letting grub2-mkconfig detect the available options is one thing ... but do I really have to count down the available kernels and edit the number? I would prefer to be able to explicitly select my default kernel by editing some file and for example choose "3.10.9" somewhere ... Stefan