2023-10-29 15:43:55 -01:00
|
|
|
source /boot/grub/config.cfg
|
|
|
|
|
2023-10-30 09:08:55 -01:00
|
|
|
# Live boot
|
|
|
|
menuentry "My-distro Live)" --hotkey=l {
|
|
|
|
linux /live/vmlinuz boot=live components quiet splash findiso=${iso_path}
|
2023-10-29 15:43:55 -01:00
|
|
|
initrd /live/initrd.img
|
|
|
|
}
|
2023-10-30 09:08:55 -01:00
|
|
|
menuentry "My-distro Live ( fail-safe mode)" {
|
|
|
|
linux /live/vmlinuz boot=live components memtest noapic noapm nodma nomce nolapic nosmp nosplash vga=788
|
|
|
|
initrd /live/initrd.img
|
2023-10-29 15:43:55 -01:00
|
|
|
}
|
2023-10-30 09:08:55 -01:00
|
|
|
|
|
|
|
# You can add more entries like this
|
|
|
|
# menuentry "Alternate live boot" {
|
|
|
|
# linux /live/vmlinuz boot=live components quiet splash findiso=${iso_path} custom options here
|
|
|
|
# initrd /live/initrd.img
|
|
|
|
# }
|
|
|
|
# menuentry "Alternate graphical installer" {
|
|
|
|
# linux /install/gtk/vmlinuz vga=788 --- quiet custom options here
|
|
|
|
# initrd /install/gtk/initrd.gz
|
|
|
|
# }
|
|
|
|
# menuentry "Alternate textual installer" {
|
|
|
|
# linux /install/vmlinuz vga=normal --- quiet custom options here
|
|
|
|
# initrd /install/initrd.gz
|
|
|
|
# }
|
|
|
|
|
|
|
|
# Installer (if any)
|
|
|
|
if true; then
|
|
|
|
|
|
|
|
source /boot/grub/install_start.cfg
|
|
|
|
|
|
|
|
submenu 'Advanced install options ...' --hotkey=a {
|
|
|
|
|
|
|
|
source /boot/grub/theme.cfg
|
|
|
|
|
|
|
|
source /boot/grub/install.cfg
|
|
|
|
|
2023-10-29 15:43:55 -01:00
|
|
|
}
|
2023-10-30 09:08:55 -01:00
|
|
|
fi
|
2023-10-29 15:43:55 -01:00
|
|
|
|
2023-10-30 09:08:55 -01:00
|
|
|
submenu 'Utilities...' --hotkey=u {
|
|
|
|
|
|
|
|
source /boot/grub/theme.cfg
|
|
|
|
|
|
|
|
# Memtest (if any)
|
|
|
|
if false; then
|
|
|
|
source /boot/grub/memtest.cfg
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Firmware setup (UEFI)
|
|
|
|
if [ "${grub_platform}" = "efi" ]; then
|
|
|
|
menuentry "UEFI Firmware Settings" {
|
|
|
|
fwsetup
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|