From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 270A81381FA for ; Mon, 12 May 2014 14:50:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58729E0B2B; Mon, 12 May 2014 14:50:51 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2479EE0B1A for ; Mon, 12 May 2014 14:50:49 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id gl10so2015188lab.18 for ; Mon, 12 May 2014 07:50:48 -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=42U82xykmbcVEqASIpC+4PZN9SJfYFo5mNrLQHAiiVI=; b=ChNzsXlL3O/07FuYlk4X2o8MwKAJ3Q7SIWniMn/dYg6bGVtfLqDKaNbxXUGHLAYtrN abJByqqQvXIkeWzAipg4bLgh3LOUmO4T2SWd9YpJiBN5pE9zzD80dzV/dhennmfjuH7F x/Cb68IWe/OtlDYkZDNDbtz9emqFB3MvxVrkI3d1MzGy8/EX6ggvNR6afDyu3d/J6E3/ YhsYviavRYQ0jNfQ/VJB1rj6/FnZkCq15+zUrjZ2GO/Nqb9pgBunNYwAQfg4qktAN7vW gZjTBQG9JEdKTqVaMgQM87W/7vJpwQOiIprbi1Y/1Li5ci/kAaDHbn7wkuEyG5XT9WWh PWtQ== 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 X-Received: by 10.152.43.135 with SMTP id w7mr7130870lal.32.1399906248431; Mon, 12 May 2014 07:50:48 -0700 (PDT) Received: by 10.112.54.138 with HTTP; Mon, 12 May 2014 07:50:48 -0700 (PDT) In-Reply-To: <17435.1399889735@ccs.covici.com> References: <23736.1399879340@ccs.covici.com> <17435.1399889735@ccs.covici.com> Date: Mon, 12 May 2014 08:50:48 -0600 Message-ID: Subject: Re: [gentoo-user] problems getting systemd to work From: =?UTF-8?Q?Jc_Garc=C3=ADa?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 858bf4c9-5fa4-4a35-bd2e-0f72c68c8b04 X-Archives-Hash: 9565e115f9eacbb911cd27eb6835bacf 2014-05-12 4:15 GMT-06:00 : > How can I do this, genkernel looks for its init before it mounts /usr > and genkernel-next will not mount the separate /usr at all. My latest > initrd is from the very latest genkernel. > > But how to get a complete history of systemd actions in the order that > they are done, I thought the confirm_spawn would do this for me -- at > least for my initial debugging. > I have had this trouble too, and a very similar setup than you, and after a few workarounds I got to boot with a genkernel and a dracut generated initramfs, so it can be done both ways, but i would recommend dracut, since is more straight forward in practice, and you can setup once and then just generate initramfs that surely will work. The most important part is your kernel boot comand line, giving instructions so your system specific lvm volumes (root, usr and var if separated). mine looks like this "rd.lvm rd.lvm.vg=gentoovg rd.lvm.lv=gentoovg/root rd.lvm.lv=gentoovg/usr root=/dev/mapper/gentoovg-root ccinit=/usr/lib/systemd/systemd quiet" A little too long in my opinion, but works, and the rd.lvm.lv parts result redundant if rd.lvm.vg is already set, i think, it worked when I tested, but I kept the redundancy just in case. this can be setup in sevaral ways, directly when compiling the kernel, using dracut the config file, or the bootloader, I used dracut since I wanted to centralize the boot process configuration as much as possible. Also be sure that the lvm binaries are included in the initramfs, if you will be using dracut you would need to add to /etc/dracut.conf: use_fstab="yes" host_cmdline="yes" kernel_cmdline="your_cmd_line"