Can't change BIOS order

Page 1 of 2 12 LastLast

  1. Posts : 213
       #1

    Can't change BIOS order


    So I'm having a dual boot system (Windows and Ubuntu) and since I disassembled my laptop some hours ago the laptop boots directly into Windows (ignoring the GRUB OS selection screen).

    I'm having a Lenovo Laptop with Windows 10 (Insider Preview) and a Samsung EVO 840 SSD on which my both OSs are installed.

    When booting into BIOS I can't change the order of booting (Windows is stuck at the 1st position).

    Any idea on how to solve this?
      My Computer


  2. Posts : 5,478
    2004
       #2

    You need to update the boot file location.

    I use rEFInd not grub so (from Windows Administrator command prompt) I run this whenever Windows resets it which it does on occasion.
    Code:
    bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi
    You probably want to do something like this (again from windows command prompt).
    Code:
    bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
    If you can't remember or don't know where you installed grub (or what the name is) then mount the ESP and have a look - your loader will be in the EFI directory somewhere.
      My Computer


  3. Posts : 38
    Windows 10 Pro
       #3

    Can't change Bios order


    It sounds as if you need to edit the Grub menu in order to offer you a choice of which OS to load. See the article at How to Configure the GRUB2 Boot Loaders Settings which gives a full explanation. If you are having difficulty in launching Ubuntu, then try holding Shift whilst booting the PC.
      My Computer


  4. Posts : 5,478
    2004
       #4

    MikeinGrange said:
    It sounds as if you need to edit the Grub menu
    The OP is booting straight into Windows.
      My Computer


  5. Posts : 213
    Thread Starter
       #5

    I mounted the EFI partition in "B" so I get this

    B:\> bcdedit /set {bootmgr} path B:\EFI\ubuntu\grubx64.efi
    The set command specified is not valid.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.
      My Computer


  6. Posts : 5,478
    2004
       #6

    doriandiaconu said:
    B:\> bcdedit /set {bootmgr} path B:\EFI\ubuntu\grubx64.efi
    You don't need that B:

    You are telling the firmware about what directory inside the ESF to use - it doesn't know anything about Windows Drive letters.

    Just put this

    bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

    This is assuming there is such a program in B:\EFI\ubuntu directory
      My Computer


  7. Posts : 213
    Thread Starter
       #7

    PS B:\> bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
    The set command specified is not valid.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.
      My Computer


  8. Posts : 15,489
    Windows10
       #8

    doriandiaconu said:
    PS B:\> bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
    The set command specified is not valid.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.
    Sometimes powershell is not fully compatible with the command shell when it comes to bcdedit commands.

    Type CMD to get to old command shell, and try again.
      My Computer


  9. Posts : 5,478
    2004
       #9

    Exactly - doesn't work in powershell

    Can't change BIOS order-capture.png
      My Computer


  10. Posts : 213
    Thread Starter
       #10

    It worked. Thank you!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:38.
Find Us




Windows 10 Forums