Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Duel boot - How to verify boot loader updates?
Date: Fri, 09 Dec 2022 10:55:14
Message-Id: 8153803.T7Z3S40VBb@lenovo.localdomain
In Reply to: [gentoo-user] Duel boot - How to verify boot loader updates? by Mark Knecht
1 On Thursday, 8 December 2022 20:55:30 GMT Mark Knecht wrote:
2 > Hi,
3 > This is a bit of a conceptual question, simplified but based on a
4 > machine I do own, from someone who knows very little about boot loader
5 > implementations. (I.e. - me) Thanks in advance for any pointers you can
6 > provide.
7 >
8 > Assume a machine with two separate M.2 SSDs. The M.2 devices are
9 > identical in size and from the same manufacturer. For the sake of
10 > discussion they are partitioned identically and they both have the same
11 > distro installed. One is stable, the other is bleeding edge. For simplicity
12 > there are no other disk drives involved in either installation. Both
13 > installs have the same boot loader, grub2 I guess, and both have
14 > configurations that boot themselves by default but offer the other drive as
15 > a second option.
16 >
17 > Assume the bleeding edge system (or the other - it doesn't matter to me)
18 > gets a grub2 update, and further assume the update is either automatic or
19 > done by someone other than yourself. Whoever did the updates 'tests' the
20 > machine by booting into both versions, and both versions are tested as
21 > default in BIOS so that no matter what everything appears to be working.
22 >
23 > THE QUESTION: After the fact, if I wanted to look at the two
24 > installations in detail, how would I determine that the grub update was
25 > done to the installation doing the update and not done to the other
26 > (nearly) identical installation?
27 >
28 > Thanks in advance,
29 > Mark
30
31 Once booted into one of the OSs you could run something like 'eix -l grub' or
32 'emerge --search grub' to see which version has been installed. I don't
33 recall there being a GRUB filesystem specific pointer as to what version it is
34 when just looking at the installed GRUB files.
35
36 To check the GRUB version of the second OS without booting into it, you can
37 grep for grub in its /var/log/emerge.log

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Duel boot - How to verify boot loader updates? Arve Barsnes <arve.barsnes@×××××.com>