pentest-distro-builder/modules/parrot-build/templates/common/bootloaders/grub-pc/grub.cfg

95 lines
2 KiB
INI
Raw Normal View History

2018-09-05 17:06:30 -06:00
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=cyan/black
set color_highlight=white/blue
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
menuentry "Live" {
linux KERNEL_LIVE APPEND_LIVE
initrd INITRD_LIVE
}
menuentry "Text" {
linux KERNEL_LIVE APPEND_LIVE systemd.unit=multi-user.target
initrd INITRD_LIVE
}
menuentry "RAM mode" {
linux KERNEL_LIVE APPEND_LIVE toram
initrd INITRD_LIVE
}
menuentry "Forensics mode" {
linux KERNEL_LIVE APPEND_LIVE noswap noautomount
initrd INITRD_LIVE
}
menuentry "Persistence" {
linux KERNEL_LIVE APPEND_LIVE persistence
initrd INITRD_LIVE
}
menuentry "Encrypted persistence" {
linux KERNEL_LIVE APPEND_LIVE persistent=cryptsetup persistence-encryption=luks persistence
initrd INITRD_LIVE
}
menuentry "Failsafe (nomodeset)" {
linux KERNEL_LIVE APPEND_LIVE nomodeset
initrd INITRD_LIVE
}
menuentry "Failsafe (disable nvdia/amd gpu)" {
linux KERNEL_LIVE APPEND_LIVE nouveau.modeset=0 nvidia.modeset=0 radeon.modeset=0
initrd INITRD_LIVE
}
menuentry "Failsafe (strong errors prevention)" {
linux KERNEL_LIVE APPEND_LIVE config memtest noapic noapm nodma nomce nolapic nomodeset nosplash vga=normal
initrd INITRD_LIVE
}
# Installer
menuentry "Installer" {
linux /install/vmlinuz vga=normal quiet
initrd /install/initrd.gz
}
menuentry "GTK Installer" {
linux /install//gtk/vmlinuz video=vesa:ywrap,mtrr vga=768 quiet
initrd /install/gtk/initrd.gz
}
submenu 'Advanced options...' {
# More installer entries (if any)
LINUX_ADVANCED_INSTALL
# Memtest (if any)
MEMTEST
}