"Bad shim signature" when rebasing to Bazzite

Sooo... As far as I'm concerned, the whole idea of Universal Blue is, that you can essentially use UBlue, then if you want rebase to Bluefin, and if you feel like it, freely rebase to Bazzite. Or any other image. So I tried that - installed Bluefin from official UBlue ISO, than rebased to Bazzite stable (the default one). After rebooting, when I select Bazzite in grub, I get:
error: ../../grub-core/kern/efi/sb.c:182: bad shim signature.
error: ../../grub-core/loader/i386/efi/linux.c:258: you need to load the kernel first.
error: ../../grub-core/kern/efi/sb.c:182: bad shim signature.
error: ../../grub-core/loader/i386/efi/linux.c:258: you need to load the kernel first.
While Bluefin boots normally. Is this intended behaviour? Or I'm just stupid and it's not like I can rebase Bluefin or any other image to any different image? As for my hardware - ThinkPad E14 Gen2, i7-1165G7
15 Replies
1/4 Life
1/4 Life•4mo ago
You're using secure boot and haven't enrolled our key you can disable secure boot and then enroll the key with our ujust command, then re-enable it
Leniwcowaty
Leniwcowaty•4mo ago
Secure boot is disabled, but okay, I'll try enrolling the key - you mean in Bluefin, right?
1/4 Life
1/4 Life•4mo ago
that error can only mean it's enabled double check
Leniwcowaty
Leniwcowaty•4mo ago
Sorry, me stupido potato... I disabled TPM, not secure boot, cuz I was getting "Unknown TPM error"... :facepalm: Will try that Works now, thank you Kyle!
1/4 Life
1/4 Life•4mo ago
np!
Leniwcowaty
Leniwcowaty•4mo ago
By the way, since I have you here - why is it crucial to perform rpm-ostree reset before rebasing?
1/4 Life
1/4 Life•4mo ago
we mention it to weed out common help requests you don't have to do it 🤫 but if you've layered stuff we already layer or that conflicts with ours it'll blow up in your face
Leniwcowaty
Leniwcowaty•4mo ago
Okay, so let me get this straight - maintainers provide the base, preconfigured image - UBlue, Bluefin, Bazzite, as well as custom layers with applications - let's say Alacritty for simplicity. Every UBlue image has its own custom layers. Then I can layer my own software on top of that, eg. using rpm-ostree install kitty. When I want to rebase, I change the underlying image as well as custom layers. And if so happens, that in this custom layer there already is kitty, this could blow in my face and break. So I should either review custom layers to ensure there are no conflicts, or perform rpm-ostree reset, which will remove all MY layers, essentially removing kitty. So if I ever want to go back to Bluefin deployment I pinned, it will no longer be there - I will have to again layer it on top of Bluefin. Correct?
1/4 Life
1/4 Life•4mo ago
it could if bazzite shipped kitty or a package that conflicts with kitty we do neither, so that's safe
Leniwcowaty
Leniwcowaty•4mo ago
That's just an example, but I assume my thinking is correct. So it's not like I can pin a fully customized bluefin, rebase to bazzite and then go back to bluefin any time or switch between them at will? Or does that only affect layered packages, the flatpaks and all my files will be intact?
1/4 Life
1/4 Life•4mo ago
flatpaks remain intact and layered packages are part of your pins technically
Leniwcowaty
Leniwcowaty•4mo ago
Yeah, but after rpm-ostree reset they will be gone
1/4 Life
1/4 Life•4mo ago
so don't reset just means your layered packages need to be compatible with both images
Leniwcowaty
Leniwcowaty•4mo ago
Okay okay. Now only to read what "pinning" actually does and how it works. Thanks a ton!
1/4 Life
1/4 Life•4mo ago
np