1

I already have Windows10 on SSD. I want to install Ubuntu 18.04 LTS on HDD. I made the partition and started to install it, it did not ask the location for installation and arranged it itself. But when I restart my laptop, windows started, the grub screen did not show up. How can I fix it?

1 Answer 1

1

From Windows 10 side

  1. Start Windows 10.
  2. Run cmd as Administrator.
  3. type this command: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
  4. Restart and I hope You’ll be welcomed by the familiar Grub screen.

If the above entry didn’t change anything, you can reverse it using the command below:

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

Even if the above command didn’t work, try the command below to set the boot back to Windows.

bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi

From live Ubuntu media (DVD or USB) side

Source: https://askubuntu.com/questions/226061/how-to-install-the-boot-repair-tool-in-an-ubuntu-live-disc?answertab=active#tab-top

  1. Insert or connect the Ubuntu live media (DVD or USB).
  2. Find out how to boot your computer from removable media.

    Note that there is a difference between booting of older computers (BIOS/MBR) and newer ones designed for Windows 8 and later releases (UEFI/GPT).

    Reboot the computer from live media and choose Try Ubuntu when asked.

    Try Ubuntu

  3. Connect to the internet, then open a terminal with Ctrl+Alt+t, paste the following commands and run them by pressing Enter:

    sudo apt install software-properties-common; \
    sudo add-apt-repository -y ppa:yannubuntu/boot-repair; \
    sudo apt-get update; \
    sudo apt-get install -y boot-repair && boot-repair
    

    Note: You copy and run them all at once. If you want to run them individually just remove the trailing "; \".

    That's it, the Boot-Repair window will appear!

    Boot-Repair main window

Related:

9
  • 1
    Excellent answer. I'd just add at the end to click "Recommended repair".
    – fixer1234
    Commented Apr 13, 2019 at 19:00
  • 1
    ROTFL! I assumed your user name was a self-deprecating reference to being an old-timer. Then I checked out your home page. Glad a professional is supporting the professionals.
    – fixer1234
    Commented Apr 13, 2019 at 19:08
  • @fixer1234 Always happy to help and glad that did not disappoint!
    – slava
    Commented Apr 13, 2019 at 19:13
  • Thank you for yout attention but bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi command did not work for me. I did not mentioned that i could not be able to boot on the first place. askubuntu.com/questions/1085550/… I tried second solution from the link. I can boot it after that but maybe my setup is completely wrong? Can you help me please?
    – nehiridil
    Commented Apr 13, 2019 at 19:43
  • @nehiridil What step in second solution wrong for you?
    – slava
    Commented Apr 13, 2019 at 19:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .