On Sun, 21 Feb 2021 13:23:51 +0100 Thomas Seeling <thomas.seel...@gmx.net> wrote:
> Hallo, > > > Do I understand correctly that the main question is "which > > grub.cfg will be used by grub at next reboot after running > > grub-install"? Or is there more? > > basically yes, but no ;). I want to know where I came from, not > where I'm going to. If I use "grub-install" I know the grub.cfg > from the current patition is being used at the next reboot. I want > to know which grub.cfg was used to get to the currently running > instance of my OS. > The last "grub-install" determines which one is used. What you are asking is mute in that if you use a boot partition and install grub "once" Then all that is needed is modifying the grub boot menu and copying the kernel to the boot partition. The path then taken to boot the computer is the same, except the root partition and which kernel to load. Still don't understand what it is you are trying to accomplish. -- March 5, 1836: God Created Men, Samuel Colt Made Them Equal -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style