Setting Ubuntu as first Preference in BIOS

Issue:

In my laptop, Windows has an issue with rebooting.

After clicking reboot, it immediately runs into blank screen.

 

However, rebooting works perfectly fine within Ubuntu. 

Thus, I wanted to set Ubuntu as First preference instead of Windows.  

 

Fix: 

# went to boot manager and changed order of OS
anu@laptop:~$ sudo efibootmgr
[sudo] password for anu:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0004,0001,0003,9999
Boot0004* Windows Boot Manager.........
Boot0001* Ubuntu........
Boot0003* Solid State Disk........
Boot9999* USB Drive (UEFI)............

anu@laptop:~ sudo efibootmgr 0001,0004,0003,9999


 


Attempts:

  1. Turning off Fast Startup

  2. Setting Windows as default option in Ubuntu GRUB

  3. Giving Windows first preference in Startup


But it did not work. 


Thus, I have postponed this issue until I have time to work on it again. 

And I set Ubuntu as the first preference in BIOS, so it will automatically prefer Ubuntu.


What I did:

# Went to grub
sudo nano /etc/default/grub

# Set
GRUB_DEFAULT = 0

sudo update-grub
sudo reboot


Update:

I realized that the same issue pops up if I boot using Windows even once. 

It seems that the boot order is overwritten by windows.. so I have to fix it each time I log in to Windows..

I will look into this Issue and update this post if there are any permanent fixes..  



Comments