Skip to content
Snippets Groups Projects
Commit bb035a0f authored by Valentin Bruch's avatar Valentin Bruch
Browse files

grub template: added UEFI shells and UEFI firmware settings

parent 3734a844
Branches
No related tags found
No related merge requests found
...@@ -65,3 +65,23 @@ menuentry "Show bootflags" { ...@@ -65,3 +65,23 @@ menuentry "Show bootflags" {
cat "/bootflags.txt" cat "/bootflags.txt"
read read
} }
if [ ${grub_platform} == "efi" ]; then
menuentry "UEFI Shell v2" {
insmod fat
insmod chain
search --no-floppy --set=root --file /efi/shell/Shell_Full_v2.efi
chainloader /efi/shell/Shell_Full_v2.efi
}
menuentry "UEFI Shell v1" {
insmod fat
insmod chain
search --no-floppy --set=root --file /efi/shell/Shell_Full_v1.efi
chainloader /efi/shell/Shell_Full_v1.efi
}
menuentry "UEFI Firmware Settings" --id "uefi-firmware" {
fwsetup
}
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment