rhboot / rhboot/shim

add option to check if shim is in use - How to check if the system is using shim or not?

Open
#623 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.1k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

I've created an ISO with shim which really wasn't simple at all. Now I am testing it with QEMU.

Since shim as far as I know and please correct me if I am wrong doesn't produce any visual output, no log messages, hands over control to grub and is then "gone" it seems totally invisible.

How can I test if shim has booted first or if grub was booted?

Why do I want to know that? For the purpose of developing a QEMU based unit test that checks if the boot sequence (shim first) is correct.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ISO boot sequence in QEMU and review how shim hands control to GRUB. Define what observable signal or test entry point would distinguish shim-first boot from direct GRUB boot, then specify how the QEMU-based unit test can verify that sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.