[ipxe-devel] Win 2008r2 - sanboot image and install to iSCSI

Marek Salwerowicz marek_sal at wp.pl
Wed Aug 1 06:12:27 UTC 2012


W dniu 2012-08-01 01:58, Michael Brown pisze:
>
> Try hooking the target disk as the default drive (0x80) and using --drive 0x81
> for win2k8.iso, i.e.:
>
>    sanhook iscsi:192.168.65.135::::iqn.2012--06.freenas.local:win2k8disk
>    sanboot --no-describe --drive 0x81 http://ip/win2k8.iso
Doesn't work for me - the same error (\Boot\BCD, 0xc000000e)

I found at Robin Smidsrod's git site (https://gist.github.com/2234639) 
example with loading the ISO image via initrd/chain:

:windows7-install
echo Starting Windows 7 x64 installer for ${initiator-iqn}
# Hook iSCSI drive
set root-path ${base-iscsi}:${hostname}.boot.windows7
sanhook ${root-path} || goto failed
# Start Windows 7 installer DVD
sanboot --no-describe --drive 0x81 
http://boot.smidsrod.lan/windows-7/ultimate-x64.iso || goto failed
# Better solution, according to Oliver Rath on the mailing-list
# Requires massive amounts of RAM, though
#initrd http://boot.smidsrod.lan/windows-7/ultimate-x64.iso
#chain ../memdisk iso raw || goto failed
goto start but for me it doesn't work / I use it wrong (despite I 
allocated 4GB of RAM to this VM, and image has about 3 GB):

iPXE>sanhook iscsi:192.168.65.135::::iqn.2012-06.freenas.local:win2k8disk
Registered SAN device 0x80

iPXE>initrd http://192.168.65.134/w2k8.iso 
http://192.168.65.134/w2k8.iso... 100% iPXE> chain ../memdisk iso raw 
../memdisk............ connection timed out (http://ipxe.org/4c126035) 
iPXE>



-- 
Marek Salwerowicz



More information about the ipxe-devel mailing list