I have a hp laptop that came with windows 8.1 I have successfully installed ubuntu in another partition. The problem is whenever I turn on my computer it boots into windows 8.1 directly, no grub. So if I shutdown and turn on my computer again like last time but I press esc
to pause boot I press f9 to see the UEFI boot menu I see ubuntu at the top (I changed the order) and then window bootloader and then any other usb or cd put in. If I go to ubuntu I see grub and it works how I want it to!! when it boots into ubuntu and shutdown and start up again I see grub but if I click windows 8.1 in grub goes into windows I shutdown and it boots back into windows 8.1, no grub.
I have secure boot enabled and faststart disabled.
One other problem is that clicking windows in grub goes straight into windows boot but when I click ubuntu it keeps the background up of grub theme up for 30 seconds before booting into ubuntu.
Thank you.
secure boot
was enabled? Or did you install it when it was disbled? If it was disabled, and afterwards you enabled it again, that might be the problem. If this doesn't solve the problem, just reinstallgrub 2
( boot from your installation medium, usually a usb-stick, and runsudo apt install --reinstall grub
). See also https://en.wikipedia.org/wiki/GNU_GRUB – Joepie Es Mar 22 '22 at 21:27