![Force Ubuntu boot after power failure](/static/f53c05dee6acc131910dacf8bd39650d/bfd54/pexels-wilson-vitorino-2177473.jpg)
Hello,
in this blog post I will show a little trick to avoid your Ubuntu installation got stuck on GRUB boot menu waiting for you to choose an option after a power failure.
To force Ubuntu boot you can edit your /etc/default/grub
with your favourite text editor, e.g. running this command from your terminal:
nano /etc/default/grub
and then add this line in the file:
GRUB_RECORDFAIL_TIMEOUT=0
Afterwards, remember to run:
sudo update-grub
Next time your pc will have a power failure it will reboot without getting stuck on GRUB!