Serverboi.org
Home reboot-to-uefi - A simple batch / bash file to act as a clone of ASROCK restart to UEFI
Post
Cancel

reboot-to-uefi - A simple batch / bash file to act as a clone of ASROCK restart to UEFI


reboot-to-uefi

reboot-to-uefi is a simple batch / bash script to act as a clone of ASROCK restart to UEFI, but for non ASROCK motherboards.

Usage (Windows):

One liner to download and execute (cmd running as administrator):

1
curl -sS https://raw.githubusercontent.com/JakeTurner616/reboot-to-bios/main/reboot-to-bios.bat > reboot-to-bios.bat && cmd /C reboot-to-bios.bat

Or clone/copy contents of reboot-to-bios.bat into a file with a .bat file extension, then run it as administrator.

Usage (Most Linux OS’s):

One liner to download and execute (privledged shell):

1
wget https://raw.github.com/JakeTurner616/reboot-to-bios/main/reboot-to-bios.sh -O - | bash

Or clone/copy contents of reboot-to-bios.sh into a file with a .sh file extension, then run it as a privledged user.


Limitations:

  • Script must be ran as privledged user - Will return an error otherwise.

  • Might not work for certian motherboards with fast-boot / ultra-fast-boot on Windows.

  • Might not work with some configurations of Windows fast-startup.

  • Uses systemctl only on Linux as of now - Requires systemd as init system.

Future ideas:

  • Update Linux version to detect the active init system being used as to support more distros.

Edit this page’s markdown on github.


This post is licensed under GNU GPL-3.0 .
Contents