#after using sbctl to sign keys, booting with secure boot causes grub to go into rescue mode
35 messages ยท Page 1 of 1 (latest)
Looks fine to me. Try making a unified kernel image, there's an example on the github page at the very bottom: https://github.com/Foxboron/sbctl
You'll need to put your kernel parameters into /etc/kernel/cmdline, see the respective wiki entry: https://wiki.archlinux.org/title/Unified_kernel_image#sbctl
You can make one with the other options too if you prefer.
does "esp/archlinux.efi" have to be an existing file or am i just naming the file?
for example do i need to put my vmlinuz-linux?
or should it be my grub.efi
๐ค
That's going to be the location of the image: /boot/EFI/Linux/archlinux.efi
oh so i put that command in.. then what
reconfigure grub?
Was the image creation successful? As in, do you have a file in that location now?
im still figuring out the kernel parameter stuff
yeah i have
no clue how to find kernel parameters
even the kernel parameters article isnt helping
๐ตโ๐ซ
@velvet olive i havent actually done any kernel parameters should i just, go make the image file without adding kernel params to /etc/kernel/cmdline
You can always try. Since I don't use grub myself I can't help you out with that, sorry.
welp yolo
i have my grubx64.efi in /boot/EFI/arch
should i just, put the archlinux.efi file there?
Frankly, I don't know. Try the "default" location for the time being. I'm also not sure on how grub handles unified images in general, this might help: https://wiki.archlinux.org/title/GRUB#Chainloading_a_unified_kernel_image
making the chainload thing in grub.cfg gives the following error
/boot/EFI/arch/archlinux.efi not found
Move over the unified image then, it's still in /boot/EFI/Linux/ I assume.
moved it, says not found
maybe it cant even find the proper filesystem?
ohhh. @velvet olive should i put my boot drive in -fs-uuid
or my root
yolo
@velvet olive i think my kernel parameters are fucked
since grub said with red text that the params were invalid, couldnt get a screenshot since it instantly just threw me into boot and the thing kernel panicked and threw me into emergency shell
good thing i have backups
so i was be able to boot again
how do you take backups?