11

I try sudo gedit /etc/default/grub and try to change GRUB_TIMEOUT=0 to GRUB_TIMEOUT=5 but when I save, I get this:

** (gedit:5998): WARNING **: 20:18:19.296: Set document metadata failed: Setting attribute metadata::gedit-position not supported

Then I try to reboot my laptop and again, Ubuntu loads too fast for me to enter BIOS.

  • Do you use EFI-Boot? – Boba Fit Mar 21 at 19:04
  • 1
    Try sudoedit /etc/default/grub then run sudo update-grub. Best to never use 0, I use 3 just so I have enough time if quick to enter grub menu. You can also get to BIOS if you turn off fast boot in UEFI so you have time to press the key to get into UEFI/BIOS. Beside f2 or whatever key is correct, and grub menu entry to get into UEFI, this also should work. sudo systemctl reboot --firmware-setup Also total cold boot, or full power shutdown & drain power. If laptop remove battery to drain all power. Then UEFI does not do fast boot, but normal boot. – oldfred Mar 21 at 19:15
  • 1
    Some laptops(eg. my Lenovo Ideapad) wont load the BIOS if you restart it. Only loads with the relevant key is pressed during boot after a complete poweroff(via the shutdown command ). – Tejas Kale Mar 23 at 21:42
28

The warning message you got is not important. You can ignore that one.

Your problem will not be solved, when grub takes longer to choose. You first start with your BIOS layer, then you will get to grub and grub loads the Linux-kernel and hence Ubuntu. When you have reached grub, there is no way back into the BIOS Setup.

But in GNU/Linux you can reboot directly into the BIOS Setup, by the following command:

systemctl reboot --firmware-setup

I found the command on Super User.

| improve this answer | |
  • 5
    The grub timeout does matter if it's an EFI system and the grub menu has a "System Setup" option (or if you know the grub command for it, which is fwsetup). – hobbs Mar 22 at 4:35
  • 1
    Does it work for classical BIOS, not UEFI? – Ruslan Mar 22 at 10:12
  • 2
    @hobbs: However, the OP is very explicit in that they want to enter the BIOS, not the EFI. They use the term "BIOS" twice in the question, and tagged the question with bios, whereas they use the term "EFI" or "UEFI" zero times, and haven't applied an EFI or UEFI related tags to the question, so we can safely assume that the question is about BIOS, not EFI. – Jörg W Mittag Mar 22 at 13:55
  • 21
    @JörgWMittag That's a very optimistic view. Not wanting to underestimate the OP, but the number of people that haven't noticed that newer versions of computers don't come with BIOS anymore is staggering. – DRF Mar 22 at 14:21
  • 6
    @R..GitHubSTOPHELPINGICE I can assure you that is not the case anymore. Some UEFI/EFI computers have BIOS emulation and more and more don't even have that these days. – DRF Mar 22 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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