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 4B8331381FA for ; Mon, 12 May 2014 16:22:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62CE8E0B4C; Mon, 12 May 2014 16:22:23 +0000 (UTC) Received: from mail0131.smtp25.com (mail0131.smtp25.com [75.126.84.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B487E0AF9 for ; Mon, 12 May 2014 16:22:22 +0000 (UTC) Received: from ccs.covici.com (s-out-001.smtp25.com [67.228.91.90]) by d-out-001.smtp25.com (8.14.2/8.14.2) with ESMTP id s4CGMJMD018376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 12 May 2014 12:22:20 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.8) with ESMTP id s4CGMJBV011987 for ; Mon, 12 May 2014 12:22:19 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] problems getting systemd to work In-reply-to: References: <23736.1399879340@ccs.covici.com> <17435.1399889735@ccs.covici.com> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FQ=3FJc=5FGarc=3DC3=3DADa?= =?us-ascii?Q?=3F=3D?= message dated "Mon, 12 May 2014 08:50:48 -0600." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 12 May 2014 12:22:19 -0400 Message-ID: <11985.1399911739@ccs.covici.com> From: covici@ccs.covici.com X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-s4CGMJMD018376 X-Archives-Salt: 3adde003-54e8-4888-9d5b-d2dbe6191677 X-Archives-Hash: b3be0abf4f34531bc12188d4a6d8b663 Jc Garc=C3=ADa wrote: > 2014-05-12 4:15 GMT-06:00 : >=20 > > 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. > > >=20 > 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=3Dgentoovg rd.lvm.lv=3Dgentoovg/root > rd.lvm.lv=3Dgentoovg/usr root=3D/dev/mapper/gentoovg-root > ccinit=3D/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: >=20 > use_fstab=3D"yes" > host_cmdline=3D"yes" > kernel_cmdline=3D"your_cmd_line" My kernel command line is like this: init=3D/linuxrc ramdisk=3D8192 real_root=3D/dev/mapper/linux--files-64--root udev video=3Duvesafb:1280x1024 speakup.synth=3Dspkout vmalloc=3D256M dolvm rootfstype=3Dext4 real_init=3D/sbin/systemd systemd.confirm_spawn=3Dyes I thought the dolvm would take care of all lvm related stuff, I don't understand the rd.lvm parts at all, I have never seen such. --=20 Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com