0

I have removed windows partitions in order to completly remove windows 10 and continue with Ubuntu.However, even after updating grub using {sudo update-grub} it still shows windows boot loader. I want to remove grub menu which shows before booting so that it takes less time to boot up. I tried it with grub customizer.After booting up it takes even more time. I want to know how can i change grub settings so that it takes least amount of time to boot.Some information about my system is Ubuntu 18.04 i3 5005u 4gb ram [my disk partitions [][1]1

0

You can use efibootmgr to make grub the detault boot target to avoid seeing the windows boot manager. E.g.,

sudo efibootmgr
BootCurrent: 0000
Timeout: 10 seconds
BootOrder: 0004,0000,2001,2002,2003
Boot0000* ubuntu
Boot0003* Windows Boot Manager
Boot0004* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network

To make ubnuntu the default, modify the order of the list.

sudo efibootmgr -o 0,4,2001,2002,2003
BootCurrent: 0000
Timeout: 10 seconds
BootOrder: 0000,0004,2001,2002,2003
Boot0000* ubuntu
Boot0003* Windows Boot Manager
Boot0004* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network

Now to reduce the boot timeout in grub, modify the /etc/default/grub and set GRUB_TIMEOUT to a smaller value.

sudo vi /etc/default/grub

Modify GRUB_TIMEOUT=1

sudo update-grub

Update: Note that for the boot manager order list, make sure you modify the list you have and not use my example directly. You can also reduce normal efi bootmanager timeout by changing it, e.g.,

sudo efibootmgr -t 1
  • Great! Glad that you can remove Windows, I have to keep mine to play some old games I have. – Bernard Wei Aug 22 '18 at 18:55

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.