iPXE discussion forum
Windows 7 installer won't see a FreeBSD target via IPXE - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Windows 7 installer won't see a FreeBSD target via IPXE (/showthread.php?tid=7161)



Windows 7 installer won't see a FreeBSD target via IPXE - frankpeng - 2013-12-30 13:57

Hi,
I installed a target on FreeBSD 10.0-RC3 with ctl. The target can be formatted in Windows 7 Ultimate by using iSCSI in control panel and Windows computer manager-Disk Management.

When I click the properties of the disk, it shows:
FREEBSD CTLDISK SCSI Disk Device
...
Location Bus Number 0, Target Id 0, LUN 0

Back in the control panel, the Discovered targets are:
iqn.2003-05.ca.pcccom:target0

I made an IPXE USB by using make bin/ipxe.usb embed=/usr/local/ipxe/script.ipxe

The script is like this:

#!ipxe
#create a unique string for our client iqn
set initiator-iqn iqn.2003-05.ca.pccom:iscsiboot-${net0/mac}
dhcp net0
#perserve iscsi connection
set keep-san 1
#This must be change to the name and IP of your iscsitarget
sanboot iscsi:192.168.0.125::::iqn.2003-05.ca.pccom:target0
I booted the computer from the USB. I tried to install a demo LINUX from http://ipxe.org. It worked. Seems IPXE has no problem.

The problem is that when I start installing Windows 7 from DVD, it won't find the iSCSI target.
If it is the router problem, please help me to add a command.


RE: Windows 7 installer won't see a FreeBSD target via IPXE - robinsmidsrod - 2014-01-08 08:52

Try to add the line
Code:
set net0/gateway 192.168.0.125
right before the sanboot line and see if that helps. It should force Windows to connect to the iSCSI target directly instead of via your router.

If that doesn't change anything, you probably need to make sure the initiator-iqn you specified is allowed to connect to the target. I think you need to allow the Microsoft IQN as well. That might depend on your setup.