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.

Harsh Rawat
  • 133
  • 5

2 Answers2

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.

Louis Matthijssen
  • 11,885
  • 6
  • 44
  • 50
  • The HD with Ubuntu is Dual booted with Windows 8. There is no such option in BIOS to manipulate EFI entries. – Harsh Rawat Apr 25 '14 at 09:54
  • Does your computer support EFI and do you use the GPT partition table with an EFI partition? – Louis Matthijssen Apr 25 '14 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. – Harsh Rawat Apr 25 '14 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. – Louis Matthijssen Apr 25 '14 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