[gPXE] how can I boot from a hardware iscsi target

SaintDragon saintdragon at 126.com
Mon Mar 15 03:48:53 EDT 2010


Dear gpxe Project team

	 I am testing how to boot from iscsi RAID by using gpxe. But I meet some problem. I hope I could get help from you!
     I have read the contend in the web (http://etherboot.org/wiki/sanboot). But my test enviroment is something different from the enviroment written in the ariticle. The following is my test enviroment and step:

     Enviroment:
     1. A machine with a intel GE network card
     2. A ISCSI RAID subsystem.
     3. OS is Windows 2003 server

     Test step:
     1. Install windows 2003 server on the disk(a SCSI disk), and configure the network card with IP 192.168.1.144
     2. Download and install the iscsi-boot initiator from microsoft(the iscsi initiator is 'Initiator-2.08-boot-build3825-x86chk.exe'), and during the installing, I do remember to 'configure the iSCSI network boot support'.
     3. After installing the 2003, I use a CD with ghost to ghost the 2003 partion to a image, and put the image on the second partion of the disk which installed windows 2003.
     4. Configure the ISCSI RAID subsystem through IE, set the RAID level of raid 5, and divide a LUN 10GB, and map the LUN 0 with every machine can access the LUN and no CHAP. And configure the iscsi data chanel the IP address 192.168.1.11.
     5. Start the windows 2003 server, configure the iscsi initiator so the server can find the ISCSI RAID. And then use ghost to ghost the image to LUN on the ISCSI RAID. In iscsi initiator, I find the target name of ISCSI RAID is 'iqn.1982-02.iscsiraid:raid-000a2021a:default-target'.
     6. Download the gpxe.usb and dd it to a usb key.
     7. Unplug the SCSI disk from the machine, and use the usb key to boot the machine. When prompt, press CTRL+B into gpxe command line. use config command to configure the network card witch IP 192.168.1.144, mask with 255.255.255.0. 
     8. Then I use command sanboot to try to boot from the SAN. The command I type is 'sanboot iscsi:192.168.1.11::::iqn.1982-02.iscsiraid:raid-000a2021a:default-target'. But after several seconds, gpxe promt the following message:
          "Could not initialise iSCSI device: Connection timed out (0x4c0a6035)
           Could not boot from iscsi:192.168.1.11::::iqn.1982-02.iscsiraid:raid-000a2021a:default-target: Connection timed out (0x4c0a6035)"

    How can I boot from a hardware iscsi target with gpxe?

    I am hunger for your help!
    
    Thank you very much!

        Sincerely
Yours
 				

         SaintDragon
        saintdragon at 126.com
          2010-03-15





More information about the gPXE mailing list