Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] GRUB doesn't show on restart
[Solved] GRUB doesn't show on restart
Hi,
When I boot my computer on, I get the GRUB bootloader that allows me to choose between Debian and Windows.
When I restart the computer, however, I don't get GRUB and it boots straight to Debian.
I would like the option to choose which operating system I want to use when I power on and restart the computer.
When I boot my computer on, I get the GRUB bootloader that allows me to choose between Debian and Windows.
When I restart the computer, however, I don't get GRUB and it boots straight to Debian.
I would like the option to choose which operating system I want to use when I power on and restart the computer.
Last edited by VPW23 on 2024-03-12 17:18, edited 7 times in total.
-
- Global Moderator
- Posts: 2979
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 407 times
Re: [Discussion] GRUB doesn't show on restart
Hello,
Can you share a video recording when grub appears and when it does not at boot ?
How do you restart the computer ?VPW23 wrote: ↑2023-12-13 14:57 When I boot my computer on, I get the GRUB bootloader that allows me to choose between Debian and Windows.
When I restart the computer, however, I don't get GRUB and it boots straight to Debian.
I would like the option to choose which operating system I want to use when I power on and restart the computer.
Can you share a video recording when grub appears and when it does not at boot ?
Re: [Discussion] GRUB doesn't show on restart
Sorry for the late response. I recorded the video, but I am unable to attach it to this message because .mov is a "Invalid file format".
Any way that I can convert the video to a supported file format?
[Aki]
Any way that I can convert the video to a supported file format?
[Aki]
-
- Global Moderator
- Posts: 2979
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 407 times
Re: [Discussion] GRUB doesn't show on restart
You may user an external service like wetransfer and then may report back the download url.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 7 times
- Been thanked: 16 times
Re: [Discussion] GRUB doesn't show on restart
You could look for an entry in /etc/default/grub something like
Yours sounds like it might be set to 0, try changing the value (number of seconds to delay before booting the default option) to your liking and then run either:-
or
depending on whether you use sudo or su to get root privileges. Then reboot to test.
Code: Select all
GRUB_TIMEOUT=5
Code: Select all
sudo update-grub
Code: Select all
su -
update-grub
Re: [Discussion] GRUB doesn't show on restart
I just restarted my computer twice, once in Debian and the other time in Windows and your suggestion worked! Thank you so much!
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 7 times
- Been thanked: 16 times
Re: [Discussion] GRUB doesn't show on restart
It also fixed another issue I had, I wanted the timer to be longer.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 7 times
- Been thanked: 16 times
-
- Global Moderator
- Posts: 2979
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 407 times
Re: [Discussion] GRUB doesn't show on restart
Hello,
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any); for example:
I'm glad you sorted it out. :)
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any); for example:
Thanks.[Discussion] [Solved] GRUB doesn't show on restart
Re: [Discussion] GRUB doesn't show on restart
@Dai_trying
Is there a way to disable the timer but still keep the GRUB menu? If not, what is the longest timer can I have for the GRUB menu? It's better now, it would be perfect if I could either disable the timer or have it as long as I can.
Is there a way to disable the timer but still keep the GRUB menu? If not, what is the longest timer can I have for the GRUB menu? It's better now, it would be perfect if I could either disable the timer or have it as long as I can.
Re: [Discussion] GRUB doesn't show on restart
According to man grub, GRUB_TIMEOUT='-1' equates to infinite (aka timer disabled). GRUB_TIMEOUT_STYLE='hidden' can be used to skip showing any Grub menu unless a ESC or F4 are struck, or Shift is held down.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 7 times
- Been thanked: 16 times
Re: [Discussion] GRUB doesn't show on restart
@VPW23
As @mrmazda said, to disable the timer change your grub entry to
I only re-post the solution as the original answer contains apostrophe's which might (untested) change the desired behaviour.
As @mrmazda said, to disable the timer change your grub entry to
Code: Select all
GRUB_TIMEOUT=-1
mrmazda wrote:According to man grub, GRUB_TIMEOUT='-1' equates to infinite
Re: [Discussion] GRUB doesn't show on restart
Which "it"? I purposely included apostrophes (plural word, not possessive noun) because of the "-" character. Trying to determine whether apostrophes were technically required was an apparently futile exercise, likely due to the usual lack of examples in man pages.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 7 times
- Been thanked: 16 times
Re: [Discussion] GRUB doesn't show on restart
Ok, I tested and "It" works both with and without apostrophes (thanks for the grammatical critique ) I am also assuming the "It" would reference the solution offered by both posters as they were both thanked in the same sentence and with the same "mention", and the common denominator would be the (almost) matching solution. Of course this could be a wrong assumption on my part as OP could have also made a grammatical or typographical error.
Note I used the correct reference to the OP's statement of "It" and not "it".
Note I used the correct reference to the OP's statement of "It" and not "it".
VPW23 wrote:It worked. Thanks guys.
mrmazda wrote:Which "it"?