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

Oliver Rath rath at mglug.de
Wed Aug 1 07:14:53 UTC 2012


Hi Marek!

Am 01.08.2012 08:12, schrieb Marek Salwerowicz:
> 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>
>
>
>

You will need a WinPE4 for installing win8 completely diskless. This
will fit into RAM (~330MB), so you can offer the iSCSI-C: drive via 0x80
and the win8-iso as 0x81.

Hth
Oliver




More information about the ipxe-devel mailing list