iPXE discussion forum
Installing Windows 7 on iSCSI without control over DHCP - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Installing Windows 7 on iSCSI without control over DHCP (/showthread.php?tid=10292)



Installing Windows 7 on iSCSI without control over DHCP - mpiechotka - 2017-09-08 01:21

I'd like to install Windows 7 on iSCSI. However when I boot Windows PE (with network drivers) the iSCSI disk is not there. I don't have control over DHCP server so I cannot push that way. How should I do it?


RE: Installing Windows 7 on iSCSI without control over DHCP - NiKiZe - 2017-09-08 07:24

Here is part of my reply to your other thread (which you never answered to)
(2017-09-05 20:48)NiKiZe Wrote:  So winpe starts, but you have no network?

My guess is that you have simply not initialized the network in winpe, or that you are missing network drivers, Which nic are you using in the test machine?

From another post of mine: http://forum.ipxe.org/showthread.php?tid=7059&pid=13472#pid13472

use this inside winpe:
Code:
wpeinit
wpeutil WaitForNetwork
net start dnscache

ipconfig /all
to make sure everything is up in regards to network and see what the result is.

So check the above commands, and then describe your output from ipconfig
Also which nic is in the box? (PCI Vendor and Device id)

And also post the iPXE script that you are using to setup the san device and then boot wimboot


RE: Installing Windows 7 on iSCSI without control over DHCP - mpiechotka - 2017-09-08 20:04

(2017-09-08 07:24)NiKiZe Wrote:  Here is part of my reply to your other thread (which you never answered to)
(2017-09-05 20:48)NiKiZe Wrote:  So winpe starts, but you have no network?

My guess is that you have simply not initialized the network in winpe, or that you are missing network drivers, Which nic are you using in the test machine?

From another post of mine: http://forum.ipxe.org/showthread.php?tid=7059&pid=13472#pid13472

use this inside winpe:
Code:
wpeinit
wpeutil WaitForNetwork
net start dnscache

ipconfig /all
to make sure everything is up in regards to network and see what the result is.

Sorry. I added NIC drivers (it's Intel on-board chip). I made a mistake by trying to list disks by diskmgmt instead of just running setup. I feel stupid.

(2017-09-08 07:24)NiKiZe Wrote:  And also post the iPXE script that you are using to setup the san device and then boot wimboot

Code:
#main script
set initiator-iqn iqn.1991-05.com.microsoft:<hostname>.<domain>
sanhook iscsi:<target hostname>:::0:iqn.2003-01.org.linux-iscsi.<target hostname>.x8664:sn.<id>
chain wimboot/wimboot.ipxe

#wimboot/wimboot.ipxe
cpuid --ext 29 && set arch amd64 || set arch x86

set ver winpe

kernel wimboot
initrd ${ver}/${arch}/media/Boot/BCD            BCD
initrd ${ver}/${arch}/media/Boot/boot.sdi       boot.sdi
initrd ${ver}/${arch}/media/sources/boot.wim    boot.wim
boot



RE: Installing Windows 7 on iSCSI without control over DHCP - NiKiZe - 2017-09-08 20:07

So everything is now working? If so great to hear that!

If not, result from ipconfig (and information about actuall nic in machine) is still missing.