Skip to content

How can I get the /boot artifacts from a bootc container image? #493

Answered by cgwalters
mangelajo asked this question in Q&A
Discussion options

You must be logged in to vote

One big help here is that bootupd emphasizes fully static grub config files.

However, I am sure there are likely to be some things that may need changing here, because e.g.

"(hd0,gpt3)/loader/entries//ostree-1.conf\0"

That filename is in the general case dynamic, derived from what the boot ordering is. Very specifically, if one chooses the previous bootloader entry, then this will appear as e.g. ostree-2 and change the measurement. In some cases that may be desirable, i.e. it's a kind of rollback protection.

"(hd0,gpt2)/EFI/centos/bootuuid.cfg\0"

Also the contents of this one are by default intentionally specific to the installed system, the bootuuid is randomized by default.

"(hd0,g…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mangelajo
Comment options

Answer selected by cgwalters
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants