Skip to content

Instantly share code, notes, and snippets.

@willwm
Last active November 4, 2023 06:21
Show Gist options
  • Save willwm/71e47b1527cb9cc6311d5b52eee4b72e to your computer and use it in GitHub Desktop.
Save willwm/71e47b1527cb9cc6311d5b52eee4b72e to your computer and use it in GitHub Desktop.
Reboot to UEFI from Ubuntu

Yes, you can reboot directly from Ubuntu into your computer's UEFI interface without holding down any keyboard buttons. Here's how you can do it:

  1. Open a terminal window.

  2. Type the following command and press Enter:

    sudo systemctl reboot --firmware-setup
  3. Your computer will reboot and take you to the UEFI (BIOS) interface without the need to hold down any keyboard buttons.

Please note that the exact steps and options may vary slightly depending on your computer's manufacturer and UEFI/BIOS version, but the above command should work on most systems running Ubuntu.

#!/bin/bash
sudo systemctl reboot --firmware-setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment