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

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to