pentest-distro-builder/modules/live-build-config/kali-config/common/bootloaders/grub-pc/grub.cfg
2020-01-29 16:45:43 -07:00

63 lines
1.4 KiB
INI

set default=0
loadfont $prefix/dejavu-bold-16.pf2
loadfont $prefix/dejavu-bold-14.pf2
loadfont $prefix/unicode.pf2
set gfxmode=auto
insmod all_video
insmod gfxterm
insmod png
set color_normal=light-gray/black
set color_highlight=white/black
if [ -e /isolinux/splash.png ]; then
# binary_syslinux modifies the theme file to point to the correct
# background picture
set theme=/boot/grub/live-theme/theme.txt
elif [ -e /boot/grub/splash.png ]; then
set theme=/boot/grub/live-theme/theme.txt
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
terminal_output gfxterm
insmod play
play 960 440 1 0 4 440 1
# Live boot
LINUX_LIVE
menuentry "Live system (forensic mode)" {
linux KERNEL_LIVE APPEND_LIVE noswap noautomount
initrd INITRD_LIVE
}
menuentry "Live system (persistence, check kali.org/prst)" {
linux KERNEL_LIVE APPEND_LIVE persistence
initrd INITRD_LIVE
}
menuentry "Live system (encrypted persistence, check kali.org/prst)" {
linux KERNEL_LIVE APPEND_LIVE persistent=cryptsetup persistence-encryption=luks persistence
initrd INITRD_LIVE
}
# Installer (if any)
LINUX_INSTALL
menuentry "Start installer with speech synthesis" {
linux KERNEL_GI speakup.synth=soft APPEND_GI
initrd INITRD_GI
}
submenu 'Advanced options...' {
# More installer entries (if any)
LINUX_ADVANCED_INSTALL
# Memtest (if any)
MEMTEST
}