On 2/17/21 3:56 PM, Scott Andrews wrote:
On Wed, 17 Feb 2021 22:04:06 +0100
Thomas Seeling <thomas.seel...@gmx.net> wrote:

Hallo,


is it possible to query the "breadcrumb" of a grub boot process?

Say I have multiple partitions, e.g. /dev/sda1, /dev/sda5, /dev/sda6,
with different LFS versions.

When booting grub chooses grub.cfg from the partition that ran the
last grub-install command (e.g. /dev/sda1).

But: if I choose manually to boot from e.g. /dev/sda5, it would still
have used the grub.cfg from /dev/sda1, and if I wanted to change boot
parameters I'd have to edit /dev/sda1 grub.cfg.

Is there a query function that I can use to find out how my system got
bootstrapped?

stay healthy,
Thomas
--
Do you wanna be a legend or a passing footprint on the sands of time?

Use a single boot partition and install grub to use that.
Then copy the kernel from each partition to into the boot partition.
Edit the grub menu.

Yes, See the Caution at http://www.linuxfromscratch.org/lfs/view/development/chapter10/kernel.html

For multiple instances, this is a much cleaner solution.

Also see http://www.linuxfromscratch.org/lfs/view/development/chapter02/creatingpartition.html where we recommend a separate /boot partition.

  -- Bruce
--
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

Reply via email to