r/linuxquestions • • 13d ago

Resolved Fedora KDE 45 broke Secure Boot - Windows 11 and Kubuntu 26.04 fail with bad shim signature (Resolved)

1 Upvotes

I previously posted about this issue in my original support thread, but the discussion became sidetracked. I'm sharing a concise technical account of what happened and how I eventually recovered the Secure Boot configuration so that the information may help others encountering a similar problem.

What happened

I had a working dual-boot setup with Windows 11 and Kubuntu 26.04, both booting with Secure Boot enabled.

After a fresh installation of Fedora KDE 45, Fedora became the default bootloader and booted normally. However, both Windows and Kubuntu failed to boot with:

bad shim signature

What I discovered

Restoring Kubuntu as the default bootloader allowed Kubuntu to boot, but Windows still failed. Disabling Secure Boot allowed Windows to boot.

I inspected the firmware variables and found:

  • PK, KEK and db were empty.
  • SetupMode was set to 1.
  • Factory-default variables PKDefault, KEKDefault, dbDefault and dbxDefault were still present.

My BIOS only offered Secure Boot Enable/Disable. It had no option to restore factory keys or install default Secure Boot keys.

I cannot confirm that Fedora caused the keys to disappear, but the issue appeared immediately after its installation.

Recovery

Since the BIOS offered no way to restore the keys, I had to recover the original factory certificates and manually reconstruct the missing Secure Boot key hierarchy from Linux.

I recovered the original Platform Key and factory certificate material, along with the selected Microsoft 2023 certificates.

I then prepared and validated authenticated AUTH2 updates for UEFI 2.8 and enrolled the recovered and reconstructed keys into the firmware in this order:

  1. KEK
  2. db
  3. Original PK last

Each enrollment was followed by firmware readback verification. I deliberately left dbx unchanged.

Result

PK, KEK and db were successfully recovered, reconstructed and enrolled. SetupMode changed from 1 to 0, returning the firmware to User Mode.

I then enabled Secure Boot and confirmed that all three operating systems booted successfully:

  • Windows 11
  • Fedora KDE 45
  • Kubuntu 26.04

The issue is fully resolved. No operating system reinstall or firmware replacement was necessary.

References

UEFI Specification 2.8:

https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf

efitools:

https://github.com/mjg59/efitools

Final thoughts

The difficult part was recovering the original factory key material, reconstructing the missing Secure Boot databases and manually enrolling them into the firmware. My BIOS had no factory-key restoration option.

If you encounter this situation, inspect the actual Secure Boot variables before assuming the bootloader itself is the problem. Also check whether the firmware retains its factory-default key variables, as they may make manual recovery possible.


r/linuxquestions • • 13d ago

Resolved Fedora KDE 45 broke Secure Boot - Windows 11 and Kubuntu 26.04 fail with bad shim signature (Resolved)

1 Upvotes

I previously posted about this issue in my original support thread, but the discussion became sidetracked. I'm sharing a concise technical account of what happened and how I eventually recovered the Secure Boot configuration so that the information may help others encountering a similar problem.

What happened

I had a working dual-boot setup with Windows 11 and Kubuntu 26.04, both booting with Secure Boot enabled.

After a fresh installation of Fedora KDE 45, Fedora became the default bootloader and booted normally. However, both Windows and Kubuntu failed to boot with:

bad shim signature

What I discovered

Restoring Kubuntu as the default bootloader allowed Kubuntu to boot, but Windows still failed. Disabling Secure Boot allowed Windows to boot.

I inspected the firmware variables and found:

  • PK, KEK and db were empty.
  • SetupMode was set to 1.
  • Factory-default variables PKDefault, KEKDefault, dbDefault and dbxDefault were still present.

My BIOS only offered Secure Boot Enable/Disable. It had no option to restore factory keys or install default Secure Boot keys.

I cannot confirm that Fedora caused the keys to disappear, but the issue appeared immediately after its installation.

Recovery

