Problem Case: Dual booting with Ubuntu (efi/gpt scheme) over Windows (efi/gpt scheme) and My HP pavilion is booting directly to Windows 10.
Details:
Previously installed Windows 10 with UEFI, fast start-up, secure boot enabled.
Later installed Ubuntu (GPT partition scheme for Uefi computers and chose Install Ubuntu alongside Windows)
Installation was successful and after a restart, Computer booted successfully into Ubuntu.
But Ubuntu was unable to access Windows (C drive partition), and suggested to disable fast-startup, so I disabled Fast start-up in Windows. After shutdown and power up, computer is booted directly to Windows 10. Tried many times, but every-time unable to choose OS.
strangely, EasyBCD showing Windows 10 as the only installed OS.
Enabled fast start-up in Windows 10 again but in vain.
Did a boot repair using Ubuntu Live USB [as explained here]
Ran these commands (one by one)
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
after third command it gave error as 'no boot-repair found'
This was never a case with Ubuntu over Windows 7.
Is it because Windows 10 is installed with efi/gpt scheme?
What about following combination (Dual boot with Ubuntu over Windows 10). Which of these cases is best for dual booting to prevent this problem.
- Windows (MBR scheme) and Ubuntu (MBR scheme)
- Windows (efi/gpt scheme) and Ubuntu (efi/gpt scheme) [my problem case]
- Windows (efi/gpt scheme) and Ubuntu (MBR)
sudo apt-get -y install boot-repair && sudo boot-repair
. Yourboot-repair
was never run. Run it with sudo. Then reboot and choose boot order sequence at boot with F8 or F12 , whatever your laptop says. Choose ubuntu.apt install boot-repair
before running the third line. I usesudo apt update && sudo apt install boot-repair
in one line to avoid this issue.