Nitro AN515-51: UEFI bios boot order reset to default setting every time windows restart

tclim
tclim Member Posts: 2 New User
edited November 2023 in 2018 Archives
This happen after I have done some windows update. On next boot up, I heard a noisy fan sound. I suspect the update also include the bios update. Since the update the UEFI bios always set to default setting for every restart. 

The default setting of the BIOS boot order is HDD first then SATA. While my windows is on SATA.  So every time restart I need to reset the boot order to SATA in order to boot to my windows 10.

Please kindly help on this matters. Thanks.

Best Answer

  • tclim
    tclim Member Posts: 2 New User
    Answer ✓
    Hi All,

    I have solved the problem. I will list down my steps here, and hope this can help others with same problem.

    Here is my case:
    - 2 UEFI Windows Boot Manager
    - 1 is HDD and 1 is SATA
    - default setting is always point to HDD
    - SATA is Windows 10 installed

    Below are the steps I have go through and it works for me. Before anyone go through these steps please prepare USB or DVD that contains Windows Installation. For my case i'm using USB.

    Process 1) Delete the EFI partition from the HDD.
    Step 1: Hit "Window Key + R" to open the rub dialogue box, enter "diskpart" and clik OK to open command prompt
    Step 2: Type "list disk" to display all the disks of your computer. My HDD is disk 1. Type "sel disk 1" to select the HDD. 

    Step 3: Type "list partition" to display all the volumes on the hard drive. My HDD EFI partition is 2. So I "sel partition 2" to select the EFI partition.

    Step 4: Type "delete partition override" to remove the EFI partition. Finally, type "exit" to close the windows when you receive the message says, DiskPart successfully deleted the selected partition".

    After these steps, the HDD no longer show in BIOS boot order hence the default boot will be from SATA. However i'm facing another challenge. I received BCD not found when boot from SATA. I tried run bootrec /fixboot but i get access denied. Fortunately, below steps save my life.

    Process 2) Repair BCD for SATA.
    Step 1: Insert the USB contains installation media on the computer and restart the PC.

    Step 2: Boot into the computer from the USB.

    Step 3: At the startup, appoint a click on the option "Repair Your Computer". You can find this at the bottom left end of the screen.

    Step 4: Proceeding forward, select Troubleshoot and then click on Advanced Options.

    Step 5: On the following screen, choose Command Prompt. Now, type in or copy/paste the given below line of commands one after the other. Ensure to press/hit Enter after inserting each command. For my case, disk 0 is my C: drive which is my windows 10 installed inside.

    diskpart
    sel disk 0
    list vol

    Step 6: Next task is to verify the EFI partition. Look for partition that using the FAT32 file system then you will notice it. Mine is volume 1. Assign a temporary drive letter with it. For my case I assign G: drive to it. Type these commands in Command Prompt and press Enter after each of them.

    sel vol 1
    assign letter=G:
    exit

    Step 7: Now you need to rebuild the BCD store again. To do so, we need to go inside the EFI partition via the temporary drive that we assigned to it, my case which is G: drive. Type the command below and press Enter.

    cd /d G:\EFI\Microsoft\Boot\
    ren BCD BCD.old
    bcdboot c:\Windows /l en-us /s G: All


    Finally, I'm able to boot into my SATA windows. And the restart is working fine as well.

    Hope my experience can help you. 

Answers

  • tclim
    tclim Member Posts: 2 New User
    Answer ✓
    Hi All,

    I have solved the problem. I will list down my steps here, and hope this can help others with same problem.

    Here is my case:
    - 2 UEFI Windows Boot Manager
    - 1 is HDD and 1 is SATA
    - default setting is always point to HDD
    - SATA is Windows 10 installed

    Below are the steps I have go through and it works for me. Before anyone go through these steps please prepare USB or DVD that contains Windows Installation. For my case i'm using USB.

    Process 1) Delete the EFI partition from the HDD.
    Step 1: Hit "Window Key + R" to open the rub dialogue box, enter "diskpart" and clik OK to open command prompt
    Step 2: Type "list disk" to display all the disks of your computer. My HDD is disk 1. Type "sel disk 1" to select the HDD. 

    Step 3: Type "list partition" to display all the volumes on the hard drive. My HDD EFI partition is 2. So I "sel partition 2" to select the EFI partition.

    Step 4: Type "delete partition override" to remove the EFI partition. Finally, type "exit" to close the windows when you receive the message says, DiskPart successfully deleted the selected partition".

    After these steps, the HDD no longer show in BIOS boot order hence the default boot will be from SATA. However i'm facing another challenge. I received BCD not found when boot from SATA. I tried run bootrec /fixboot but i get access denied. Fortunately, below steps save my life.

    Process 2) Repair BCD for SATA.
    Step 1: Insert the USB contains installation media on the computer and restart the PC.

    Step 2: Boot into the computer from the USB.

    Step 3: At the startup, appoint a click on the option "Repair Your Computer". You can find this at the bottom left end of the screen.

    Step 4: Proceeding forward, select Troubleshoot and then click on Advanced Options.

    Step 5: On the following screen, choose Command Prompt. Now, type in or copy/paste the given below line of commands one after the other. Ensure to press/hit Enter after inserting each command. For my case, disk 0 is my C: drive which is my windows 10 installed inside.

    diskpart
    sel disk 0
    list vol

    Step 6: Next task is to verify the EFI partition. Look for partition that using the FAT32 file system then you will notice it. Mine is volume 1. Assign a temporary drive letter with it. For my case I assign G: drive to it. Type these commands in Command Prompt and press Enter after each of them.

    sel vol 1
    assign letter=G:
    exit

    Step 7: Now you need to rebuild the BCD store again. To do so, we need to go inside the EFI partition via the temporary drive that we assigned to it, my case which is G: drive. Type the command below and press Enter.

    cd /d G:\EFI\Microsoft\Boot\
    ren BCD BCD.old
    bcdboot c:\Windows /l en-us /s G: All


    Finally, I'm able to boot into my SATA windows. And the restart is working fine as well.

    Hope my experience can help you.