1

I have a HP Laptop which I dual booted with Windows 8 and Linux Ubuntu. After the installation,Windows started automatically without any GRUB menu. However if I pressed F9 at the start I got "Boot Options" where Ubuntu was specified and I could boot into Ubuntu from there. So I searched the forum and found this article which explained how to restore the GRUB menu.

However even after trying following command several times I couldn't get the GRUB menu.

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

I even tried using efibootmgr to change boot order but it was no god and I couldn't get the GRUB menu as the order was resetted every time I restarted my computer.

1

2 Answers 2

1

Have you tried changing the boot order in your BIOS/UEFI settings?

You can usually get to your BIOS/UEFI settings by pressing DEL, F2 or F11 right after powering on your PC. Set your HD with Ubuntu or Ubuntu's EFI entry as the first boot option and save your settings.

Your PC will restart and boot using GRUB by default.

4
  • The HD with Ubuntu is Dual booted with Windows 8. There is no such option in BIOS to manipulate EFI entries. Apr 25, 2014 at 9:54
  • Does your computer support EFI and do you use the GPT partition table with an EFI partition? Apr 25, 2014 at 10:02
  • Yes my Computer supports UEFI and i have used GPT partition tables with EPI partition . However i have installed both Windows 8 and Ubuntu in Legacy BIOS mode. Apr 25, 2014 at 10:16
  • If you've disabled EFI support you obviously can't use the EFI files. Could you try to boot in Ubuntu and reinstall GRUB using sudo install-grub /dev/sda && sudo update-grub? Replace /dev/sda with the hard drive you want to boot from. Apr 25, 2014 at 10:23
-1

go into the UEFI settings. this is done with the Esc or F10 keys on a HP laptop

Move to system configuration and go down to change boot order then go to the option with the arrow next to it. when you open the menu it should show all the OS'es accessible in the boot menu. select one and save the changes. you should be booting to that drive whenever it is plugged in

2
  • Welcome to Ask Ubuntu. This looks to be almost exactly the same answer that was posted 7 years ago, with just different suggested hotkeys for accessing the settings (which may have changed in the last 7 years). A suggestion that the hotkey might have changed would be more appropriate as a comment, which you can do when you have more reputation, but it doesn't make sense to, for the most part, just duplicate the other answer. Sep 6, 2021 at 1:03
  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. Sep 6, 2021 at 1:03

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.