From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] boot problems
Date: Fri, 16 May 2014 12:09:07 -0500 [thread overview]
Message-ID: <CADPrc81E0qS1c2Gxrx30u03jfSY5Mg5gj-Lz23Z_XvsoVpxEiQ@mail.gmail.com> (raw)
In-Reply-To: <53760033.3040107@xunil.at>
On Fri, May 16, 2014 at 7:10 AM, Stefan G. Weichinger <lists@xunil.at> wrote:
> Am 16.05.2014 13:56, schrieb Bruce Schultz:
>
>>> I ask because in all my reorganizing furor I also thought that now
>>> with btrfs only I could get rid of "lvm mdraid" as dracut-modules.
>>> I can try ... ;-) (don't call me "ricer")
>>
>> If you have a multi-disk btrfs, I think you need to add the btrfs
>> dracut module. At least that's how I remember it, but its been a
>> while & my memory could be failing me, or it could well have changed
>> since then.
>
> I currently have in /etc/dracut.conf:
>
> add_dracutmodules+="bash systemd"
> hostonly="yes"
> hostonly_cmdline="yes"
>
> and am able to boot via grub2 and efi, that means,
>
> /boot/efi (vfat) on /dev/sda1 (sda is the SSD)
>
> and
>
> / as btrfs-subvol on /dev/sda2 (with /boot as directory on it).
>
> So no multi-disk btrfs for / or /boot on this machine.
>
> -
>
> removing "lvm mdraid" from dracut slimmed down the initrd from around
> 6.8 MB to 5.5 MB ... nice, but not necessary as Canek mentioned.
>
> I just "play" with it to learn and understand even better.
>
> I am not sure what the module "systemd" does or is good for, and
>
> https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#dracut.kernel
>
> does look scary and didn't tell me more about that module yet.
With the systemd module, dracut uses systemd as init. So you have your
initramfs, which executes systemd to setup the machine up until /usr
is mounted, and then that instance of systemd calls the instance of
systemd in the hard drive.
If you don't use the systemd module, your initramfs uses a custom init
script to mount /usr and similar stuff. It seems to work, but I trust
more systemd to do it, and I certainly prefer not to rely on any
script during boot up.
Also, for non-trivial setups, I'm sure systemd handles them better
that a custom init script; that's why I recommended John to use the
systemd module.
Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2014-05-16 17:09 UTC|newest]
Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 10:12 [gentoo-user] boot problems Stefan G. Weichinger
2014-05-03 10:27 ` J. Roeleveld
2014-05-03 10:33 ` Stefan G. Weichinger
2014-05-03 10:54 ` J. Roeleveld
2014-05-03 11:06 ` Stefan G. Weichinger
2014-05-03 11:14 ` J. Roeleveld
2014-05-03 10:28 ` Stefan G. Weichinger
2014-05-03 10:49 ` J. Roeleveld
2014-05-03 10:56 ` Stefan G. Weichinger
2014-05-03 11:05 ` J. Roeleveld
2014-05-03 11:12 ` Stefan G. Weichinger
2014-05-03 11:19 ` J. Roeleveld
2014-05-03 11:26 ` Stefan G. Weichinger
2014-05-03 11:37 ` J. Roeleveld
2014-05-03 13:46 ` Canek Peláez Valdés
2014-05-03 13:48 ` Stefan G. Weichinger
2014-05-03 13:59 ` Canek Peláez Valdés
2014-05-03 14:29 ` Stefan G. Weichinger
2014-05-03 15:08 ` J. Roeleveld
2014-05-03 15:10 ` Canek Peláez Valdés
2014-05-03 15:07 ` J. Roeleveld
2014-05-03 11:39 ` Stefan G. Weichinger
2014-05-03 12:03 ` J. Roeleveld
2014-05-03 12:09 ` Stefan G. Weichinger
2014-05-03 12:19 ` J. Roeleveld
2014-05-03 12:38 ` Stefan G. Weichinger
2014-05-03 18:43 ` J. Roeleveld
2014-05-03 12:08 ` Stefan G. Weichinger
2014-05-03 12:17 ` Todd Goodman
2014-05-03 12:23 ` J. Roeleveld
2014-05-03 13:08 ` Todd Goodman
2014-05-03 13:24 ` Stefan G. Weichinger
2014-05-03 12:27 ` Stefan G. Weichinger
2014-05-03 12:17 ` J. Roeleveld
2014-05-03 12:43 ` Stefan G. Weichinger
2014-05-03 12:52 ` J. Roeleveld
2014-05-03 12:55 ` Stefan G. Weichinger
2014-05-03 13:50 ` Canek Peláez Valdés
2014-05-03 13:57 ` Stefan G. Weichinger
2014-05-03 16:40 ` Stefan G. Weichinger
2014-05-03 16:51 ` Stefan G. Weichinger
2014-05-03 17:00 ` Stefan G. Weichinger
2014-05-03 17:25 ` Canek Peláez Valdés
2014-05-03 17:49 ` Stefan G. Weichinger
2014-05-03 18:30 ` Stefan G. Weichinger
2014-05-03 18:33 ` Canek Peláez Valdés
2014-05-03 18:37 ` Stefan G. Weichinger
2014-05-03 18:47 ` J. Roeleveld
2014-05-03 18:51 ` Stefan G. Weichinger
2014-05-03 18:56 ` J. Roeleveld
2014-05-03 19:00 ` Stefan G. Weichinger
2014-05-03 19:37 ` Canek Peláez Valdés
2014-05-03 18:30 ` Canek Peláez Valdés
2014-05-03 18:35 ` J. Roeleveld
2014-05-03 19:33 ` Canek Peláez Valdés
2014-05-03 19:38 ` Stefan G. Weichinger
2014-05-03 19:41 ` Canek Peláez Valdés
2014-05-03 19:53 ` Stefan G. Weichinger
2014-05-03 20:23 ` Stefan G. Weichinger
2014-05-03 20:46 ` Stefan G. Weichinger
2014-05-05 5:09 ` Canek Peláez Valdés
2014-05-05 6:18 ` Stefan G. Weichinger
2014-05-05 6:40 ` Canek Peláez Valdés
2014-05-15 6:21 ` Canek Peláez Valdés
2014-05-15 6:49 ` Canek Peláez Valdés
2014-05-15 7:08 ` Stefan G. Weichinger
2014-05-15 9:14 ` Stefan G. Weichinger
2014-05-15 9:58 ` covici
2014-05-15 10:00 ` Stefan G. Weichinger
2014-05-15 18:05 ` Canek Peláez Valdés
2014-05-15 18:27 ` Stefan G. Weichinger
2014-05-15 18:28 ` Stefan G. Weichinger
2014-05-15 18:33 ` Canek Peláez Valdés
2014-05-16 9:46 ` Stefan G. Weichinger
2014-05-16 10:04 ` Canek Peláez Valdés
2014-05-16 11:06 ` Alan McKinnon
2014-05-16 11:14 ` covici
2014-05-16 12:03 ` Neil Bothwick
2014-05-16 12:35 ` Stefan G. Weichinger
2014-05-16 12:43 ` Neil Bothwick
2014-05-16 13:03 ` Stefan G. Weichinger
2014-05-16 19:40 ` Neil Bothwick
2014-05-16 12:54 ` covici
2014-05-16 13:05 ` Stefan G. Weichinger
2014-05-16 14:01 ` covici
2014-05-16 12:13 ` Alan McKinnon
2014-05-16 20:01 ` Marc Joliet
2014-05-16 12:52 ` [gentoo-user] Re: LVM Stefan G. Weichinger
2014-05-16 19:50 ` [gentoo-user] boot problems Marc Joliet
2014-05-18 0:18 ` Walter Dnes
2014-05-19 10:54 ` Tanstaafl
2014-05-16 11:56 ` Bruce Schultz
2014-05-16 12:10 ` Stefan G. Weichinger
2014-05-16 17:09 ` Canek Peláez Valdés [this message]
2014-05-03 17:09 ` Peter Humphrey
2014-05-03 18:40 ` J. Roeleveld
2014-05-03 20:50 ` Peter Humphrey
2014-05-03 21:04 ` Stefan G. Weichinger
2014-05-04 8:53 ` Peter Humphrey
2014-05-04 9:15 ` Stefan G. Weichinger
2014-05-04 10:49 ` J. Roeleveld
2014-05-04 13:07 ` Stefan G. Weichinger
2014-05-04 18:40 ` J. Roeleveld
2014-05-04 19:03 ` Stefan G. Weichinger
2014-05-04 19:22 ` J. Roeleveld
2014-05-05 6:10 ` Stefan G. Weichinger
2014-05-05 6:52 ` J. Roeleveld
2014-05-05 7:09 ` J. Roeleveld
2014-05-05 7:48 ` Stefan G. Weichinger
2014-05-05 9:14 ` J. Roeleveld
2014-05-05 11:25 ` Stefan G. Weichinger
2014-05-05 12:27 ` J. Roeleveld
2014-05-05 14:12 ` [gentoo-user] Re: Qemu/KVM Stefan G. Weichinger
2014-05-05 19:20 ` J. Roeleveld
2014-05-05 7:50 ` [gentoo-user] boot problems Stefan G. Weichinger
2014-05-04 10:37 ` J. Roeleveld
2014-05-04 13:22 ` Peter Humphrey
2014-05-04 18:44 ` J. Roeleveld
2014-05-04 12:15 ` Neil Bothwick
2014-05-04 18:48 ` J. Roeleveld
2014-05-04 20:09 ` Neil Bothwick
2014-05-05 6:14 ` Stefan G. Weichinger
2014-05-05 6:54 ` J. Roeleveld
2014-05-05 9:02 ` Neil Bothwick
2014-05-05 8:54 ` Tom H
2014-05-03 12:52 ` Tom H
2014-05-03 13:26 ` Stefan G. Weichinger
2014-05-04 1:56 ` Mark Pariente
2014-05-04 9:01 ` Stefan G. Weichinger
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=CADPrc81E0qS1c2Gxrx30u03jfSY5Mg5gj-Lz23Z_XvsoVpxEiQ@mail.gmail.com \
--to=caneko@gmail.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