I have a dual-booted pc with windows 10 and ubuntu 14.04, which has been working just fine for a few months now. I noticed yesterday, however, that now when I restart my computer it boots straight to windows without showing me the grub menu. Secure boot is still disabled. I don't know if this is related to a windows update or what, but help in resolving the issue would be most welcome.
3 Answers
You can try to repair the grub by using boot-repair-disk. It would repair the grub, provided Ubuntu is not corrupted.
- 1
Maybe a "bigger" Windows update did reset your energy settings configuration
or it somehow "changed" or "damaged" something within the EFI boot partition.
First attempt to bring everything back to normal behaviour :
Boot into BIOS and select Ubuntu in UEFI settings to be the default system to boot.
Restart the computer - when everything is fine now you're done - if not - second attempt :
Boot into Windows and disable hibernation and Fast Boot.
To disable hibernation open command prompt as administrator and execute :
powercfg /h off
To disable Fast Boot open Control Panel (the old version - not the modern design),
select the Energy Settings, enable show hidden settings and uncheck Fast Boot.
After having done this shutdown the machine completely - do NOT reboot !
Start the computer - when everything is fine now you're done - if not - third attempt :
Reinstall the GRUB boot loader to your Ubuntu installation in EFI mode.
Boot from the Ubuntu installation media - open a terminal and execute:
sudo mount /dev/sd*** /mnt
sudo mount /dev/sd** /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sd*
update-grub
Note:
sd* = disk | sd** = efi partition | sd*** = system partition
To identify the partition numbers use GParted - it is included in the Ubuntu installation media.
Boot into BIOS and select Ubuntu in UEFI settings to be the default operating system to boot.
- 31,491