From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problems getting systemd to work
Date: Mon, 12 May 2014 12:22:19 -0400 [thread overview]
Message-ID: <11985.1399911739@ccs.covici.com> (raw)
In-Reply-To: <CAGQH77f7cujRB17=j7Xq203qqpVWkUAXV-5CQS19B69k7oAPYg@mail.gmail.com>
Jc García <jyo.garcia@gmail.com> wrote:
> 2014-05-12 4:15 GMT-06:00 <covici@ccs.covici.com>:
>
> > 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"
My kernel command line is like this:
init=/linuxrc ramdisk=8192 real_root=/dev/mapper/linux--files-64--root
udev video=uvesafb:1280x1024 speakup.synth=spkout vmalloc=256M dolvm
rootfstype=ext4 real_init=/sbin/systemd systemd.confirm_spawn=yes
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.
--
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
next prev parent reply other threads:[~2014-05-12 16:22 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 7:22 [gentoo-user] problems getting systemd to work covici
2014-05-12 7:53 ` Canek Peláez Valdés
2014-05-12 10:15 ` covici
2014-05-12 14:50 ` Jc García
2014-05-12 16:22 ` covici [this message]
2014-05-12 20:10 ` Jc García
2014-05-12 22:45 ` covici
2014-05-13 3:46 ` covici
2014-05-13 12:17 ` Stefan G. Weichinger
2014-05-13 12:29 ` covici
2014-05-13 12:35 ` Stefan G. Weichinger
2014-05-13 13:18 ` covici
2014-05-13 13:35 ` Jc García
2014-05-13 13:53 ` covici
2014-05-13 13:02 ` Jc García
2014-05-13 13:16 ` Jc García
2014-05-13 13:43 ` covici
2014-05-13 14:15 ` Jc García
2014-05-12 15:29 ` Canek Peláez Valdés
2014-05-12 16:31 ` covici
2014-05-12 16:37 ` Canek Peláez Valdés
2014-05-12 16:52 ` covici
2014-05-12 17:01 ` Canek Peláez Valdés
2014-05-14 9:40 ` covici
2014-05-14 14:41 ` Jc García
2014-05-14 23:18 ` wraeth
2014-05-14 9:43 ` covici
2014-05-14 12:38 ` Jc García
2014-05-14 14:44 ` Canek Peláez Valdés
2014-05-14 15:05 ` covici
2014-05-14 15:33 ` Canek Peláez Valdés
2014-05-14 15:42 ` covici
2014-05-14 15:46 ` Jc García
2014-05-14 15:51 ` Canek Peláez Valdés
2014-05-14 15:55 ` Jc García
2014-05-14 16:18 ` Canek Peláez Valdés
2014-05-14 16:38 ` covici
2014-05-14 17:01 ` Stefan G. Weichinger
2014-05-14 16:40 ` Jc García
2014-05-14 22:26 ` covici
2014-05-15 6:18 ` Canek Peláez Valdés
2014-05-15 6:47 ` Canek Peláez Valdés
2014-05-15 9:48 ` covici
2014-05-15 18:13 ` Canek Peláez Valdés
2014-05-15 11:50 ` covici
2014-05-15 12:16 ` Stefan G. Weichinger
2014-05-15 12:38 ` covici
2014-05-15 12:44 ` Stefan G. Weichinger
2014-05-15 13:27 ` Jc García
2014-05-15 13:14 ` Jc García
2014-05-15 9:39 ` covici
2014-05-15 9:59 ` Stefan G. Weichinger
2014-05-15 10:19 ` covici
2014-05-15 12:02 ` Stefan G. Weichinger
2014-05-15 12:27 ` covici
2014-05-15 18:23 ` Canek Peláez Valdés
2014-05-15 18:25 ` Stefan G. Weichinger
2014-05-15 20:38 ` covici
2014-05-15 22:01 ` Stefan G. Weichinger
2014-05-16 0:43 ` covici
2014-05-16 9:42 ` Canek Peláez Valdés
2014-05-16 10:53 ` covici
2014-05-16 12:42 ` Stefan G. Weichinger
2014-05-16 17:01 ` Canek Peláez Valdés
2014-05-16 17:17 ` covici
2014-05-16 17:41 ` Canek Peláez Valdés
2014-05-16 18:11 ` covici
2014-05-16 18:28 ` Canek Peláez Valdés
2014-05-16 18:33 ` covici
2014-05-16 12:46 ` covici
2014-05-16 17:02 ` Canek Peláez Valdés
2014-05-15 14:14 ` Tom H
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11985.1399911739@ccs.covici.com \
--to=covici@ccs.covici.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox