Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created March 27, 2012 08:52
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save robinsmidsrod/2214122 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/2214122 to your computer and use it in GitHub Desktop.
Boot Ubuntu x64 installer directly from the network. Only iPXE needed
#!ipxe
dhcp
echo Starting Ubuntu x64 installer for ${hostname}
set base-url http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64
kernel ${base-url}/linux
initrd ${base-url}/initrd.gz
#imgargs linux auto=true url=http://yourserver/some/path/preseed.cfg
boot ||
# If everything failed, give the user some options
echo Boot from ${base-url} failed
prompt --key 0x197e --timeout 2000 Press F12 to investigate || exit
shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment