Hello, I try to hide my GRUB menu. I install from AUR silent-grub package and at the end I see those lines:
Please reinstall GRUB first:
# grub-install --target=i386-pc --boot-directory=/your/boot/partition --bootloader-id=GRUB /dev/sdx
- Then; look at "/etc/default/grub.silent" sample file
and make necessary changes to "/etc/default/grub".
- Lastly, regenerate the GRUB config file:
# grub-mkconfig -o /your/boot/partition/grub/grub.cfg
I see on Archwiki that code:
grub-install --target=i386-pc /dev/sdX
What is the wright command?
Sorry but I don’t understand how that could help?
Last line on that page shows the command you need.
But I don’t have efi boot. I have only /boot partition on my /dev/sda2.
Is there any simple tutorial how to hide grub menu? In other distros I only edit grub.cfg file and that’s all.
You can set the timeout to 0 in /etc/default/grub, but this means you can’t use escape to show it in emergencies (I think this is the reason for the hide grub program).
After editing /etc/default/grub (don’t edit grub.cfg because it is overwritten frequently), run
grub-mkconfig -o /boot/grub/grub.cfg
OK, thanks for help. I uninstall silent-grub and set hidden-timeout to 0. Just make
grub-mkconfig -o /boot/grub/grub.cfg and it works.
Thanks for help.
If you don’t have read this, it might help a bit:
Hi @manuel I read it and it was because of this guide that I had questions. I did not need to install silent-grub as that wiki says.