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.
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.