How do I set the grub timeout and the grub default boot entry? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to edit GRUB Default Operating System?How to remove countdown in grub menu (disable countdown)Reverting to previous kernel to avoid booting the new one that breaks my systemHow to set windows 10 to boot first instead of Ubuntu?Start Windows automatically unless a key is pressed, then start UbuntuHow to Speed Up Booting Time ? (Bypass Grub)Making Ubuntu my default OSI want to boot directly to my UBUNTU OS without chosing on GRUB menuEdited timeout in /etc/default/grub, and ran update-grub, but timeout remains 10secHow to change grub timeout to zero?How to make Windows the default OS in grub menu?How to set Windows the default OS on dual boot system?Set “older” kernel as default grub entryHow to change the default OS in grub?GRUB Timeout Set to 0, Can't Access GRUB Menu AnymoreMaking Windows Boot Loader the default instead of Grub 2How to set GRUB default, not Windows Boot ManagerSet the GRUB Default OS: Dual-boot Windows 7 and Ubuntu 14.04How can I make GRUB boot by default instead of Windows Boot MangerHow to open GNU GRUB with timeout 0 and default boot set to memtest?
Is there a Spanish version of "dot your i's and cross your t's" that includes the letter 'ñ'?
Proof involving the spectral radius and the Jordan canonical form
Can a non-EU citizen traveling with me come with me through the EU passport line?
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
Gastric acid as a weapon
Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?
Storing hydrofluoric acid before the invention of plastics
Models of set theory where not every set can be linearly ordered
Why constant symbols in a language?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Why one of virtual NICs called bond0?
What causes the vertical darker bands in my photo?
What is the correct way to use the pinch test for dehydration?
Determinant is linear as a function of each of the rows of the matrix.
Did Xerox really develop the first LAN?
What happens to sewage if there is no river near by?
Is the Standard Deduction better than Itemized when both are the same amount?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
What LEGO pieces have "real-world" functionality?
Center align columns in table ignoring minus signs?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
Is 1 ppb equal to 1 μg/kg?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
How do I set the grub timeout and the grub default boot entry?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to edit GRUB Default Operating System?How to remove countdown in grub menu (disable countdown)Reverting to previous kernel to avoid booting the new one that breaks my systemHow to set windows 10 to boot first instead of Ubuntu?Start Windows automatically unless a key is pressed, then start UbuntuHow to Speed Up Booting Time ? (Bypass Grub)Making Ubuntu my default OSI want to boot directly to my UBUNTU OS without chosing on GRUB menuEdited timeout in /etc/default/grub, and ran update-grub, but timeout remains 10secHow to change grub timeout to zero?How to make Windows the default OS in grub menu?How to set Windows the default OS on dual boot system?Set “older” kernel as default grub entryHow to change the default OS in grub?GRUB Timeout Set to 0, Can't Access GRUB Menu AnymoreMaking Windows Boot Loader the default instead of Grub 2How to set GRUB default, not Windows Boot ManagerSet the GRUB Default OS: Dual-boot Windows 7 and Ubuntu 14.04How can I make GRUB boot by default instead of Windows Boot MangerHow to open GNU GRUB with timeout 0 and default boot set to memtest?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
boot dual-boot grub2
add a comment |
In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
boot dual-boot grub2
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
1
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23
add a comment |
In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
boot dual-boot grub2
In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
boot dual-boot grub2
boot dual-boot grub2
edited Jul 19 '15 at 6:46
meteors
asked Jun 8 '12 at 10:10
meteorsmeteors
1,12021019
1,12021019
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
1
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23
add a comment |
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
1
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
1
1
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23
add a comment |
7 Answers
7
active
oldest
votes
- Press Alt + F2, type
gksudo gedit /etc/default/grub
press Enter and enter your password. You will see the following contents:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (
GRUB_HIDDEN_TIMEOUT_QUIET=false
) - You can force the grub menu to show by commenting out the two
GRUB_HIDDEN
lines with a#
at the beginning of the line And set the grub menu timeout (default is 10 seconds)
Make your changes, press Ctrl + S to save and Ctrl + Q to exit
Important: Open a terminal with Ctrl + Alt + T and typesudo update-grub
to apply the changes you just made- Reboot and you should see your timeout/default entry change
Linked Question:
- How do I set Windows to boot as the default in the boot loader?
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
|
show 5 more comments
If you read the file that you are editing in the example above (/etc/default/grub), you will notice that the very first couple lines instruct you to run update-grub
after making changes in order to update the actual file that grub reads to "get its instructions" (/boot/grub/grub.cfg). Note that you must actually run it with the sudo
command first as you need root privileges to actually run the command (which is why the poster above said to type sudo update-grub
). This will cause the changes you made to be written to /boot/grub/grub.cfg. The very next couple lines tell you that you can read the full documentation of options in that file (again, /etc/default/grub) by typing info -f grub -n 'Simple configuration'
.
That said, set GRUB_TIMEOUT to -1 if you want to set the "grub time" to be indefinite. In other words, it will never automatically boot. You will have to make a selection.
Finally, to answer your question, here are the descriptions of those "grub hidden lines" straight from the above-referenced documentation:
GRUB_HIDDEN_TIMEOUT
Wait this many seconds for a key to be pressed before displaying
the menu. If no key is pressed during that time, boot
immediately. Unset by default.
GRUB_HIDDEN_TIMEOUT_QUIET
In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to
suppress the verbose countdown while waiting for a key to be
pressed before displaying the menu. Unset by default.
I hope this helps!
add a comment |
You can use an application called Grub Customizer. It is much more easier.
You can install it by:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
There is an How-To Geek article about it, How to Configure the Linux GRUB 2 Boot Menu the Easy Way. Also, there is a solved thread on the Ubuntu Forums, Change boot order in GRUB 2 that mentions this tool.
Here are some screen shots of this software:
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
add a comment |
I followed the first answer but it seems to need updating if you are dual booting with Windows 7 Pro and Ubuntu 16.04. Also make sure secure boot is off in the BIOS.
a) First he says use Alt + F2 when I think he wants to use to open a terminal window. In my case it is Ctrl+Alt+T.
b) In the first entry gksudo gedit /etc/default/grub
the gksudo
command is not installed by default in Ubuntu 16.04. To get around this do the following in Terminal:
sudo -i
and press Enter and give your password and then Enter again.
then type:
gedit /etc/default/grub
and press Enter.
c) You will now see the grub change menu as illustrated in answer 1. Follow his answer until he gets to Ctrl + S to save the changes. This doesn't work in Ubuntu 16.04 but you should see a save button in the upper right corner of the screen. Click on that.
d) Ctrl + Q to quit.
e) Next type sudo update-grub
and Enter
f) Type exit
. You need to do this twice.
g) Reboot
I found that on my computer after a few logons the boot process would not show the grub screen at start up and therefore I could not get into Ubuntu as I had set Windows as my default bootup with a 7 second delay in case I wanted to get into Ubuntu.
To correct this problem you need to get into Windows.
Click on the start menu and type
CMD
in the search box.Right click on the CMD line which should be at the top of the screen produced by the right clicking.
Click on run as administrator.
On the command line type
bcdedit /set bootmgr path EFIubuntugrubx64.efi
. This entry has the effect of registering the grub menu with the windows boot manager. (Credit to: Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot)Finally, I rebooted back into windows.
I hope this helps.
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they usegksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normalsudo
like this:sudo gedit /etc/default/grub
no need forsudo -i
.
– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,sudo -H
is better, i.e.sudo -H gedit /etc/default/grub
.
– wjandrea
Sep 9 '18 at 0:49
add a comment |
Using default entry based on a number astonished me since its introduction in GRUB. This is really bad idea. How about kernel update and automatic grub re-configuration? How about unaware users that prefer entry at the end of the list? Updates would break that default number based configuration.
Instead use SAVED option here to remember last chosen entry:
GRUB_DEFAULT=SAVED
GRUB_SAVEDEFAULT=TRUE
Then apply GRUB with
sudo update-grub
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
add a comment |
This doesn't work for me on 16.04, too.
But I fixed it by changing the file /boot/grub/grub.cfg
sudo vim /etc/default/grub
edit grub
sudo update-grub
sudo chmod u+w /boot/grub/grub.cfg
sudo vim /boot/grub/grub.cfg
change timeout value
###segment in /boot/grub/grub.cfg:
set timeout_style=menu
if [ "$timeout" = 0 ]; then
#set timeout=10 # comment this original
set timeout=0 # add this
fi
sudo chmod -w /boot/grub/grub.cfg
reboot
add a comment |
It can be done easily without any codes. Just follow these steps.
1. Open file system.
2. Open 'etc' folder.
3. Open 'default' folder.
4. Find 'grub' file and open it with leafpad (or any other text editor).
5. Set GRUB_TIMEOUT to your need and save it.
6. Now open terminal and type 'update-grub'.
7. Rebbot your system.
That's it.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f148095%2fhow-do-i-set-the-grub-timeout-and-the-grub-default-boot-entry%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
- Press Alt + F2, type
gksudo gedit /etc/default/grub
press Enter and enter your password. You will see the following contents:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (
GRUB_HIDDEN_TIMEOUT_QUIET=false
) - You can force the grub menu to show by commenting out the two
GRUB_HIDDEN
lines with a#
at the beginning of the line And set the grub menu timeout (default is 10 seconds)
Make your changes, press Ctrl + S to save and Ctrl + Q to exit
Important: Open a terminal with Ctrl + Alt + T and typesudo update-grub
to apply the changes you just made- Reboot and you should see your timeout/default entry change
Linked Question:
- How do I set Windows to boot as the default in the boot loader?
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
|
show 5 more comments
- Press Alt + F2, type
gksudo gedit /etc/default/grub
press Enter and enter your password. You will see the following contents:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (
GRUB_HIDDEN_TIMEOUT_QUIET=false
) - You can force the grub menu to show by commenting out the two
GRUB_HIDDEN
lines with a#
at the beginning of the line And set the grub menu timeout (default is 10 seconds)
Make your changes, press Ctrl + S to save and Ctrl + Q to exit
Important: Open a terminal with Ctrl + Alt + T and typesudo update-grub
to apply the changes you just made- Reboot and you should see your timeout/default entry change
Linked Question:
- How do I set Windows to boot as the default in the boot loader?
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
|
show 5 more comments
- Press Alt + F2, type
gksudo gedit /etc/default/grub
press Enter and enter your password. You will see the following contents:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (
GRUB_HIDDEN_TIMEOUT_QUIET=false
) - You can force the grub menu to show by commenting out the two
GRUB_HIDDEN
lines with a#
at the beginning of the line And set the grub menu timeout (default is 10 seconds)
Make your changes, press Ctrl + S to save and Ctrl + Q to exit
Important: Open a terminal with Ctrl + Alt + T and typesudo update-grub
to apply the changes you just made- Reboot and you should see your timeout/default entry change
Linked Question:
- How do I set Windows to boot as the default in the boot loader?
- Press Alt + F2, type
gksudo gedit /etc/default/grub
press Enter and enter your password. You will see the following contents:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (
GRUB_HIDDEN_TIMEOUT_QUIET=false
) - You can force the grub menu to show by commenting out the two
GRUB_HIDDEN
lines with a#
at the beginning of the line And set the grub menu timeout (default is 10 seconds)
Make your changes, press Ctrl + S to save and Ctrl + Q to exit
Important: Open a terminal with Ctrl + Alt + T and typesudo update-grub
to apply the changes you just made- Reboot and you should see your timeout/default entry change
Linked Question:
- How do I set Windows to boot as the default in the boot loader?
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Jun 8 '12 at 10:21
ishish
117k32270295
117k32270295
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
|
show 5 more comments
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
Thanks, @Raja, but grub/grub2 was the main difference. If you had the correct grub2, I would have happily edited your answer instead of making another one :)
– ish
Jun 8 '12 at 10:24
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
thank you your answer worked but can u please explain me the second and third point(the hidden timeout and grub hidden lines) what are they meant for.
– meteors
Jun 8 '12 at 13:34
2
2
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
Please don't recommend anyone change the default grub option by setting an arbitrary index. That's terribly unintuitive and likely to result in disaster. The user may enter the wrong one, or it may change during an upgrade, resulting in unexpected behaviour.
– Cerin
Apr 12 '15 at 17:52
2
2
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
1
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
@Cerin what's your suggestion then?
– Blauhirn
Jan 24 '17 at 13:08
|
show 5 more comments
If you read the file that you are editing in the example above (/etc/default/grub), you will notice that the very first couple lines instruct you to run update-grub
after making changes in order to update the actual file that grub reads to "get its instructions" (/boot/grub/grub.cfg). Note that you must actually run it with the sudo
command first as you need root privileges to actually run the command (which is why the poster above said to type sudo update-grub
). This will cause the changes you made to be written to /boot/grub/grub.cfg. The very next couple lines tell you that you can read the full documentation of options in that file (again, /etc/default/grub) by typing info -f grub -n 'Simple configuration'
.
That said, set GRUB_TIMEOUT to -1 if you want to set the "grub time" to be indefinite. In other words, it will never automatically boot. You will have to make a selection.
Finally, to answer your question, here are the descriptions of those "grub hidden lines" straight from the above-referenced documentation:
GRUB_HIDDEN_TIMEOUT
Wait this many seconds for a key to be pressed before displaying
the menu. If no key is pressed during that time, boot
immediately. Unset by default.
GRUB_HIDDEN_TIMEOUT_QUIET
In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to
suppress the verbose countdown while waiting for a key to be
pressed before displaying the menu. Unset by default.
I hope this helps!
add a comment |
If you read the file that you are editing in the example above (/etc/default/grub), you will notice that the very first couple lines instruct you to run update-grub
after making changes in order to update the actual file that grub reads to "get its instructions" (/boot/grub/grub.cfg). Note that you must actually run it with the sudo
command first as you need root privileges to actually run the command (which is why the poster above said to type sudo update-grub
). This will cause the changes you made to be written to /boot/grub/grub.cfg. The very next couple lines tell you that you can read the full documentation of options in that file (again, /etc/default/grub) by typing info -f grub -n 'Simple configuration'
.
That said, set GRUB_TIMEOUT to -1 if you want to set the "grub time" to be indefinite. In other words, it will never automatically boot. You will have to make a selection.
Finally, to answer your question, here are the descriptions of those "grub hidden lines" straight from the above-referenced documentation:
GRUB_HIDDEN_TIMEOUT
Wait this many seconds for a key to be pressed before displaying
the menu. If no key is pressed during that time, boot
immediately. Unset by default.
GRUB_HIDDEN_TIMEOUT_QUIET
In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to
suppress the verbose countdown while waiting for a key to be
pressed before displaying the menu. Unset by default.
I hope this helps!
add a comment |
If you read the file that you are editing in the example above (/etc/default/grub), you will notice that the very first couple lines instruct you to run update-grub
after making changes in order to update the actual file that grub reads to "get its instructions" (/boot/grub/grub.cfg). Note that you must actually run it with the sudo
command first as you need root privileges to actually run the command (which is why the poster above said to type sudo update-grub
). This will cause the changes you made to be written to /boot/grub/grub.cfg. The very next couple lines tell you that you can read the full documentation of options in that file (again, /etc/default/grub) by typing info -f grub -n 'Simple configuration'
.
That said, set GRUB_TIMEOUT to -1 if you want to set the "grub time" to be indefinite. In other words, it will never automatically boot. You will have to make a selection.
Finally, to answer your question, here are the descriptions of those "grub hidden lines" straight from the above-referenced documentation:
GRUB_HIDDEN_TIMEOUT
Wait this many seconds for a key to be pressed before displaying
the menu. If no key is pressed during that time, boot
immediately. Unset by default.
GRUB_HIDDEN_TIMEOUT_QUIET
In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to
suppress the verbose countdown while waiting for a key to be
pressed before displaying the menu. Unset by default.
I hope this helps!
If you read the file that you are editing in the example above (/etc/default/grub), you will notice that the very first couple lines instruct you to run update-grub
after making changes in order to update the actual file that grub reads to "get its instructions" (/boot/grub/grub.cfg). Note that you must actually run it with the sudo
command first as you need root privileges to actually run the command (which is why the poster above said to type sudo update-grub
). This will cause the changes you made to be written to /boot/grub/grub.cfg. The very next couple lines tell you that you can read the full documentation of options in that file (again, /etc/default/grub) by typing info -f grub -n 'Simple configuration'
.
That said, set GRUB_TIMEOUT to -1 if you want to set the "grub time" to be indefinite. In other words, it will never automatically boot. You will have to make a selection.
Finally, to answer your question, here are the descriptions of those "grub hidden lines" straight from the above-referenced documentation:
GRUB_HIDDEN_TIMEOUT
Wait this many seconds for a key to be pressed before displaying
the menu. If no key is pressed during that time, boot
immediately. Unset by default.
GRUB_HIDDEN_TIMEOUT_QUIET
In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to
suppress the verbose countdown while waiting for a key to be
pressed before displaying the menu. Unset by default.
I hope this helps!
edited Apr 23 '14 at 23:02
belacqua
16k1474103
16k1474103
answered Aug 7 '12 at 0:32
SeanSean
29132
29132
add a comment |
add a comment |
You can use an application called Grub Customizer. It is much more easier.
You can install it by:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
There is an How-To Geek article about it, How to Configure the Linux GRUB 2 Boot Menu the Easy Way. Also, there is a solved thread on the Ubuntu Forums, Change boot order in GRUB 2 that mentions this tool.
Here are some screen shots of this software:
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
add a comment |
You can use an application called Grub Customizer. It is much more easier.
You can install it by:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
There is an How-To Geek article about it, How to Configure the Linux GRUB 2 Boot Menu the Easy Way. Also, there is a solved thread on the Ubuntu Forums, Change boot order in GRUB 2 that mentions this tool.
Here are some screen shots of this software:
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
add a comment |
You can use an application called Grub Customizer. It is much more easier.
You can install it by:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
There is an How-To Geek article about it, How to Configure the Linux GRUB 2 Boot Menu the Easy Way. Also, there is a solved thread on the Ubuntu Forums, Change boot order in GRUB 2 that mentions this tool.
Here are some screen shots of this software:
You can use an application called Grub Customizer. It is much more easier.
You can install it by:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
There is an How-To Geek article about it, How to Configure the Linux GRUB 2 Boot Menu the Easy Way. Also, there is a solved thread on the Ubuntu Forums, Change boot order in GRUB 2 that mentions this tool.
Here are some screen shots of this software:
edited Aug 28 '18 at 10:46
answered Jan 2 '15 at 7:42
Kolappan NathanKolappan Nathan
500720
500720
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
add a comment |
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
1
1
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
This needs an update related to the dual levels of current grub menu.
– Hannu
Aug 21 '15 at 9:48
add a comment |
I followed the first answer but it seems to need updating if you are dual booting with Windows 7 Pro and Ubuntu 16.04. Also make sure secure boot is off in the BIOS.
a) First he says use Alt + F2 when I think he wants to use to open a terminal window. In my case it is Ctrl+Alt+T.
b) In the first entry gksudo gedit /etc/default/grub
the gksudo
command is not installed by default in Ubuntu 16.04. To get around this do the following in Terminal:
sudo -i
and press Enter and give your password and then Enter again.
then type:
gedit /etc/default/grub
and press Enter.
c) You will now see the grub change menu as illustrated in answer 1. Follow his answer until he gets to Ctrl + S to save the changes. This doesn't work in Ubuntu 16.04 but you should see a save button in the upper right corner of the screen. Click on that.
d) Ctrl + Q to quit.
e) Next type sudo update-grub
and Enter
f) Type exit
. You need to do this twice.
g) Reboot
I found that on my computer after a few logons the boot process would not show the grub screen at start up and therefore I could not get into Ubuntu as I had set Windows as my default bootup with a 7 second delay in case I wanted to get into Ubuntu.
To correct this problem you need to get into Windows.
Click on the start menu and type
CMD
in the search box.Right click on the CMD line which should be at the top of the screen produced by the right clicking.
Click on run as administrator.
On the command line type
bcdedit /set bootmgr path EFIubuntugrubx64.efi
. This entry has the effect of registering the grub menu with the windows boot manager. (Credit to: Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot)Finally, I rebooted back into windows.
I hope this helps.
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they usegksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normalsudo
like this:sudo gedit /etc/default/grub
no need forsudo -i
.
– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,sudo -H
is better, i.e.sudo -H gedit /etc/default/grub
.
– wjandrea
Sep 9 '18 at 0:49
add a comment |
I followed the first answer but it seems to need updating if you are dual booting with Windows 7 Pro and Ubuntu 16.04. Also make sure secure boot is off in the BIOS.
a) First he says use Alt + F2 when I think he wants to use to open a terminal window. In my case it is Ctrl+Alt+T.
b) In the first entry gksudo gedit /etc/default/grub
the gksudo
command is not installed by default in Ubuntu 16.04. To get around this do the following in Terminal:
sudo -i
and press Enter and give your password and then Enter again.
then type:
gedit /etc/default/grub
and press Enter.
c) You will now see the grub change menu as illustrated in answer 1. Follow his answer until he gets to Ctrl + S to save the changes. This doesn't work in Ubuntu 16.04 but you should see a save button in the upper right corner of the screen. Click on that.
d) Ctrl + Q to quit.
e) Next type sudo update-grub
and Enter
f) Type exit
. You need to do this twice.
g) Reboot
I found that on my computer after a few logons the boot process would not show the grub screen at start up and therefore I could not get into Ubuntu as I had set Windows as my default bootup with a 7 second delay in case I wanted to get into Ubuntu.
To correct this problem you need to get into Windows.
Click on the start menu and type
CMD
in the search box.Right click on the CMD line which should be at the top of the screen produced by the right clicking.
Click on run as administrator.
On the command line type
bcdedit /set bootmgr path EFIubuntugrubx64.efi
. This entry has the effect of registering the grub menu with the windows boot manager. (Credit to: Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot)Finally, I rebooted back into windows.
I hope this helps.
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they usegksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normalsudo
like this:sudo gedit /etc/default/grub
no need forsudo -i
.
– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,sudo -H
is better, i.e.sudo -H gedit /etc/default/grub
.
– wjandrea
Sep 9 '18 at 0:49
add a comment |
I followed the first answer but it seems to need updating if you are dual booting with Windows 7 Pro and Ubuntu 16.04. Also make sure secure boot is off in the BIOS.
a) First he says use Alt + F2 when I think he wants to use to open a terminal window. In my case it is Ctrl+Alt+T.
b) In the first entry gksudo gedit /etc/default/grub
the gksudo
command is not installed by default in Ubuntu 16.04. To get around this do the following in Terminal:
sudo -i
and press Enter and give your password and then Enter again.
then type:
gedit /etc/default/grub
and press Enter.
c) You will now see the grub change menu as illustrated in answer 1. Follow his answer until he gets to Ctrl + S to save the changes. This doesn't work in Ubuntu 16.04 but you should see a save button in the upper right corner of the screen. Click on that.
d) Ctrl + Q to quit.
e) Next type sudo update-grub
and Enter
f) Type exit
. You need to do this twice.
g) Reboot
I found that on my computer after a few logons the boot process would not show the grub screen at start up and therefore I could not get into Ubuntu as I had set Windows as my default bootup with a 7 second delay in case I wanted to get into Ubuntu.
To correct this problem you need to get into Windows.
Click on the start menu and type
CMD
in the search box.Right click on the CMD line which should be at the top of the screen produced by the right clicking.
Click on run as administrator.
On the command line type
bcdedit /set bootmgr path EFIubuntugrubx64.efi
. This entry has the effect of registering the grub menu with the windows boot manager. (Credit to: Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot)Finally, I rebooted back into windows.
I hope this helps.
I followed the first answer but it seems to need updating if you are dual booting with Windows 7 Pro and Ubuntu 16.04. Also make sure secure boot is off in the BIOS.
a) First he says use Alt + F2 when I think he wants to use to open a terminal window. In my case it is Ctrl+Alt+T.
b) In the first entry gksudo gedit /etc/default/grub
the gksudo
command is not installed by default in Ubuntu 16.04. To get around this do the following in Terminal:
sudo -i
and press Enter and give your password and then Enter again.
then type:
gedit /etc/default/grub
and press Enter.
c) You will now see the grub change menu as illustrated in answer 1. Follow his answer until he gets to Ctrl + S to save the changes. This doesn't work in Ubuntu 16.04 but you should see a save button in the upper right corner of the screen. Click on that.
d) Ctrl + Q to quit.
e) Next type sudo update-grub
and Enter
f) Type exit
. You need to do this twice.
g) Reboot
I found that on my computer after a few logons the boot process would not show the grub screen at start up and therefore I could not get into Ubuntu as I had set Windows as my default bootup with a 7 second delay in case I wanted to get into Ubuntu.
To correct this problem you need to get into Windows.
Click on the start menu and type
CMD
in the search box.Right click on the CMD line which should be at the top of the screen produced by the right clicking.
Click on run as administrator.
On the command line type
bcdedit /set bootmgr path EFIubuntugrubx64.efi
. This entry has the effect of registering the grub menu with the windows boot manager. (Credit to: Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot)Finally, I rebooted back into windows.
I hope this helps.
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Sep 22 '16 at 3:15
jsfinesjsfines
5111
5111
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they usegksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normalsudo
like this:sudo gedit /etc/default/grub
no need forsudo -i
.
– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,sudo -H
is better, i.e.sudo -H gedit /etc/default/grub
.
– wjandrea
Sep 9 '18 at 0:49
add a comment |
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they usegksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normalsudo
like this:sudo gedit /etc/default/grub
no need forsudo -i
.
– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,sudo -H
is better, i.e.sudo -H gedit /etc/default/grub
.
– wjandrea
Sep 9 '18 at 0:49
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Can you please link to "illustrated in answer 1" - I couldn't find what you meant.
– Tom Hale
Sep 22 '16 at 5:49
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
Also "I followed the first answer". You can you my "Credit to:" formatting as an example. Great first post. Welcome to AskUbuntu.
– Tom Hale
Sep 22 '16 at 6:25
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
I've had X-window break in odd ways when running graphical applications like gedit as sudo. I suggest using a text-based editor like nano instead.
– Arthur Tacca
Jun 11 '17 at 15:46
2
2
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they use gksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normal sudo
like this: sudo gedit /etc/default/grub
no need for sudo -i
.– Sebastian
Jul 20 '17 at 9:03
Alt+F2
is the unity shortcut to run a command in the background. In the menu that opens, you can enter any command like you would in the terminal. But since it doesn't open a terminal you won't see any terminal output and can't interact with the terminal. That's why you would typically use it for things like starting a GUI program like gedit. Also you can't use sudo since you need the terminal for that. That's why they use gksudo
(the GUI sudo). If you do the commands in a terminal, you can just use the normal sudo
like this: sudo gedit /etc/default/grub
no need for sudo -i
.– Sebastian
Jul 20 '17 at 9:03
@Sebastian For launching a graphical app,
sudo -H
is better, i.e. sudo -H gedit /etc/default/grub
.– wjandrea
Sep 9 '18 at 0:49
@Sebastian For launching a graphical app,
sudo -H
is better, i.e. sudo -H gedit /etc/default/grub
.– wjandrea
Sep 9 '18 at 0:49
add a comment |
Using default entry based on a number astonished me since its introduction in GRUB. This is really bad idea. How about kernel update and automatic grub re-configuration? How about unaware users that prefer entry at the end of the list? Updates would break that default number based configuration.
Instead use SAVED option here to remember last chosen entry:
GRUB_DEFAULT=SAVED
GRUB_SAVEDEFAULT=TRUE
Then apply GRUB with
sudo update-grub
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
add a comment |
Using default entry based on a number astonished me since its introduction in GRUB. This is really bad idea. How about kernel update and automatic grub re-configuration? How about unaware users that prefer entry at the end of the list? Updates would break that default number based configuration.
Instead use SAVED option here to remember last chosen entry:
GRUB_DEFAULT=SAVED
GRUB_SAVEDEFAULT=TRUE
Then apply GRUB with
sudo update-grub
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
add a comment |
Using default entry based on a number astonished me since its introduction in GRUB. This is really bad idea. How about kernel update and automatic grub re-configuration? How about unaware users that prefer entry at the end of the list? Updates would break that default number based configuration.
Instead use SAVED option here to remember last chosen entry:
GRUB_DEFAULT=SAVED
GRUB_SAVEDEFAULT=TRUE
Then apply GRUB with
sudo update-grub
Using default entry based on a number astonished me since its introduction in GRUB. This is really bad idea. How about kernel update and automatic grub re-configuration? How about unaware users that prefer entry at the end of the list? Updates would break that default number based configuration.
Instead use SAVED option here to remember last chosen entry:
GRUB_DEFAULT=SAVED
GRUB_SAVEDEFAULT=TRUE
Then apply GRUB with
sudo update-grub
edited Sep 9 '18 at 0:55
wjandrea
9,57142765
9,57142765
answered Sep 8 '18 at 22:34
CeDeROMCeDeROM
212
212
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
add a comment |
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
1
1
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
Not a big problem, but this doesn't explain how or where to make these changes. You might want to link to another answer that does.
– wjandrea
Sep 9 '18 at 0:55
add a comment |
This doesn't work for me on 16.04, too.
But I fixed it by changing the file /boot/grub/grub.cfg
sudo vim /etc/default/grub
edit grub
sudo update-grub
sudo chmod u+w /boot/grub/grub.cfg
sudo vim /boot/grub/grub.cfg
change timeout value
###segment in /boot/grub/grub.cfg:
set timeout_style=menu
if [ "$timeout" = 0 ]; then
#set timeout=10 # comment this original
set timeout=0 # add this
fi
sudo chmod -w /boot/grub/grub.cfg
reboot
add a comment |
This doesn't work for me on 16.04, too.
But I fixed it by changing the file /boot/grub/grub.cfg
sudo vim /etc/default/grub
edit grub
sudo update-grub
sudo chmod u+w /boot/grub/grub.cfg
sudo vim /boot/grub/grub.cfg
change timeout value
###segment in /boot/grub/grub.cfg:
set timeout_style=menu
if [ "$timeout" = 0 ]; then
#set timeout=10 # comment this original
set timeout=0 # add this
fi
sudo chmod -w /boot/grub/grub.cfg
reboot
add a comment |
This doesn't work for me on 16.04, too.
But I fixed it by changing the file /boot/grub/grub.cfg
sudo vim /etc/default/grub
edit grub
sudo update-grub
sudo chmod u+w /boot/grub/grub.cfg
sudo vim /boot/grub/grub.cfg
change timeout value
###segment in /boot/grub/grub.cfg:
set timeout_style=menu
if [ "$timeout" = 0 ]; then
#set timeout=10 # comment this original
set timeout=0 # add this
fi
sudo chmod -w /boot/grub/grub.cfg
reboot
This doesn't work for me on 16.04, too.
But I fixed it by changing the file /boot/grub/grub.cfg
sudo vim /etc/default/grub
edit grub
sudo update-grub
sudo chmod u+w /boot/grub/grub.cfg
sudo vim /boot/grub/grub.cfg
change timeout value
###segment in /boot/grub/grub.cfg:
set timeout_style=menu
if [ "$timeout" = 0 ]; then
#set timeout=10 # comment this original
set timeout=0 # add this
fi
sudo chmod -w /boot/grub/grub.cfg
reboot
edited Sep 28 '18 at 11:48
answered Sep 28 '18 at 11:39
VictorLeeVictorLee
113
113
add a comment |
add a comment |
It can be done easily without any codes. Just follow these steps.
1. Open file system.
2. Open 'etc' folder.
3. Open 'default' folder.
4. Find 'grub' file and open it with leafpad (or any other text editor).
5. Set GRUB_TIMEOUT to your need and save it.
6. Now open terminal and type 'update-grub'.
7. Rebbot your system.
That's it.
add a comment |
It can be done easily without any codes. Just follow these steps.
1. Open file system.
2. Open 'etc' folder.
3. Open 'default' folder.
4. Find 'grub' file and open it with leafpad (or any other text editor).
5. Set GRUB_TIMEOUT to your need and save it.
6. Now open terminal and type 'update-grub'.
7. Rebbot your system.
That's it.
add a comment |
It can be done easily without any codes. Just follow these steps.
1. Open file system.
2. Open 'etc' folder.
3. Open 'default' folder.
4. Find 'grub' file and open it with leafpad (or any other text editor).
5. Set GRUB_TIMEOUT to your need and save it.
6. Now open terminal and type 'update-grub'.
7. Rebbot your system.
That's it.
It can be done easily without any codes. Just follow these steps.
1. Open file system.
2. Open 'etc' folder.
3. Open 'default' folder.
4. Find 'grub' file and open it with leafpad (or any other text editor).
5. Set GRUB_TIMEOUT to your need and save it.
6. Now open terminal and type 'update-grub'.
7. Rebbot your system.
That's it.
answered Mar 28 at 3:45
Isac varghese kIsac varghese k
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f148095%2fhow-do-i-set-the-grub-timeout-and-the-grub-default-boot-entry%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you give more information. What do you mean with "grub time" and what is your default os. In your grub menu what are the different lines?
– Julien Chau
Jun 8 '12 at 10:16
1
grub time means the countdown time when i have to select the os at the BIOS starting screen. I'm sorry but I don't know exactly what that os selection menu is called so I posted it as grub time.
– meteors
Jun 8 '12 at 13:23