iPXE discussion forum

Full Version: Windows 7 installer won't see a FreeBSD target via IPXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
Reference URL's