Add useful grub menu entries to grub.cfg
This commit is contained in:
parent
de151089ce
commit
98de411847
@ -39,8 +39,32 @@ menuentry "Arch Linux install medium with speakup screen reader (x86_64, UEFI)"
|
|||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "UEFI Shell" {
|
if [ "${grub_platform}" == "efi" ]; then
|
||||||
insmod chain
|
if [ "${grub_cpu}" == "x86_64" ]; then
|
||||||
search --no-floppy --set=root --label %ARCHISO_LABEL%
|
menuentry "UEFI Shell" {
|
||||||
chainloader /shellia32.efi
|
insmod chain
|
||||||
|
search --no-floppy --set=root --label %ARCHISO_LABEL%
|
||||||
|
chainloader /shellx64.efi
|
||||||
|
}
|
||||||
|
elif [ "${grub_cpu}" == "i386" ]; then
|
||||||
|
menuentry "UEFI Shell" {
|
||||||
|
insmod chain
|
||||||
|
search --no-floppy --set=root --label %ARCHISO_LABEL%
|
||||||
|
chainloader /shellia32.efi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
|
||||||
|
fwsetup
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
menuentry "System shutdown" {
|
||||||
|
echo "System shutting down..."
|
||||||
|
halt
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "System restart" {
|
||||||
|
echo "System rebooting..."
|
||||||
|
reboot
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user