-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Controlled Secure Boot #58
base: master
Are you sure you want to change the base?
Conversation
fb90824
to
4de3d6d
Compare
ee54d36
to
48e4bde
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unified kernel causes the space used in /boot/efi
to almost double.
Before:
Size | Used | Avail | Use% |
---|---|---|---|
1020M | 258M | 763M | 26% |
After:
Size | Used | Avail | Use% |
---|---|---|---|
1020M | 513M | 508M | 51% |
This is with a single kernel starting from pop-os_22.04_amd64_nvidia_17.iso
This will cause the entire partition to be filled on any older installs where the default size is 498M
.
After fully updating the install there is only a small increase in size after the kernel is updated.
However even though sudo kernelstub -p
shows the kernel being updated to 6.2.6
the output of uname -r
is 6.0.6-76060006-generic
.
kernelstub.Config : INFO Looking for configuration...
kernelstub : INFO System information:
OS:..................Pop!_OS 22.04
Root partition:....../dev/dm-1
Root FS UUID:........1bede042-8f55-450a-a516-2045c95d74a4
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false i8042.nomux splash
Kernel Image Path:.../boot/vmlinuz-6.2.6-76060206-generic
Initrd Image Path:.../boot/initrd.img-6.2.6-76060206-generic
Force-overwrite:.....False
kernelstub : INFO Configuration details:
ESP Location:................../boot/efi
Management Mode:...............True
Install Loader configuration:..True
Unified kernel:................True
Configuration version:.........4
Depending on the order in which things are installed the boot menu will be different.
Case 1:
- Fresh install
- Install the updates from this PR
- Run
sudo kernelstub --unified
- Update the kernel
From here neither the previous
or current
entries will boot. Only the entry Pop!_OS
will. Booting that entry boots to the previous kernel.
At this point a refresh of the OS will boot into the current 6.2.6
kernel.
Case 2:
- Fresh install
- Update the kernel
- Install the updates from this PR
- Run
sudo kernelstub --unified
From here the entries pop_os-current.conf
and pop_os-oldkern.conf
work. The others do not.
DONE:
NEED SUGGESTIONS:
OUT OF SCOPE:
See also pop-os/fwupd#9, which signs the fwupd EFI executables with the kernelstub machine owner key.