From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub2-common: grub.cfg gains wrong root settings for multi-OS system
Date: Sun, 23 Apr 2017 12:10:15 -0500 [thread overview]
Message-ID: <58FCDFF7.9030203@gmail.com> (raw)
In-Reply-To: <4d48cdcb-78aa-b1da-054f-2a50463a8995@gmail.com>
Andrei Borzenkov wrote:
> 23.04.2017 08:43, Ralph Ronnquist пишет:
>> For all installs, I made it mount /dev/sda1 at /boot but only the
>> first install formatted it.
>
> Shared /boot never worked reliably. With or without grub. Sorry.
It works perfectly if you don't use grub-mkconfig. For those using
multiple kernels/partitions, grub.config can be quite simple to maintain
with an editor.
http://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html
That page shows a 7 line grub.cfg. For a new system you only need to add:
menuentry "New title" {
linux /<kernel-name> root=/dev/<partition> ro
}
An initrd line is only needed if you need an initial ram disk.
You do need to keep a backup as distros always want to overwrite grub.cfg
by running grub-mkconfig.
-- Bruce
prev parent reply other threads:[~2017-04-23 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 5:43 grub2-common: grub.cfg gains wrong root settings for multi-OS system Ralph Ronnquist
2017-04-23 16:50 ` Andrei Borzenkov
2017-04-23 17:10 ` Bruce Dubbs [this message]
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=58FCDFF7.9030203@gmail.com \
--to=bruce.dubbs@gmail.com \
--cc=grub-devel@gnu.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).