I have Windows 10 operating system on HP Pavilion laptop not very old. I have installed Linux Mint on another partition and both the operating systems work fine (I am able to use both of them).
My problem is: Whenever I turn on the laptop, I am directly taken to Windows 10 and not given an option for Linux Mint.
To boot into Linux Mint I have to each time press F9 to show boot options, and choose 'Ubuntu' after which I am shown the Linux Mint boot screen option (gives me option to boot into linux-mint compatibility and stuff) - and then choose Linux Mint 17.2 to boot in it.
After pressing F9, I get a menu -> Then I choose second option for Mint, the first is for Windows. (Can I change this priority order?)
I have UEFI enabled (Legacy disabled) and Secure boot disabled. The boot priority is 'OS boot manager' and then USB, DISK etc. There is only OS boot manager, others are external device stuffs.
I have searched for my problem, but couldn't solve it.
First I read about grub, this is my grub file I found at /etc/default/grub
.
These are some of the
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
Then I tried live booting from pen drive and reinstalling grub from there by some commands, but it was giving me errors. (What I understood was I mounted Linux partition and installed grub over there) I tried some more commands mounting individually 'chroot' something but it was giving /cow error.
I had this command sudo update-grub giving me following result in screen shot (which seems satisfactory :\ )
This says Windows boot manager found.
After choosing second option after F9 I am taken to menu where I can boot into Linux Mint as well as Windows from there (typical maroon background menu) I want this menu to appear at first whenever I start my laptop. Yes, I have fast-startup and hibernation stuff all disabled in Windows.