Skip to content

Instantly share code, notes, and snippets.

@dm0-
Created July 18, 2016 21:07
Show Gist options
  • Save dm0-/36eee2da07ec9cf5058432a94af956b4 to your computer and use it in GitHub Desktop.
Save dm0-/36eee2da07ec9cf5058432a94af956b4 to your computer and use it in GitHub Desktop.
Sample GRUB menu item to boot a CoreOS PXE image (assuming it is stored on the seventh GPT partition)
#!/bin/tail -n+2
menuentry 'CoreOS 1109.1.0' --class coreos --class gnu-linux --class gnu --class os --unrestricted {
insmod part_gpt
insmod fat
set root='hd0,gpt7'
linuxefi /coreos/vmlinuz-4.6.4-coreos kvm_intel.nested=1 coreos.autologin=tty1 coreos.configdrive=1
initrdefi /coreos/coreos-1109.1.0.img
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment