Skip to content

Instantly share code, notes, and snippets.

@sonnyksimon
Created August 10, 2019 03:58
Show Gist options
  • Save sonnyksimon/85154134865fdf32d54582ae668b14b5 to your computer and use it in GitHub Desktop.
Save sonnyksimon/85154134865fdf32d54582ae668b14b5 to your computer and use it in GitHub Desktop.
Install rEFInd for Ubuntu
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "ERROR: Must be run with root privileges."
exit 1
fi
apt-add-repository ppa:rodsmith/refind
apt-get update
apt-get install refind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment