-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Choose Automated Install by default
Choose the "Automated Install" option from the GRUB menu by default. Moreover, let GRUB know how to retrieve the Debian preseed file from the PXE Server. Signed-off-by: Dimitris Poulopoulos <[email protected]>
- Loading branch information
1 parent
e474dfd
commit 70930cc
Showing
2 changed files
with
225 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,204 @@ | ||
if [ x$feature_default_font_path = xy ] ; then | ||
font=unicode | ||
else | ||
font=$prefix/font.pf2 | ||
fi | ||
|
||
if loadfont $font ; then | ||
set gfxmode=800x600 | ||
set gfxpayload=keep | ||
insmod efi_gop | ||
insmod efi_uga | ||
insmod video_bochs | ||
insmod video_cirrus | ||
insmod gfxterm | ||
insmod png | ||
terminal_output gfxterm | ||
fi | ||
|
||
if background_image /isolinux/splash.png; then | ||
set color_normal=light-gray/black | ||
set color_highlight=white/black | ||
elif background_image /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 default="1>2" # Sets the Automated install as the default entry | ||
set timeout=5 # Sets the timeout to 5 seconds | ||
|
||
insmod play | ||
play 960 440 1 0 4 440 1 | ||
menuentry 'Install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu --hotkey=a 'Advanced options ...' { | ||
set gfxpayload=keep | ||
menuentry '... Expert install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux priority=low vga=788 --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Rescue mode' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux vga=788 rescue/enable=true --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Automated install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux auto=true priority=critical preseed/url=tftp://{{ PXE_SERVER }}/preseed.cfg vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=x '... Expert install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux priority=low vga=788 speakup.synth=soft --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=r '... Rescue mode with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux vga=788 rescue/enable=true speakup.synth=soft --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=a '... Automated install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux auto=true priority=critical vga=788 speakup.synth=soft --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu '... Desktop environment menu ...' { | ||
set gfxpayload=keep | ||
submenu '... GNOME desktop boot menu ...' { | ||
set gfxpayload=keep | ||
menuentry '... Install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=gnome vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu '... GNOME advanced options ...' { | ||
set gfxpayload=keep | ||
menuentry '... Expert install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=gnome priority=low vga=788 --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Automated install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=gnome auto=true priority=critical vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=x '... Expert install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=gnome priority=low vga=788 speakup.synth=soft --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=a '... Automated install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=gnome auto=true priority=critical vga=788 speakup.synth=soft --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
} | ||
} | ||
submenu '... KDE Plasma desktop boot menu ...' { | ||
set gfxpayload=keep | ||
menuentry '... Install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=kde vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu '... KDE Plasma advanced options ...' { | ||
set gfxpayload=keep | ||
menuentry '... Expert install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=kde priority=low vga=788 --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Automated install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=kde auto=true priority=critical vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=x '... Expert install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=kde priority=low vga=788 speakup.synth=soft --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=a '... Automated install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=kde auto=true priority=critical vga=788 speakup.synth=soft --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
} | ||
} | ||
submenu '... LXDE desktop boot menu ...' { | ||
set gfxpayload=keep | ||
menuentry '... Install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=lxde vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu '... LXDE advanced options ...' { | ||
set gfxpayload=keep | ||
menuentry '... Expert install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=lxde priority=low vga=788 --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Automated install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=lxde auto=true priority=critical vga=788 --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=x '... Expert install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=lxde priority=low vga=788 speakup.synth=soft --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry --hotkey=a '... Automated install with speech synthesis' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux desktop=lxde auto=true priority=critical vga=788 speakup.synth=soft --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
} | ||
} | ||
} | ||
} | ||
submenu --hotkey=d 'Accessible dark contrast installer menu ...' { | ||
set menu_color_normal=white/black | ||
set menu_color_highlight=yellow/black | ||
set color_normal=white/black | ||
set color_highlight=yellow/black | ||
background_image | ||
set gfxpayload=keep | ||
menuentry '... Install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux vga=788 theme=dark --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
submenu --hotkey=a '... Advanced options ...' { | ||
set menu_color_normal=white/black | ||
set menu_color_highlight=yellow/black | ||
set color_normal=white/black | ||
set color_highlight=yellow/black | ||
background_image | ||
set gfxpayload=keep | ||
menuentry '... Expert install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux priority=low vga=788 theme=dark --- | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Rescue mode' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux vga=788 rescue/enable=true theme=dark --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
menuentry '... Automated install' { | ||
set background_color=black | ||
linux /debian-installer/amd64/linux auto=true priority=critical vga=788 theme=dark --- quiet | ||
initrd /debian-installer/amd64/initrd.gz | ||
} | ||
} | ||
} |