Created
June 29, 2011 12:06
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!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