No Windows Boot option (CSM/Legacy BIOS)
Installed bazzite-nvidia and have lost the boot option for windows.
After looking around I've tried the following:
1.
ujust regenerate-grub
This outputs the following, which is also missing finding the windows boot option
2. Checking if I've accidentally deleted the windows boot partition.
I was trying to be very careful about this, and i can still see all the partitions windows had from before i installed.
Also, I've mounted some of the partitions and can see Windows files
Also some boot looking things in sda1
I'm not sure what else to check, anyone have any further ideas?Solution:Jump to solution
So the issue (i believe) was I had left CSM/Legacy BIOS enabled without realising it and bazzite installed non-efi. Because windows was EFI it was not visible in the non-efi grub menu.
Updating the BIOS so that i could disable CSM/Legacy BIOS (and Secure Boot which was also not present in my earlier bios version) meant i could reinstall bazzite using grub-efi....
89 Replies
Have you tried manually creating a grub entry for it? https://unix.stackexchange.com/questions/758353/resolving-dual-boot-issue-windows-not-showing-in-grub-menu
Unix & Linux Stack Exchange
Resolving Dual-Boot Issue: Windows Not Showing in GRUB Menu
I recently encountered a dual-boot issue on my Debian 12 system where Windows 10 was not showing up in the GRUB menu after a Debian update. I spent some time troubleshooting the problem and was abl...
I have not, will give that a go
I added this to my /etc/grub.d/40_custom, because as far as I could see the boot files were on /dev/sda3.
Then ran
ujust regenerate-grub
Can see the new entry, but selecting it does not bootI’m pretty sure +1 is not intended for EFI
Just checked that my os-prober-generated Windows entry looks like this:
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-[redacted]' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root [redacted]
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
That makes more sense, the sda3 partition i have is not ntfs either so don't think i need insmod ntfs
Under the [redacted] i'm assuming is a file-system uuid? Do you know how to find that for building this menu entry myself?
Something like
lsblk
or blkid
The two should be the same and for FAT fses it should be only 8 charactersFound it, thank you
Ah damn 😦 getting
error: ../../grub-core/loader/i386/pc/chainloader.c:213:invalid signature
I had to convert from the MBR to UEFI boot mode in windows to get bazzite installed originally, but it looks like sda1 has the old MBR boot stuff. Potentially that's confusing it?
This seems like a problem
Missing efiDoes
efibootmgr
show the Windows boot entry any more?is csm enabled in bios?
efibootmgr outputs
EFI variables are not supported on this system.
How can i check this, i looked in my bios recently and it has "Both Legacy and UEFI" option selected currently. I can quickly boot and grab the correct property nameMakes me think that CSM was used to install the system, if it is saying EFI variables are not supported.
what is your motherboard?
disable legacy
that is csm i believe
asus p8z77-v pro
I agree, disable legacy