[O/S] Hide GRUB menu and access it via shortcut on windows
[O/S] Hide GRUB menu and access it via shortcut on windows
I have installed Linux Debian alongside Windows 10. I would like to know how to completely hide the GRUB menu at startup and boot windows by default. Instead, I want to create a shortcut in Windows that will reboot my PC directly into the GRUB menu
- wizard10000
- Global Moderator
- Posts: 1178
- Joined: 2019-04-16 23:15
- Location: southeastern us
- Has thanked: 122 times
- Been thanked: 206 times
Re: [O/S] Hide GRUB menu and access it via shortcut on windows
The way to do this is to set grub's timeout at zero by editing /etc/default/grub, setting the timeout to zero and updating grub. These actions need to be done as root. You'd modify GRUB_TIMEOUT= and set the value to zero.minxty wrote: 2024-10-22 13:43...how to completely hide the GRUB menu at startup and boot windows by default.
But - this might not be a great idea because it will deny you access to grub's recovery console, which may be needed if you have a Linux issue that prevents the machine from running normally. It will also deprive you of an additional method to get into BIOS.
Inside that same file you'll find GRUB_DEFAULT="0" which tells grub which menu entry to boot by default, counting from zero. You'll need to look at your grub menu to tell which number this would be.
I'm afraid this is not possible.Instead, I want to create a shortcut in Windows that will reboot my PC directly into the GRUB menu
If you want to boot Windows first but still have some control over booting Linux I'd suggest setting GRUB_DEFAULT to your Windows install and set GRUB_TIMEOUT to something shorter than the default. I personally set GRUB_TIMEOUT to three seconds so I have enough time to move my grub selection from the default if I need to.
Hope this helps -
we see things not as they are, but as we are.
-- anais nin
-- anais nin
Re: [O/S] Hide GRUB menu and access it via shortcut on windows
so, there is no any way to hide grub menu fully and access it through other methods? or is there way to make smth like reboot to linux link on main systemwizard10000 wrote: 2024-10-22 15:59The way to do this is to set grub's timeout at zero by editing /etc/default/grub, setting the timeout to zero and updating grub. These actions need to be done as root. You'd modify GRUB_TIMEOUT= and set the value to zero.minxty wrote: 2024-10-22 13:43...how to completely hide the GRUB menu at startup and boot windows by default.
But - this might not be a great idea because it will deny you access to grub's recovery console, which may be needed if you have a Linux issue that prevents the machine from running normally. It will also deprive you of an additional method to get into BIOS.
Inside that same file you'll find GRUB_DEFAULT="0" which tells grub which menu entry to boot by default, counting from zero. You'll need to look at your grub menu to tell which number this would be.
I'm afraid this is not possible.Instead, I want to create a shortcut in Windows that will reboot my PC directly into the GRUB menu
If you want to boot Windows first but still have some control over booting Linux I'd suggest setting GRUB_DEFAULT to your Windows install and set GRUB_TIMEOUT to something shorter than the default. I personally set GRUB_TIMEOUT to three seconds so I have enough time to move my grub selection from the default if I need to.
Hope this helps -
- wizard10000
- Global Moderator
- Posts: 1178
- Joined: 2019-04-16 23:15
- Location: southeastern us
- Has thanked: 122 times
- Been thanked: 206 times
Re: [O/S] Hide GRUB menu and access it via shortcut on windows
Windows can't write to the Linux partition where grub's configuration is stored.minxty wrote: 2024-10-22 16:32so, there is no any way to hide grub menu fully and access it through other methods? or is there way to make smth like reboot to linux link on main system
we see things not as they are, but as we are.
-- anais nin
-- anais nin