63 lines
1.2 KiB
INI
63 lines
1.2 KiB
INI
load function_video {
|
|
if [ x$feature_all_video_module = xy ]
|
|
then
|
|
insmod all_video
|
|
else
|
|
insmod video_bochs
|
|
insmod video_cirrus
|
|
if test "${grub_platform}" == "efi"
|
|
then
|
|
insmod efi_gop
|
|
insmod efi_uga
|
|
elif test "${grub_platform}" == "pc"
|
|
then
|
|
insmod vbe
|
|
insmod vga
|
|
fi
|
|
fi
|
|
}
|
|
|
|
if loadfont /boot/grub/dejavu-bold-14.pf2
|
|
then
|
|
set gfxmode=auto
|
|
export gfxmode
|
|
load_video
|
|
insmod gfxterm
|
|
terminal_output gfxterm
|
|
insmod gfxmenu
|
|
insmod png
|
|
export theme
|
|
fi
|
|
|
|
set color_normal=white/black
|
|
set color_highlight=black/light-gray
|
|
set menu_color_normal=white/black
|
|
set menu_color_highlight=black/light-gray
|
|
set timeout=10
|
|
set timeout_style=menu
|
|
|
|
|
|
menuentry "Start Ubuntu Sway" --class ubuntudde {
|
|
set gfxpayload=keep
|
|
linux /casper/vmlinuz boot=casper quiet splash ---
|
|
initrd /casper/initrd.lz
|
|
}
|
|
menuentry "Start Ubuntu Sway (Safe Graphics)" --class recovery {
|
|
set gfxpayload=keep
|
|
linux /casper/vmlinuz boot=casper nomodeset quiet splash ---
|
|
initrd /casper/initrd.lz
|
|
}
|
|
|
|
menuentry "Check for Disk Defects" --class memtest {
|
|
set gfxpayload=keep
|
|
linux /casper/vmlinuz boot=casper integrity-check quiet splash ---
|
|
initrd /casper/initrd.lz
|
|
}
|
|
|
|
menuentry "EFI Firmware Settings" --class efi {
|
|
fwsetup
|
|
}
|
|
|
|
menuentry "Power Off" --class shutdown {
|
|
halt
|
|
}
|