Question Boot/Windows problems - I have no idea what to do anymore

Dec 22, 2024
5
0
10
(I'm not sure if this is the right place to post) (mobo is a gigabyte B360m DS3H)

A couple of weeks ago my PC started booting every other time into the bios with an error related to secure boot. At first it I didn't make much of it, I would just restart and it would boot to Win normally. After some time it started to get worse, I would need to restart the PC 3-5 times to get to windows so I decided to disable secure boot, which at first seemed to work fine but yesterday I restarted my PC and it went straight to BIOS and I noticed there were no boot options. I updated my bios to see if it would work and it did go to windows once where I managed to make an install drive. After that it still didn't work properly so I disconnected and reconnected my SSD (SATA) with no success. I then tried to make a fresh windows install but it said "ERROR: BIOS/LEGACY BOOT OR UEFI-ONLY MEDIA" where Rufus says my I have to boot on uefi only but my bios was selected to go to uefi. I then changed to legacy mode to see what would happen an it could boot to windows (sometimes)

I have no idea what to do anymore, what and how to troubleshoot, at first I tought I would maybe need a new SSD and now am thinking I might need a new mobo and I don't have the money to do so. If anyone could give me some light in what I should do next.
 
Your pc is booting from 2TB drive (Disk 2) currently - Dynamic Disk with EFI system partition.
This is strange, it boots at all.

Make drive containing C: partition bootable this way.
Execute from elevated command prompt. Regular command prompt will give error at last step.
If you get any errors, then stop immediately and show screenshot.
diskpart
list disk
select disk 0
(select 223GB disk containing C: partition)
list partition
select partition 3
(select 652MB recovery partition)
delete partition override
create partition efi
format fs=fat32 quick
assign letter=H
exit
bcdboot C:\windows /s H: /f UEFI

Last message should be "Boot files created successfully".

Then go into BIOS and set fist boot device to Windows boot Manager on 240GB drive.
Note windows is installed in UEFI mode. It is not compatible with legacy mode.
 
  • Like
Reactions: rockethm
Your pc is booting from 2TB drive (Disk 2) currently - Dynamic Disk with EFI system partition.
This is strange, it boots at all.

Make drive containing C: partition bootable this way.
Execute from elevated command prompt. Regular command prompt will give error at last step.
If you get any errors, then stop immediately and show screenshot.
diskpart
list disk
select disk 0
(select 223GB disk containing C: partition)
list partition
select partition 3
(select 652MB recovery partition)
delete partition override
create partition efi
format fs=fat32 quick
assign letter=H
exit
bcdboot C:\windows /s H: /f UEFI

Last message should be "Boot files created successfully".

Then go into BIOS and set fist boot device to Windows boot Manager on 240GB drive.
Note windows is installed in UEFI mode. It is not compatible with legacy mode.
It seems to have worked, here are a few screenshots. The only weird thing is that every time I turn it on it asks me if i want to ignore the disk verification of drive D:. Is this normal? Should I just ignore it?
View: https://imgur.com/a/b9BrieK
 
Remove/disable all other boot options.
Leave only boot option #1.

You can also delete old bootloader from Disk 2.
Execute from elevated command prompt.
diskpart
list disk
select disk 2
(select 1863GB disk)
list partition
select partition 4
(select 513MB EFI System partition)
delete partition override
If you have Linux installed there, it may not work anymore after deleting old bootloader.
 
  • Like
Reactions: rockethm
T
Remove/disable all other boot options.
Leave only boot option #1.

You can also delete old bootloader from Disk 2.
Execute from elevated command prompt.
diskpart
list disk
select disk 2
(select 1863GB disk)
list partition
select partition 4
(select 513MB EFI System partition)
delete partition override
If you have Linux installed there, it may not work anymore after deleting old bootloader.
Thank you so much for all the help!