Skip to content

Instantly share code, notes, and snippets.

@breyer
Forked from johnko/gist:66515a2db2aa22aa51bd
Last active October 10, 2016 09:06
Show Gist options
  • Save breyer/21f93473a6e7ccdcbabd4e661376ddac to your computer and use it in GitHub Desktop.
Save breyer/21f93473a6e7ccdcbabd4e661376ddac to your computer and use it in GitHub Desktop.
How to iPXE boot from http iso on Leaseweb virtual cloud server
Install custom ISO image at leaseweb via iPXE boot in console mode.
Here: Installing freebsd-11.0-RC3
1. press CTRL-B
If your custom iso is not mounting, and your console is at an iPXE shell, you can:
```
dhcp
initrd http://www.dayofdefeat.org/freebsd/mfsbsd-11.0-RELEASE-amd64.iso
```
While the iso is downloading, leaseweb iPXE does not include memdisk, so we have to upload it ourselves to another host.
Here's one I found public, though I wouldn't recommend using it: http://preseed.panticz.de/ipxe/memdisk
After the iso is downloaded and we get back a prompt, we can then:
```
chain http://preseed.panticz.de/ipxe/memdisk iso
```
After boot:
# mkdir /usr/freebsd-dist/
# cd /usr/freebsd-dist/
# fetch http://ftp.de.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/MANIFEST
# bsdinstall
Nice to know & workarounds:
- you can't load images via HTTPS
- Error code 2a81800 means image to large > out of memory > use a smaller install image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment