Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created June 29, 2011 12:06
Show Gist options
  • Save robinsmidsrod/1053713 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/1053713 to your computer and use it in GitHub Desktop.
FreeDOS 1.0 fdfullcd.iso installer booting directly from HTTP with hooked iSCSI drive
#!ipxe
echo
echo Booting FreeDOS installer for ${hostname} from SAN
set root-path iscsi:nas.smidsrod.lan::::iqn.2011-02.lan.smidsrod:${hostname}.boot.freedos
sanhook ${root-path} || goto failed
sanboot -d 0x81 http://boot.smidsrod.lan/freedos-1.0/fdfullcd.iso || goto failed
:failed
echo Boot from ${root-path} failed, dropping to shell
shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment