Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No disks when booting windows 7 setup (x86/x64) from an iSCSI target
2014-11-22, 10:15
Post: #1
No disks when booting windows 7 setup (x86/x64) from an iSCSI target
I'm trying to run the windows setup from an iSCSI target, the target is a NTFS with all the files from the ISO file just like a bootable usb stick.
Booting the setup works fine (but stays very long at the "Stating Windows" screen) with virtualbox but there are no disks available to install on.

OpenWRT (DHCP) > server.lan (debian, tftp, iscsi) > iPXE (undionly.kpxe) > Windows setup

ietd.conf
Code:
Target iqn.2014-11.lan.server:windows_7_sp1_en_x86
    Lun 0 Path=/srv/iscsi/windows_7_sp1_en_x86.iscsi,Type=fileio,IOMode=ro

Target iqn.2014-11.lan.server:windows_7_sp1_en_x64
    Lun 0 Path=/srv/iscsi/windows_7_sp1_en_x64.iscsi,Type=fileio,IOMode=ro

iPXE
Code:
:w7x86
set netX/gateway ${iscsi-server}
sanhook ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x86 || goto failed
sanboot --no-describe

:w7x64
set netX/gateway ${iscsi-server}
sanhook ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x64 || goto failed
sanboot --no-describe

This is the error I get
http://www.mediafire.com/view/x3owbwk6q7..._disks.png

What is the right way to boot the setup from an iSCSI target?
Find all posts by this user
Quote this message in a reply
2014-12-03, 16:39
Post: #2
RE: No disks when booting windows 7 setup (x86/x64) from an iSCSI target
If you want to boot directly from the iSCSI volume you should use this code:
Code:
set netX/gateway ${iscsi-server}
sanboot ${iscsi-url}:iqn.2014-11.lan.server:windows_7_sp1_en_x86 || goto failed
If that volume is an ISO of the Windows installer DVD you won't be able to complete, because it's like you having a machine with only a DVDROM and no HDD. Unfortunately iPXE can only hook one iSCSI volume at a time, so you'll need to hook the iSCSI HDD volume you want to install to and load the windows installer files via a network share (e.g. samba) and boot the installer using the tutorial at http://ipxe.org/howto/winpe.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)