Booting Debian/Ubuntu over iSCSI

The only hard part in getting this to fly was finding some of the subtleties in the gPXE documentation. So here's a short summary.

That's it. All the OS stuff can even be done chroot-ed or in an VM without problems!

Debian

Debian seems to have its own mechanism for iscsi-booting that is activated by touch /etc/iscsi/iscsi.initramfs prior to generating the initramfs. This didn't automatically work for me though (maybe more configuration is needed? Where is the documentation?) so I just kept using the aforementioned scripts. If you want to give it a try, http://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/ looks good.

Last Update: 2016-07-21. Tested with Debian 8.2 (Jessie).

Licensed under the Creative Commons Attribution-Share Alike 3.0 License.