Hi all,
I’ve been using Fedora for 2 years. Currently on F39+Gnome. accumulated quite a lot of packages or unnecessary stuff, and wanted to upgrade to F40 with fresh installation.
My system is not starting with installation process after connecting Live Image USB because of grub issues, I guess.
Story:
I created F40 live image in USB stick using Fedora Media Writer. tried to boot up with the installation process but it threw me ERROR Verification failed: (0x1A) Security Violation
with blue screen and kept giving me MOK menu
. after some internet research I disabled secure boot
.
now when I attach live image USB, it throws me to grub screen.
when I explore the directory, below is what I get:
notable error== error: ../ ../grub-core/kern/fs.c:121:unknown filesystem.
hd0
is Live F40 Image on USB
hd1
is local Fedora 39 and other partitions
grub> ls
(proc) (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1) (hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)
grub> ls (proc)/
luks_script
grub> ls (hd0)/
./ …/ boot/ EFI/ Fedora-Legal-README.txt images/ LICENSE LiveOS/
grub> ls (hd0,gpt3)/
error: …/ …/grub-core/kern/fs.c:121:unknown filesystem.
grub> ls (hd0,gpt2)/
efi/
grub> ls (hd0,gpt1)/
./ …/ boot/ EFI/ Fedora-Legal-README.txt images/ LICENSE LiveOS/
grub> ls (hd1)/
error: …/ …/grub-core/kern/fs.c:121:unknown filesystem.
grub> ls (hd1,gpt4)/
home/ root/
grub> ls (hd1,gpt3)/
error: …/ …/grub-core/kern/fs.c:121:unknown filesystem.
grub> ls (hd1,gpt2)/
efi/ System/ mach_kernel
grub> ls (hd1,gpt1)/
efi/ System/ mach_kernel
grub>
I tried resetting and reinstalling the grub as per Fedora docs for UEFI systems. tried Resetting and reinstalling GRUB 2 as per Fedora docs Working with the GRUB 2 Boot Loader. nothing has worked.
throughout this all, Fedora 39 is still working and accessible when I disconnect the Live Image USB stick. it boots to F39 normally.
but for some time it kept giving me that security violation
error and MOK menu before I disabled secure boot. I’m assuming connecting the Live Image USB triggered something in local system.
Now, I don’t know how to go beyond that. internet has many examples of fixing grub by using Live boot image. but my system is not booting up with Live Image at all.
Thanks for any kind of help.