Skip to content

Instantly share code, notes, and snippets.

@axilleas
Created Jan 25, 2013
Embed
What would you like to do?
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