Skip to content

Instantly share code, notes, and snippets.

@rahulmr
Created March 2, 2015 11:20
Show Gist options
  • Save rahulmr/b94bff6f9306b87878e6 to your computer and use it in GitHub Desktop.
Save rahulmr/b94bff6f9306b87878e6 to your computer and use it in GitHub Desktop.
#!ipxe
menu iPXE Installation for Ubuntu Trusty and Fedora
item ubuntui386 Ubuntu Trusty i386 Installation
item ubuntuamd64 Ubuntu Trusty x86_64 Installation
item fedora20i386 Fedora 20 i386 Installation
item fedora21server Fedora 21 x86_64 Server Installation
item --gap
item back Go To Main Menu
choose --timeout 20000 --default back target && goto ${target} || goto menu
:ubuntui386
set ubuntu http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-i386/current/images/netboot/ubuntu-installer/i386
initrd ${ubuntu}/initrd.gz
kernel ${ubuntu}/linux tasks=standard vga=788 -- quiet
boot
:ubuntuamd64
set ubuntu http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64
initrd ${ubuntu}/initrd.gz
kernel ${ubuntu}/linux tasks=standard vga=788 -- quiet
boot
:fedora20i386
set fedora http://dl.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/i386/os
initrd ${fedora}/images/pxeboot/initrd.img
kernel ${fedora}/images/pxeboot/vmlinuz vga=788 repo=${fedora}
boot
:fedora21server
set fedora http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/os
initrd ${fedora}/images/pxeboot/initrd.img
kernel ${fedora}/images/pxeboot/vmlinuz vga=788 repo=${fedora}
boot
:back
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment