-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65338d7
commit c932c1d
Showing
2 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.