Since the BIOS offered no way to restore the keys, I had to recover the original factory certificates and manually reconstruct the missing Secure Boot key hierarchy from Linux.

I recovered the original Platform Key and factory certificate material, along with the selected Microsoft 2023 certificates.

I then prepared and validated authenticated AUTH2 updates for UEFI 2.8 and enrolled the recovered and reconstructed keys into the firmware in this order:

  1. KEK
  2. db
  3. Original PK last

Each enrollment was followed by firmware readback verification. I deliberately left dbx unchanged.

Result

PK, KEK and db were successfully recovered, reconstructed and enrolled. SetupMode changed from 1 to 0, returning the firmware to User Mode.

I then enabled Secure Boot and confirmed that all three operating systems booted successfully:

  • Windows 11
  • Fedora KDE 45
  • Kubuntu 26.04

The issue is fully resolved. No operating system reinstall or firmware replacement was necessary.

References

UEFI Specification 2.8:

https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf

efitools:

https://github.com/mjg59/efitools

Final thoughts

The difficult part was recovering the original factory key material, reconstructing the missing Secure Boot databases and manually enrolling them into the firmware. My BIOS had no factory-key restoration option.

If you encounter this situation, inspect the actual Secure Boot variables before assuming the bootloader itself is the problem. Also check whether the firmware retains its factory-default key variables, as they may make manual recovery possible.


r/linuxquestions • • 14d ago

Best Laptop?

5 Upvotes

Hi I am searching for a nice Linux laptop and I can't find the right one. What I look for:

- 2000-3000€

- Good compatibility for Arch Linux

- decent performance for an AI engineer (mostly over SSH)

- solid keyboard, speaker, webcam, microphone and runtime

- roughly 14inch

Laptop I checked and got a bad feeling because of X:

  1. MacBook Pro: no Linux but otherwise ideal.
  2. Framework 13 pro: because this is a business laptop I won't get any upgrades and will give it back in 4y. Feels like overspending this way.
  3. Thinkpad X1 Carbon: I am worried about the performance and it's on the more expensive end for not a lot.
  4. All other Thinkpads: I would love to avoid the tracking dot and the track pad button. I just want a nice large track pad.
  5. Dell XPS & Asus Expertbook: looks like bad Linux support.

Looked at a bunch more and there always seems to be something "wrong". The ideal thing would be the MacBook Pro with nice Arch Linux support...

What do you think?


r/linuxquestions • • 14d ago

Advice Hi folks, Im getting a new pc and i need some advice.

3 Upvotes

I have the option of no os or a windows os

  1. is it easy to migrate from windows?
  2. if i were to try dual booting, would I need to get a an ssd drive for the os and for its storage? or can they access the same storage?
    (currently am getting one ssd nvme 1tb and planning to grab an 3-4tb hdd for long term storage, so wondering if both os's can access the storage)
  3. which os should i install first for the least amount of fuckery
  4. ive been daily driving a steam deck as my main pc for almost 4 years, so im rather familiar with that distro, and i kinda appreciate the guardrails/stability it offers. Is it a valid os to install? Or do others have some must have features for a casual user?

r/linuxquestions • • 14d ago

Advice Why no one mentions DAR format?!

14 Upvotes

Why does .dar not get any attention? I discovered it today. Created in 2002. Works kind of like 7z.

It is a replacement for tar. It supports many compression algorithms and hashing functions natively! With many more features.

Its official zstd support caught my attention in particular. Only ZIP and squashfs have official support for zstd.

Why modern frontends don't support it? Like 7-zip, peazip, etc.


r/linuxquestions • • 14d ago

Does "OnCalendar" work with user space timers?

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 14d ago

Ubuntu was my starting point, but I want something more. Arch or CachyOS?

4 Upvotes

Hi everyone!

I've recently started exploring Linux and installed Ubuntu on my 2018 Intel Mac mini alongside macOS and Windows 11.

Ubuntu has been a good starting point, but I'd love to try something different and learn more about Linux.

Arch Linux and CachyOS have caught my attention, especially because I'm really into customization. I love dark themes, terminal-focused setups, and that sleek, minimalist, developer-style aesthetic.

I'd like a desktop I can really make my own, rather than just using everything as it comes out of the box.

I'm not necessarily looking for the easiest distro. I want something that challenges me a little and helps me understand Linux better.

So I'm curious:

  • Would Arch Linux be too ambitious for someone still learning?
  • Is CachyOS a good alternative?
  • Would you recommend KDE Plasma, Hyprland, or something else for a highly customizable dark setup?
  • What distro and desktop environment would you choose in my situation?

I'd love to see your recommendations and even screenshots of your setups!

Thanks!


r/linuxquestions • • 14d ago

What config languages should I learn to be able to customize and configure any window manager I want? And do they have purposes beyond just configuring/editing WMs, or can they be useful for other techy stuff in general?

0 Upvotes

I left DEs for WMs/WCs because they offer more customization options while taking up minimal space. I know DEs can be just as customizable if you put enough time into them, but oftentimes they lack something I need or miss, so I decided to give WMs a chance.

However, I'm still pretty novice when it comes to editing config files and stuff. So, I'm wondering which languages I should learn to do so and where I should even begin. (I don't want to use other people's configs)

DEs I've used (in chronological order):

GNOME > KDE > Cinnamon > MATE > LXQt > LXDE > NsCDE > XFCE

WMs/WCs I've used:

dwm > niri (currently using)

Also, does the same apply to graphical shells such as Noctalia and Quickshell? What I mean is, do I configure them through the window manager's config files as well, or do they have their own configuration systems?

edit: thanks, everyone.

I'm considering awesomewm


r/linuxquestions • • 14d ago

🥲 alguém me ajude! Sos

0 Upvotes

Meu notebook não reconhece de jeito nenhum meu pendrive bootavel na BIOS, sinto que perdi meu pc que está com hyperland e queria voltar pro KDE.


r/linuxquestions • • 14d ago

Support Error al instalar Zorin OS

1 Upvotes

Error al instalar Zorin OS

Una pregunta, cuando me pide reiniciar después de hacer la configuración inicial de esta distro me dice "Please remove the installation medium,then press Enther" , la vez anterior le di enter pero pasaba que se encendía, apagaba, y no iniciaba el so, que hago?


r/linuxquestions • • 14d ago

Support 🐧 I'm learning Linux from scratch, but I keep forgetting commands. Is this normal?

0 Upvotes

Hey everyone! 👋

I'm a student currently learning Linux from scratch using Ubuntu in VirtualBox on my laptop.

I've been following a structured learning roadmap and practising things myself rather than just watching tutorials.

So far, I've covered several topics, including:

  • Linux fundamentals and terminal commands
  • File and directory management
  • Users and permissions
  • File systems
  • Processes and networking
  • SSH and basic networking concepts

I'm really enjoying learning Linux, but there's one problem I'm facing. 😅

Linux has so many commands and options. When I learn new commands, I sometimes forget the older ones after a few days or weeks.

I'm trying to improve my practical skills, but I'm still figuring out the best way to remember commands and use them in real situations.

I'd love to hear from experienced Linux users:

  1. Did you also forget commands when you were beginners?
  2. How do you remember commands and their options?
  3. Do you use personal notes, cheat sheets, or manual pages?
  4. What advice would you give someone starting their Linux journey?

I'm here to learn, practise and improve.

Any advice would be appreciated. Thanks! 😊


r/linuxquestions • • 13d ago

Is it safer to disable root access by not giving it a password?

0 Upvotes

When we install Linux, in distros like Fedora and Arch, you can decide to not provide root any password. Which I am assuming would disable access to root. An admin user which is a member of the wheel group can use sudo for admin activities like modifying files, installation, etc. So, does this provide an advantage against attacks? I am assuming it does but I wanted to hear more opinions about it.


r/linuxquestions • • 14d ago

Is the amdgpu driver universal?

0 Upvotes

Right now I have an RX 580 8GB and im thinking of upgrading to an RX 6700 XT 12GB and before i do that i want to know if i have to get a different driver or even reinstall my os or if the amdgpu driver is universal and i can put virtually any amd graphics card in my computer


r/linuxquestions • • 14d ago

Is there geniunly no way to play rocket league or fortnite (ik its a chuddy game but i like enslaving people in the lego version) on linux?

0 Upvotes

I heard of workarounds for rocket league, tried em for hours and they didnt work. If not rocket league atleast fortnite? Is there a workaround for that one?


r/linuxquestions • • 14d ago

Support Arch after updating treating KDE display as a seperate window

1 Upvotes

So, can't post photos for some reason (which would be rather helpful) but after updating Arch, my KDE is acting really wierdly, my mouse cursor can move any which direction about my monitor, and all the buttons are acting as normal and where they should be (KDE home is in the top corner as it was before the update, cursor is there, if clicked there itll display it being opened)

Except. The display is in the bottom left corner. Full size, meaning maybe 10% of the screen is actually visible. I dont even know what to do. I can barely even see my command line, and that's currently being hogged by cachyos-proton install (issue happened after hitting the lock button on my keyboard)


r/linuxquestions • • 14d ago

Resolved Antix Linux

1 Upvotes

Intenté usar algunas distros que la IA me dijo que podían revivir unas netbooks g2 que tenía tiradas por ahí (debian 13 lxqt y MX Linux xfce). Al final el unico que me arranca bien es Linux Antix. Solo tengo una duda ¿porque directamente no cambian como gestor de conexiones predeterminado el Connman por el Network Manager? Pasé toda la tarde tratando de conectar a wifi y saltaba puro error, al final me las arreglé para conectar el celular con usb y usar esa conexión para quitar el Connman y poner el Manager


r/linuxquestions • • 14d ago

Advice Coding project for hiding Linux desktop icons?

1 Upvotes

Is it conceivably possible for an app to be coded for desktop Linux (Ubuntu, Mint, etc) that would allow double-clicking on the desktop to cause desktop icons to become hidden, and then double click again to make them reappear? I have this functionality in Windows via Stardock's Fences app. Maybe there are AI platforms that could code this? It is a feature I have on Windows that I sorely miss having on Linux.


r/linuxquestions • • 14d ago

PSA: Endless Steam shader compilation (fossilize_replay) maxing out your CPU? The Nvidia 4GB cache bug explained and how to fix it.

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 14d ago

Resolved Black screen issue on resume from suspend

Thumbnail reddit.com
1 Upvotes

Please help!

Edit: The solution is to disable the display compositor (Settings > Window Manager Tweaks > Compositor). If you have a different distro and having same issues, try to disable the display compositor of your respective distros and see if it works.


r/linuxquestions • • 14d ago

Touchpad is not working after installing Fedora Workstation

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 15d ago

Which Distro? Tell me about your linux disrtro

38 Upvotes

Just out of curiosity, what distro are you guys using and why? What do you love about it, and what do you wish could be improved? Also, if you don't mind sharing, what laptop are you running it on?


r/linuxquestions • • 14d ago

How to make debian 13 trixie snapshot?

Thumbnail reddit.com
2 Upvotes

r/linuxquestions • • 14d ago

best benchmark tools for debian

1 Upvotes

Hi yall!

I switched from Windows and need benchmark tools for Debian. Here are the Windows apps I used — what are the best alternatives?

  1. CPU-Z & GPU-Z
  2. MSI Afterburner
  3. FurMark (or any CPU/GPU stress test)
  4. CrystalDiskInfo
  5. Any RAM speed checker or RAM tester
  6. Any app that shows full system info (monitor, mobo, RAM, CPU, GPU, disk)

GUI programs prefferd
Edit:
DE:XFCE4
im using systemd also