linuxOS_AP05/debian/test/boot/grub/grub.cfg
2025-09-26 09:40:02 +08:00

58 lines
1.2 KiB
INI

source /boot/grub/config.cfg
# Live boot
menuentry "Live system" --hotkey=l {
linux /boot/vmlinuz-*none hostname=linaro-alip username=linaro findiso=${iso_path}
initrd /boot/initrd.img-*none
}
menuentry "Live system (fail-safe mode)" {
linux /boot/vmlinuz-*none memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788
initrd /boot/initrd.img-*none
}
# You can add more entries like this
# menuentry "Alternate live boot" {
# linux /boot/vmlinuz-*none hostname=linaro-alip username=linaro findiso=${iso_path} custom options here
# initrd /boot/initrd.img-*none
# }
# menuentry "Alternate graphical installer" {
# linux custom options here
# initrd
# }
# menuentry "Alternate textual installer" {
# linux custom options here
# initrd
# }
# Installer (if any)
if false; then
source /boot/grub/install_start.cfg
submenu 'Advanced install options ...' --hotkey=a {
source /boot/grub/theme.cfg
source /boot/grub/install.cfg
}
fi
submenu 'Utilities...' --hotkey=u {
source /boot/grub/theme.cfg
# Memtest (if any)
if [ "${grub_platform}" = "pc" ] -a false; then
source /boot/grub/memtest.cfg
fi
# Firmware setup (UEFI)
if [ "${grub_platform}" = "efi" ]; then
menuentry "UEFI Firmware Settings" {
fwsetup
}
fi
}