Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:dverkamp:notes:windows_xp_iscsi [2009/06/08 11:10]
drv
soc:2009:dverkamp:notes:windows_xp_iscsi [2009/06/12 15:46] (current)
drv
Line 3: Line 3:
 == Test == == Test ==
  
-Boot into a Windows XP operating system stored on an iSCSI target ​that requires forward CHAP authentication.+Boot into a Windows XP operating system stored on an iSCSI target.
  
 == DUT configuration == == DUT configuration ==
  
-No physical disks present. ​ System configured to boot from NIC equipped with gPXE ROM.  NIC non-volatile storage configured with iSCSI username and password.+No physical disks present. ​ System configured to boot from NIC equipped with gPXE ROM.
  
 == Environment configuration == == Environment configuration ==
  
-iSCSI target running IETD set up to require forward CHAP authentication. ​ DHCP server providing network configuration and iSCSI root-path, but not providing iSCSI username and password (which are held in the DUT's non-volatile storage).+iSCSI target running IETD set up to require forward CHAP authentication. ​ DHCP server providing network configuration and iSCSI root-path.
  
 == Result == == Result ==
Line 45: Line 45:
 Accept the default network configuration and workgroup. Accept the default network configuration and workgroup.
  
 +After this stage of setup completes and another reboot, setup is complete.
  
 +Click OK on the Display Settings dialog to adjust the screen resolution, then click OK to accept the change.
  
 +After some time, the first-run wizard appears; press Next.
 +
 +Select "Not now" on the Windows Update page, then click Next.
 +
 +Click "​Skip"​ on the network configuration page.
 +
 +Select "​No"​ on the activation page and click Next.
 +
 +Enter "​Test"​ as the first username and click Next.
 +
 +Click Finish.
 +
 +At this point, you should be at the Windows desktop.
 +
 +TODO: Network adapter did not acquire an address from QEMU's DHCP server; reboot allowed it to work.
 +
 +== iSCSI initiator setup ==
 +
 +Download the Microsoft iSCSI [[http://​download.microsoft.com/​download/​C/​0/​3/​C0326CE2-51D0-4E1C-A9E0-7E16BE79410B/​CHK-Boot/​Initiator-2.08-boot-build3825-x86chk.exe|initiator]] in the VM, then run the installer.
 +
 +Select "​Initiator Service"​ and "​Software Initiator"​ only, then click Next.
 +
 +Select "I agree",​ then click Next.
 +
 +Click Finish when the installation is complete.
 +
 +Download http://​git.etherboot.org/​releases/​sanbootconf/​sanbootconf-latest.zip and extract it, then run install.bat.
 +
 +Now setup is complete; shut down the Windows machine.
 +
 +== iSCSI target setup ==
 +
 +On the iSCSI target machine, edit ''/​etc/​ietd.conf''​ to add a target.
 +
 +  Target iqn.2000-01.test.etherboot.org:​iscsiboot.xp
 +          Lun 0 Path=/​path/​to/​hd.img
 +          IncomingUser testuser userpassword
 +          OutgoingUser testtarget targetpassword
 +
 +Ensure the iSCSI target is running. (ex. Gentoo: ''/​etc/​init.d/​ietd start''​)
 +
 +== Booting with gPXE ==
 +
 +TODO: authentication
 +
 +Create a gPXE script as follows and boot it:
 +
 +  #!gpxe
 +  sanboot iscsi:​my.target.dns.name::::​iqn.2000-01.test.etherboot.org:​iscsiboot.xp
 +
 +(where my.target.dns.name is the DNS name or IP of the machine running the iSCSI target)
 +
 +Windows should boot to the desktop.
 +
 +{{:​soc:​2009:​dverkamp:​notes:​winxp-iscsi-rh.png|}}

QR Code
QR Code soc:2009:dverkamp:notes:windows_xp_iscsi (generated for current page)