Closed yuriuseu closed 1 year ago
I need your grub.cfg
file
I need to know chromeos class name in grub.cfg file
@vinceliuice Default grub boot files are available in the brunch repository itself (I'm currently using the latest stable r107
branch).
All I did is mount the EFI partition of my current setup and install whitesur
under themes
directory and set the default theme from theme.cfg
:
grub_theme=whitesur
#loadfont /efi/boot/themes/$grub_theme/UbuntuMonoBold28.pf2
set theme=/efi/boot/themes/$grub_theme/theme.txt
export theme
set gfxmode=auto,1024x768
set gfxpayload=text
terminal_output gfxterm
Here's a reference of the actual grub.cfg
you're looking for (I did not modify this):
set timeout=2
regexp --set disk "(^.+)(,gpt)" $root
source /efi/boot/theme.cfg
source /efi/boot/settings.cfg
menuentry "ChromeOS" --class "brunch" {
if [ -z $verbose ] -o [ $verbose -eq 0 ]; then
linux ($disk,7)$kernel boot=local noresume noswap loglevel=7 cros_secure cros_debug options=$options chromeos_bootsplash=$chromeos_bootsplash $cmdline_params \
console= vt.global_cursor_default=0 brunch_bootsplash=$brunch_bootsplash quiet
else
linux ($disk,7)$kernel boot=local noresume noswap loglevel=7 cros_secure cros_debug options=$options chromeos_bootsplash=$chromeos_bootsplash $cmdline_params
fi
initrd ($disk,7)/lib/firmware/amd-ucode.img ($disk,7)/lib/firmware/intel-ucode.img ($disk,7)/initramfs.img
}
menuentry "ChromeOS (settings)" --class "brunch-settings" {
linux ($disk,7)/kernel boot=local noresume noswap loglevel=7 cros_secure cros_debug options= chromeos_bootsplash= edit_brunch_config=1
initrd ($disk,7)/lib/firmware/amd-ucode.img ($disk,7)/lib/firmware/intel-ucode.img ($disk,7)/initramfs.img
}
Class name is just brunch
(which boots the actual OS) and brunch-settings
(which launches the Brunch Configuration Menu to set the default kernel, kernel parameters, boot splash themes, etc.. and reboots the device).
It is safe to use brunch
(and/or chromeos
as a substitute) class name I guess, since brunch
is just the loader to ChromeOS (ChromeOS itself obfuscates its own boot configuration stuff, e.g is ChromeOS Flex doesn't show GRUB menu option by default, i.e it doesn't have class names like the one with brunch
).
EDIT:
grub.cfg
file (I've copied this file from the installation I did using the latest reven
(ChromeOS Flex) recovery).
Ok, I'll add those icons
I'm using the whitesur theme with brunch and it looks good. Just wondering what it looks like with a ChromeOS icon. Would love to see a plain white and colored icon if possible.
Here's the preview (camera quality is bad, but it looks good in actual):
The background image used is this: