I have been struggling with setting ubuntu as the default os on boot. For the last 1 year i have been making do with pressing F9 on startup. I have tried almost all solutions provided on the internet (I hope so).
I use Hp pavilion 15-dk0047tx.
When trying to change the order from BIOS,pressing F5/F6 puts ubuntu above Windows, but pressing enter doesn't save the configuration and computer loads into Windows.
I have tried running boot-repair on ubuntu but that didn't work.
When i run bcdedit /enum {fwbootmgr}
on windows, this is the output:
C:\WINDOWS\system32>bcdedit /enum {fwbootmgr}
Firmware Boot Manager
---------------------
identifier {fwbootmgr}
displayorder {6e859b18-9ef0-11e9-a1b1-80e82c904459}
{fda94c49-514b-11eb-b83b-806e6f6e6963}
{bootmgr}
{a52a64e8-f58f-11eb-b912-806e6f6e6963}
{fda94c48-514b-11eb-b83b-806e6f6e6963}
{a52a64e8-f58f-11eb-b912-806e6f6e6963}
timeout 0
when I run efibootmgr on ubuntu, this is the result:
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 2001,0003,0004,2002,2004,0002
Boot0002* Internal Hard Drive - SAMSUNG MZVLB256HAHQ-000H1
Boot0003* Windows Boot Manager
Boot0004* ubuntu
Boot2001* EFI USB Device
Boot3000* Internal Hard Disk or Solid State Disk
Boot3003* Internal Hard Disk or Solid State Disk
When i run efibootmgr -o 4,3
the configuration saves temporarily but still upon startup windows opens.
Thanks in advance.