Find the answer to your Linux question:
Results 1 to 3 of 3
So the time out is default at 10 seconds, I want it to be 300 seconds. Sudo /etc/default/grub and bring it up and edit it, but as soon as I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13

    How to edit Grub 2.0 boot loader time out.


    So the time out is default at 10 seconds, I want it to be 300 seconds. Sudo /etc/default/grub and bring it up and edit it, but as soon as I type anything it changes to read only and wont save. Do I need to save it as a new file? If so which one?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    You need root privileges to edit and save this file.
    Also, dont forget to call "update-grub" afterwards.
    You must always face the curtain with a bow.

  3. #3
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    909
    If you're using the command line such as vi, sudo should work fine.
    If you're editing the file in GUI mode, use gksudo gedit /etc/default/grub
    After saving the file, you want to run grub-mkconfig -o /boot/grub/grub.cfg

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •