iPXE discussion forum
No disks when booting windows 7 setup (x86/x64) from an iSCSI target - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: No disks when booting windows 7 setup (x86/x64) from an iSCSI target (/showthread.php?tid=7538)



No disks when booting windows 7 setup (x86/x64) from an iSCSI target - whocares0101 - 2014-11-22 10:15

I'm trying to run the windows setup from an iSCSI target, the target is a NTFS with all the files from the ISO file just like a bootable usb stick.
Booting the setup works fine (but stays very long at the "Stating Windows" screen) with virtualbox but there are no disks available to install on.

OpenWRT (DHCP) > server.lan (debian, tftp, iscsi) > iPXE (undionly.kpxe) > Windows setup

ietd.conf
Code:
Target iqn.2014-11.lan.server:windows_7_sp1_en_x86
    Lun 0 Path=/srv/iscsi/windows_7_sp1_en_x86.iscsi,Type=fileio,IOMode=ro

Target iqn.2014-11.lan.server:windows_7_sp1_en_x64
    Lun 0 Path=/srv/iscsi/windows_7_sp1_en_x64.iscsi,Type=fileio,IOMode=ro

iPXE
Code:
:w7x86
set netX/gateway ${iscsi-server}
sanhook ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x86 || goto failed
sanboot --no-describe

:w7x64
set netX/gateway ${iscsi-server}
sanhook ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x64 || goto failed
sanboot --no-describe

This is the error I get
http://www.mediafire.com/view/x3owbwk6q7q67rd/no_disks.png

What is the right way to boot the setup from an iSCSI target?


RE: No disks when booting windows 7 setup (x86/x64) from an iSCSI target - robinsmidsrod - 2014-12-03 16:39

If you want to boot directly from the iSCSI volume you should use this code:
Code:
set netX/gateway ${iscsi-server}
sanboot ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x86 || goto failed
If that volume is an ISO of the Windows installer DVD you won't be able to complete, because it's like you having a machine with only a DVDROM and no HDD. Unfortunately iPXE can only hook one iSCSI volume at a time, so you'll need to hook the iSCSI HDD volume you want to install to and load the windows installer files via a network share (e.g. samba) and boot the installer using the tutorial at http://ipxe.org/howto/winpe.