Announcement

Collapse
No announcement yet.

Fresh 20.04 Install On Old Apple MacBook - Change GRUB Menu Timeout?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Fresh 20.04 Install On Old Apple MacBook - Change GRUB Menu Timeout?

    Hi,

    I have a very old Apple MacBook which I installed Kubuntu 20.04 LTS 64Bit.
    Everything works great, just have one issue:
    The default timeout for GRUB menu is 30 seconds?
    How can I permanently change the GRUB menu timeout to 3 seconds?
    Let me know, thanks!

    P.S. - Nice work, excellent release!

    Jesse

    #2
    Edit /etc/default/grub
    You'll see a line, GRUB_TIMEOUT=
    Change accordingly (you'll be asked for the password), then update grub.

    Comment


      #3
      Hi,

      Tried what you suggested, still has same 30 second timeout on GRUB boot menu?

      Jesse

      Comment


        #4

        You did run sudo update-grub after editing it, did you not?

        Comment


          #5
          Yes I did update grub

          Comment


            #6
            Hmm. You probably have a GRUB_HIDDEN_TIMEOUT=0 line.
            Try commenting that out (put a # in front of it).

            I'd forgotten about that... haven't used grub for ages (I use rEFInd).

            Comment


              #7
              Sorry, but I don't have a "GRUB_HIDDEN_TIMEOUT=0" line

              Comment


                #8
                Originally posted by JeZ-l-Lee View Post
                How can I permanently change the GRUB menu timeout to 3 seconds?
                tl;dr:
                As well as setting GRUB_TIMEOUT, set GRUB_RECORDFAIL_TIMEOUT in /etc/default/grub, and run update-grub.

                Long story, from my reading of the scripts: Grub has this mechanism to avoid boot loops, where grub writes a "grub variable" to say the boot failed and when the booted system comes up it resets it to tell grub it booted ok. When grub starts, it checks for this and does a "recordfail" timeout if it doesn't see that. But, on several file systems (btrfs, cpiofs, newc, odc, romfs, squash4, tarfs, zfs), and with lvm or diskfilter (whatever they are) presently, grub doesn't have write access, so on EFI systems (idk why EFI) grub (stupidly, IMO) does a "recordfail" timeout every time.
                Regards, John Little

                Comment


                  #9
                  Hi, that worked - thanks!

                  Comment

                  Working...
                  X