Skip to content

Instantly share code, notes, and snippets.

@yuri1969
Created November 8, 2021 21:23
Show Gist options
  • Save yuri1969/0f75c8661682b04a9590bd9ac0ff638f to your computer and use it in GitHub Desktop.
Save yuri1969/0f75c8661682b04a9590bd9ac0ff638f to your computer and use it in GitHub Desktop.
Gentoo Grub updater
#!/bin/bash
{ grub-install --target=x86_64-efi /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg } || { echo "*** ERROR ***" >&2; exit 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment