From: Andrei Borzenkov <arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Nikolai Zhubr <n-a-zhubr-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [systemd-devel] Second (erroneous) check of rootfs?
Date: Sun, 11 Jan 2015 14:11:25 +0300 [thread overview]
Message-ID: <20150111141125.2d2c1f38@opensuse.site> (raw)
In-Reply-To: <54B253D6.9040306-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
В Sun, 11 Jan 2015 13:43:34 +0300
Nikolai Zhubr <n-a-zhubr-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org> пишет:
> >
> > Uh. Why not simply mount rootfs rw in initrd then?
>
> I'm not against generally. But it'd mean that this first mount is
> actually a real mount, the fs will start up in full. Then I'd suppose it
> is definitely a must to supply all necessary mount options (from fstab)
> at this stage already. I don't easily see how to do this currently, at
> least on my opensuse system.
>
By adding all needed options to rootflags="..." (modify
GRUB_CMDLINE_LINUX_DEFAULT and possibly GRUB_CMDLINE_LINUX_RECOVERY
in /etc/default/grub; you can use yast for it).
Otherwise it is functional gap between non-systemd and systemd
enabled dracut. Without systemd dracut will actually mount root
read-only, then fetch mount options from real root /etc/fstab and then
remount real root read-write using correct options. This all got lost
when converting to systemd.
next prev parent reply other threads:[~2015-01-11 11:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <54ADD119.2050906@yandex.ru>
[not found] ` <20150108004352.GA22800@gardel-login>
[not found] ` <54ADD98D.9080608@opensuse.org>
[not found] ` <54ADE3A1.6060107@yandex.ru>
[not found] ` <54ADE3A1.6060107-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
2015-01-08 2:23 ` [systemd-devel] Second (erroneous) check of rootfs? Cristian Rodríguez
2015-01-08 6:18 ` Andrei Borzenkov
[not found] ` <54AEA37D.8040008@gmail.com>
[not found] ` <20150108155548.GA23263@gardel-login>
[not found] ` <54AEAC69.9050801@gmail.com>
[not found] ` <20150108203046.6cb52b01@opensuse.site>
[not found] ` <54AEE948.4060308@gmail.com>
[not found] ` <54AFA59C.2040301@yandex.ru>
[not found] ` <CAPWNY8X2X=V2u46fLgvARDbiFws9VkgJVevpFs54FdnsgGcNVg@mail.gmail.com>
[not found] ` <CAJCQCtTpHAozdGuNXP2bSfB=+ooVLPHa0Bd0BjqU6J7eT2Wn1A@mail.gmail.com>
[not found] ` <54B12E5C.2060408@yandex.ru>
[not found] ` <20150111100908.75945b61@opensuse.site>
[not found] ` <54B253D6.9040306@yandex.ru>
[not found] ` <54B253D6.9040306-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
2015-01-11 11:11 ` Andrei Borzenkov [this message]
[not found] ` <20150111141125.2d2c1f38-stAJ6ESoqRzYCGPCin2YbQ@public.gmane.org>
2015-01-11 11:15 ` [systemd-devel] " Chris Murphy
[not found] ` <CAJCQCtS1tGwp4iELnNp8R3gHY=uS+HFnk_J7k_CUxNX3Ga6upQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-11 11:57 ` Andrei Borzenkov
2015-01-11 12:09 ` Chris Murphy
2015-01-21 13:09 ` Harald Hoyer
[not found] ` <54B26B1E.30900@yandex.ru>
2015-01-11 12:54 ` Andrei Borzenkov
2015-01-11 14:07 ` Nikolai Zhubr
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=20150111141125.2d2c1f38@opensuse.site \
--to=arvidjaar-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=n-a-zhubr-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org \
--cc=systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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