Skip to content

Commit

Permalink
Fix grub theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed May 24, 2024
1 parent 65338d7 commit c932c1d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions iso/boot/ubuntu/grub.cfg
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
set timeout=30
if loadfont unicode ; then
set gfxmode=800x600
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
terminal_output gfxterm
fi

loadfont unicode
set timeout=6

set theme=/boot/grub/themes/dappnode
if background_image /boot/grub/themes/dappnode/splash.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
insmod play
play 960 440 1 0 4 440 1 # Plays sound
set theme=/boot/grub/themes/dappnode

menuentry "Install Dappnode (over Ubuntu Server)" {
set gfxpayload=keep
linux /casper/vmlinuz autoinstall --- # Added autoinstall to make it unattended
set background_color=black
set gfxpayload=keep # Maintain the graphical resolution through the booting
linux /casper/vmlinuz autoinstall vga=788 FRONTEND_BACKGROUND=dark --- # Added autoinstall to make it unattended
initrd /casper/initrd
}
grub_platform
if [ "$grub_platform" = "efi" ]; then
menuentry 'Boot from next volume' {
exit 1
}
menuentry 'UEFI Firmware Settings' {
fwsetup
}
else
menuentry 'Test memory' {
linux16 /boot/memtest86+x64.bin
}
fi
}
Binary file modified iso/boot/ubuntu/themes/dappnode/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c932c1d

Please sign in to comment.