From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: /etc/fstab rootfs options vs grub2 rootflags cmdline
Date: Wed, 4 May 2016 18:34:19 +0000 (UTC) [thread overview]
Message-ID: <pan$b7a2d$25647256$6ea52b4$e3976a4a@cox.net> (raw)
In-Reply-To: CAJCQCtQ5q_VUw0rCWWRZBFo=Lhx0ouYeuCDMxDLxcWKowUwbUw@mail.gmail.com
Chris Murphy posted on Wed, 04 May 2016 12:07:39 -0600 as excerpted:
> If you think it's worth the hassle, then you have to directly modify the
> grub.cfg to include an expanded rootflags parameter. Right now
> grub-mkconfig logic doesn't not include all options in fstab for
> rootflags.
And...
That might explain why his grub2 behavior didn't match what I expected.
Here, I entirely did away with the high-level grub config machinery like
grub-mkconfig (to the point I install-mask some of the files so they
don't get installed and thus can't accidentally be run, by some third
party configuration script or something, and mess up my direct config)
and I strictly do direct editing of the actual grub.cfg (and included
files) in grub's native shell-like script.
I tend to forget that grub has this entire higher level config machinery
that most people use, but that wasn't configuring grub the way I wanted,
and that I'd have to learn IN ADDITION to the low-level scripting in
ordered to get grub to do what I wanted, if I was to continue to use the
high-level stuff at all. Problem solved locally by simply deleting and
masking the high-level stuff so it doesn't install, so I had to learn
only the low-level script config, but that doesn't help me remember that
few others will be doing that, and that the high-level stuff even exists.
So, umm, yeah, I was envisioning editing the low-level grub.cfg script
file directly. If he's editing the higher level config and running grub-
mkconfig or whatever to attempt to apply it to the lower level, then yes,
that high level machinery could apply something entirely different than
what I envisioned at the lower level, that of course being the major
reason I use exclusively the lower level scripting language config stuff,
here.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2016-05-04 18:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 9:46 /etc/fstab rootfs options vs grub2 rootflags cmdline Niccolò Belli
2016-05-04 11:40 ` Duncan
2016-05-04 13:52 ` Niccolò Belli
2016-05-04 15:54 ` Duncan
2016-05-04 16:31 ` Andrei Borzenkov
2016-05-04 18:07 ` Chris Murphy
2016-05-04 18:34 ` Duncan [this message]
2016-05-04 19:28 ` Chris Murphy
2016-05-04 18:56 ` Austin S. Hemmelgarn
2016-05-04 17:58 ` Chris Murphy
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='pan$b7a2d$25647256$6ea52b4$e3976a4a@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).