I just updated Windows 10 on my dual-boot (Windows 10 + Ubuntu 16.04) machine. As similar as it sounds to other questions asked here on forum this is a different issue I am facing. My grub is not loading on boot-up and directly booting Windows 10 though it has not disappeared completely. I am able to successfully log in to Ubuntu after restarting with advanced UEFI options after pressing Shift + Restart. But is a huge pain to always boot to Windows first and then Boot to Ubuntu.
I have already tried these solutions mentioned on the Internet but to no use.

  1. Using Boot-repair recommended option
  2. Using Boot-repair advanced options
  3. Using bcedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi (in CMD Admin)
  4. Using bcedit /set {bootmgr} path \EFI\ubuntu\grub64.efi (in CMD Admin)
  5. Using bcedit /set {bootmgr} path "\EFI\ubuntu\grub64.efi" (in CMD Admin)
  6. Using bcedit /set {bootmgr} path "\EFI\ubuntu\shimx64.efi" (in CMD Admin)

Options 3-6 give output - "Operation Performed Successfully" but it still does not work.
This is the link for boot-repair output pastebin -
I tried using test-disk but didn't understand anything. These are the screenshots -
list of existing partitions
result of quick search

Please help me out.

  • HP violates UEFI standard, uses description as part of boot. Many have copied shimx64.efi to bootx64.efi to booted hard drive entry . Since it looks like Boot-Repair already did copy have you tried a hard drive entry? You may want to houseclean boot logs in ESP and Boot-Repair sees all the .efi boot files and adds a 25_custom to grub menu which adds many HP entries. askubuntu.com/questions/486752/… & askubuntu.com/questions/778663/… – oldfred Dec 22 '17 at 21:26
  • @oldfred Firstly, Thanks for providing some answer. I tried options 1 and 4 (rEfInd) from your answers, but it still does not solve my problem. My laptop is still booting to Windows 10 directly and yetefibootmgr shows proper boot order. If possible can you provide proper steps as to how I can solve this problem for my laptop ? – Amey Deshmukh Dec 24 '17 at 0:30
  • Did you change boot order either with UEFI or efibootmgr? Are you trying to boot hard disk/fallback and did you change bootx64.efi to be either shimx64.efi or rEFInd's .efi boot file? HP only boot Windows or hard drive entry. Or you have to just choose each time you reboot as you did originally. HP seems to ignore complaints from users. – oldfred Dec 24 '17 at 4:33
  • @oldfred I tried changing the boot order with both UEFI and efibootmgr. I also tried changing bootx64.efi to both shimx64.efi and rEFInd's .efi boot file. I want to choose each time as originally. Also, many of my friends dual-boot HP laptops didn't get any problems when they updated Windows. Nothing seems to work for me. Also, the entries in the grub have increased to more than 20 for each EFI boot option but the grub itself is not appearing on boot up. Please, can you give me step by step instructions on how to resolve this? – Amey Deshmukh Jan 3 '18 at 20:08
  • Most with HP have to use /EFI/Boot/bootx64.efi as either shimx64.efi or use rEFInd. But then you do not boot Ubuntu entry but hard drive entry. Boot-Repair adds 25_custom with all the HP .efi boot files in case you wanted to boot them. Most do not need them in grub and edit or remove 25_custom. see askubuntu.com/questions/778663/… Other HP: askubuntu.com/questions/870453/… – oldfred Jan 3 '18 at 22:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.