Verified Commit d7d00def authored by Tallero Tallero's avatar Tallero Tallero
Browse files

update

parent 6f0ef05e
Pipeline #22137 passed with stage
in 10 seconds
......@@ -44,3 +44,33 @@ menuentry "UEFI Shell" {
search --no-floppy --set=root --fs-uuid %ARCHISO_UUID%
chainloader /shellia32.efi
}
if [ "${grub_platform}" == "efi" ]; then
if [ "${grub_cpu}" == "x86_64" ]; then
menuentry "UEFI Shell" {
insmod chain
search --no-floppy --set=root --fs-uuid %ARCHISO_UUID%
chainloader /shellx64.efi
}
elif [ "${grub_cpu}" == "i386" ]; then
menuentry "UEFI Shell" {
insmod chain
search --no-floppy --set=root --fs-uuid %ARCHISO_UUID%
chainloader /shellia32.efi
}
fi
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
fwsetup
}
fi
menuentry "System shutdown" --class shutdown --class poweroff {
echo "System shutting down..."
halt
}
menuentry "System restart" --class reboot --class restart {
echo "System rebooting..."
reboot
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment