Skip to content

Instantly share code, notes, and snippets.

@heftig
Created December 1, 2011 12:18
Show Gist options
  • Save heftig/1416304 to your computer and use it in GitHub Desktop.
Save heftig/1416304 to your computer and use it in GitHub Desktop.
# grub-mkimage -d /usr/lib/grub/x86_64-efi -O x86_64-efi -p /grub -o /boot/EFI/boot/bootx64.efi part_gpt fat normal boot configfile
set color_normal=white/black
set color_highlight=black/white
set menu_color_normal=blue/black
set menu_color_highlight=black/blue
set timeout=1
insmod efi_gop
set default=0
menuentry "Arch Linux (ZEN)" {
insmod linux
linux /vmlinuz-linux-zen threadirqs pcie_aspm=force ro quiet splash root=/dev/disk/by-label/shine-root resume=/dev/disk/by-label/shine-swap init=/bin/systemd
initrd /initramfs-linux-zen.img
}
menuentry "Arch Linux" {
insmod linux
linux /vmlinuz-linux threadirqs pcie_aspm=force ro quiet splash root=/dev/disk/by-label/shine-root resume=/dev/disk/by-label/shine-swap init=/bin/systemd
initrd /initramfs-linux-fallback.img
}
menuentry "Arch Linux (rescue)" {
insmod linux
linux /vmlinuz-linux 1 ro root=/dev/disk/by-label/shine-root
initrd /initramfs-linux-fallback.img
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment