Skip to content

Instantly share code, notes, and snippets.

@kepstin
Created March 13, 2013 14:37
Show Gist options
  • Save kepstin/5152720 to your computer and use it in GitHub Desktop.
Save kepstin/5152720 to your computer and use it in GitHub Desktop.
KV=3.8.2
ROOT='UUID=27289277-6fc5-4b51-98b2-bb266d6b4898'
ROOTFLAGS='subvol=exherbo,discard,space_cache,inode_cache,noatime'
parameters="initrd=\\EFI\\Exherbo\\initramfs-$KV.img root=$ROOT rootflags=$ROOTFLAGS loglevel=3"
echo -n "$parameters" | iconv -f utf8 -t ucs2 | efibootmgr -c -d /dev/sda -p 1 -g -l "\\EFI\\Exherbo\\vmlinuz-$KV.efi" -L "Exherbo Linux $KV" -@ -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment