3

My laptop normally shows the GRUB boot menu with options to boot to Ubuntu or with windows boot manager. I pressed escape by accident and then typed in exit in the GRUB command line. Then I pressed esc as instructed in the EFI to shut down. After restarting my laptop, it took me straight to windows 8. Now I can't get to GRUB when I start up my hardware.

I tried booting with my Ubuntu CD but there doesn't seem to be any repair option.

How do I make GRUB appear by default again?

EDIT: I was able to access GRUB through the UEFI boot options, but it still doesn't appear by default. I have to get to the UEFI through windows settings every time.

  • What brand, model system. You can try this: Change boot order with efibootmgr, some require all 4 hex char others 1 is ok. http://askubuntu.com/questions/485261/change-boot-order-using-efibootmgr example: sudo efibootmgr -o 2,1 But some brands only boot Windows entry first, work around is to make grub be a fallback or hard drive entry that can be also first: Sony, HP & others: http://askubuntu.com/questions/486752/dual-boot-win-8-ubuntu-loads-only-win/486789#486789 and: https://askubuntu.com/questions/597052/can-not-boot-anymore-after-a-boot-repair – oldfred Jul 06 '16 at 15:55
  • I tried efibootmgr and changed the boot order. But sure enough, it made no difference. I checked the boot order after rebooting and it seems my changes had been reversed. – Xenial Sasquatch Jul 07 '16 at 06:06
  • I'm using an HP Pavilion 15 that came with windows 8. I installed Ubuntu 16.04 alongside it recently and had no problems - Ubuntu would be the default OS, but not since I exited GRUB from the command line interface (which I thought would simply shut down the system). – Xenial Sasquatch Jul 07 '16 at 06:09
  • Is there any way I can reconfigure the BIOS/EFI. I tried to change the boot order from the "BIOS setup" (F10), but 'OS boot manager' was the only option apart from Network and Hard Drive/SSD, no 'ubuntu'? Something that doesn't require moving the efi file? – Xenial Sasquatch Jul 07 '16 at 06:20
  • When you copy shimx64.efi to bootx64.efi or have Boot-Repair automatically do that, you then have to boot UEFI:hard drive or similar entry. If one does not exist, then you may have to create it. And you should be able to make the fallback/hard drive entry first in boot order. But ubuntu entry with HP does not normally work. – oldfred Jul 07 '16 at 14:27

2 Answers2

0

That's unfortunate pal.. Looks like Ubuntu's bootloader has been removed from the Master boot record. You can try this out

  • Disable Fast Startup, and shut down your computer then boot up again.
  • Try booting using a Live CD and go to Terminal & reinstall grub for your drive in this way from the Live CD sudo grub-install /dev/sdX where X is the letter of your drive.
  • Alternatively check this article or this or this thread out.
  • If all fail, perhaps you can create a thread on this forum

Best of luck pal.

Zuko
  • 1,267
  • 11
  • 12
0

It turns out accessing EFI on "Windows 8 hardware" car reorder the boot sequence. I solved my problem by reinstalling Windows 8 (settings > general > re-install windows) and then Ubuntu.