How to disable the grub menu?

707 views
Skip to first unread message

Yaniv Pe'er

unread,
Apr 14, 2020, 10:30:31 AM4/14/20
to Android-x86
Hello


How to skip the grub menu OR set as a "quiet boot"  OR  to set the waiting  time from 5 seconds to 0?

Annotation 2020-04-14 172416.png


youling 257

unread,
Apr 14, 2020, 12:52:38 PM4/14/20
to Android-x86
I test ubuntu focal, no grub menu and show vendor logo when boot ubuntu.

add support for deferred console takeover, when enabled defers
fbcon taking over the console from the dummy console until the
first text is displayed on the console - together with the "quiet"
kernel commandline option this allows fbcon to still be used
together with a smooth graphical bootup (Hans de Goede)
copy the ACPI BGRT boot graphics to the framebuffer when deferred
console takeover support is used in efifb driver (Hans de Goede)
framebuffer is still showing the boot graphics (e.g. vendor logo) when the kernel loads.

I build Androidx86 kernel enable FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER, but not show vendor logo when boot Androidx86.

youling 257

unread,
Apr 14, 2020, 2:08:27 PM4/14/20
to Android-x86
CONFIG_ACPI_BGRT=y
CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
can show vendor logo with boot cmdline "quiet loglevel=3"
need edit initrd.img init remove "echo -n Detecting Android-x86..." echo " found at $1"

how to remove A N D R O I D android_x86:/ # ?

在 2020年4月15日星期三 UTC+8上午12:52:38,youling 257写道:

youling 257

unread,
Apr 14, 2020, 2:44:44 PM4/14/20
to Android-x86
If you set ' GRUB_HIDDEN_TIMEOUT ', you should also set ' GRUB_TIMEOUT=0 ' so that the menu is not displayed at all unless ESC is pressed.

Yaniv Pe'er

unread,
Apr 14, 2020, 4:17:36 PM4/14/20
to Android-x86
where is the file location initrd.img? 

Annotation 2020-04-14 231612.png

Yaniv Pe'er

unread,
Apr 18, 2020, 4:59:09 PM4/18/20
to Android-x86
?

youling 257

unread,
Apr 19, 2020, 12:40:30 AM4/19/20
to Android-x86
if you use uefi grub2, edit grub.cfg, it's android.cfg of Androidx86, 
set timeout_style=hidden
Reply all
Reply to author
Forward
0 new messages