So, I've been dual booting Kubuntu and Windows 10. I've been mainly trying to use only linux, but still logged into Windows 10 once in a while to use my paid for daw or davinci resolve, etc. BUT !!!
The last time I logged into Windows 10 and then restarted my computer I got an error message instead of the grub boot loader (I didn't change anything in my bios settings). The error I get is "Couldn't Create Moklist: Volume Full , Something serious has gone wrong, import_mok_state():failed".
Not only can I not log into the Kubuntu installed on my laptop, but I can't log in using a Kubuntu Live USB or a RedHat Live USB. I tried the Kubuntu Live USB on my wifes laptop and it booted up just fine.
Now, I can boot up a Live USB of Slax linux. And, I can change the bios to boot to the Windows 10 partition, but... unfortunately, that's about it.
So... hoping someone might be able to help out this somewhat linux newbie.
P.S. - I even restored everything with an image I made just a couple days ago, but that didn't work either.
START UPDATE 1......................................................
I can look at the efi folder using Slax.
efi/ubuntu the files are:
- BOOTX64.CSV
- grub.cfg
- grubx64.efi
- mmx64.efi
- shimx64.efi
efi/boot the files are:
- BOOTX64.EFI
- fbx64.efi
- mmx64.efi
efi/microsoft there are two folders:
Boot folder
-
- there are a bunch of folders and files.
-
- too many to list.
Recovery folder
-
- BCD
-
- BCD.LOG
-
- BCD.LOG1
-
- BCD.LOG2
My have has the very same laptop I have, so even though I didn't change any bios setting we compared mine to hers (she uses kubuntu only and it's working fine) and they are the same. Well, short of my computer have an nvme drive I upgraded to a while back.
I did system self test under nvme and it passed.
END UPDATE 1........................................................ START UPDATE 2......................................................
On my wife's kubuntu at the moment. After trying everything I could find to try via the web, I decided to use Slax Linux to delete the partitions on my two hard drives, including creating new GPT partition tables. I'm presently doing a fresh install of Windows 10 on the nvme hard drive and it's going thru long process of windows updates.
Once that is down I'll try making a new USB Live and see how that goes.
This really gets me. All was fine. Before this all started, the last time I was logged into Windows 10 it had an update. It just said update ready to install - I installed it - very short update. Could that last windows 10 update have cause this ???
END UPDATE 2........................................................ START UPDATE 3......................................................
Well, even after doing what was stated in UPATE 2 I still can't use any linux other than SLAX linux.
Hopefully someone knows what I need to do to fix this issue.
END UPDATE 3........................................................ START UPDATE 4......................................................
Here a few pictures of my bios. Maybe they might help someone direct in the right direction: https://flic.kr/s/aHBqjzKinq
Also, I deleted all the keys and and now I can get a Mint Linux live usb to boot, but still can't get a Kubuntu live usb to boot (has same MOK issues).
END UPDATE 4......................................................... START UPDATE 5....................................................... !!! I'VE GOT IT WORKING !!!
And, I'm putting up this edit using Kubuntu :)
Fixing the issue.
So, let's first recap...
I had my dual boot Windows 10 & Kubuntu setup working just fine.
I was mainly logging into Windows 10 to use my paid for music DAW's (digital audio workstation's) that I paid for and to use Davinci Resolve (my favorite video editor).
The last time I booted into Windows 10, before all this happened, there was an update (windows 10 update that is) - it just said update ready. So, I installed it and it installed very quickly. When I was done in Windows 10 I rebooted to get back into Kubuntu, but... there was no booting up in it. I kept getting an error pretty close to:
Could not create MokList: Volume Full
Something serious has gone wrong.
import_mok_state() failed.
Not only could I not boot into Kubuntu via hard disk, I also couldn't boot up on a live usb of Kubuntu, RedHat, EndeavorOS, POP OS, Xubuntu, Mint Linux etc. I did find that SLAX would boot up...
After deleting all the keys under secure boot I was able to boot up on a Mint Linux Live USB. So, I tried installing it and got the same error I've been getting, which I thought was weird.
So, after looking around for a couple days I finally found the solution that worked for me and figured I'd share it here.
The solution was efibootmgr and removing old/unused boot entries. I can't explain and have no clue how my Kubuntu could go from working just fine to not working after a very small Windows 10 update (maybe it was just a coincidence), but that's what happened, or at least certainly seems to be what happened, as far as I can tell. Anyways...
Here's the three terminal lines that saved the day for me:
// get efibootmgr
sudo apt-get install efibootmgr
// run efibootmgr
sudo efibootmgr
// remove unused boot entries
sudo efibootmgr -b 0005 -B
Take note that 0005 could be 0004, 0006, etc
And, here are links to the video and an article that gave me the info above:
The video "Fixing EFI Booting Issues with Efibootmgr"
The article "How to Remove Old EFI Boot Entries in Linux"
When I was watching the video and seen the unused entries the "FULL" part of the error I was getting came to mind, which led to me to finding the article.
So, ya, hopefully this helps someone. It's certainly been a learning curve for me...
Not sure if this is something I should say or not, but, ya know, I'm really beginning to dislike Microsoft more and more as time goes on. If it wasn't for my paid for DAW's and Davinci Resolve I'd probably ditch Microsoft completely (I'm working on - lol)...
END UPDATE 5.........................................................