Skip to content

Instantly share code, notes, and snippets.

@axilleas
Created January 25, 2013 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axilleas/4634989 to your computer and use it in GitHub Desktop.
Save axilleas/4634989 to your computer and use it in GitHub Desktop.
Grub2 quick installation for new Archlinux installations
#!/bin/env bash
# https://wiki.archlinux.org/index.php/GRUB2#Install_to_440-byte_MBR_boot_code_region
modprobe dm-mod
grub-install --target=i386-pc --recheck --debug /dev/sda
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment