NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gigabyte b550 ds3h ac

robabo opened this issue · comments

Hi, I just updated the bios on my gigabyte motherboard to the latest (F18d), and Nixos will no longer boot without manually selecting the drive. I have tried changing the kernel to 'latest' and 'zen'. I have tried both systemd and grub. I have tried both a nvme drive and a solid state drive. When I do not manually select the boot device, uefi fails to find the EFI target and just hangs. Nixos was booting perfectly fine before the bios update. I'm dual booting with Arch, and Arch boots without problem. PLease inform me if this is the wrong place to post this. Thanks.

Motherboard: gigabyte b550 ds3h ac
CPU: Ryzen 7 5800X

Putting on my guessing hat, I am guessing the BIOS update for the board also resets the NVRAM, which includes the EFI boot order. (It's a common enough issue through many motherboard vendors).

I believe using sudo nixos-rebuild switch --install-bootloader will re-configure the boot entries here.

I ran that command whenever I changed the bootloader and kernel. I also ensured Nixos was first in the bios boot sequence. I still have to manually select Nixos or it will hang.