Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IPXE :: sanhook does not work properly
2019-09-04, 19:41 (This post was last modified: 2019-09-04 19:45 by Andromeda_x.)
Post: #1
IPXE :: sanhook does not work properly
Hello,

I observe a weird situation and looking for help in resolution of the problem.

NOTE: test computer is VM in VMware Workstation 14

* DHCP server is setup and forwards to load iPXE
* iPXE boots and picks up boot.ipxe script
* wimboot initiates
* picks up winshl.ini
* starts install.bat file
** net use \\server\share
** \\server\share\win10\setup [win7,win81,...]
** windows setup starts ok

Now, I want to make installation on san iqn disk.

* Ubuntu 16.04 installed
* iscsi configured with a target for local and remote access
* the target is mounted locally for verification
* in boot.ipxe script added
** set username some_name
** set password some_password
** sanhook iscsi:xxx.xxx.xxx.xxx::::iqn.2019-96.com.domain:storage.lun0
* virtual machine reset
* ....
* iPXE started
* sanhooks attaches iqn as 0x80
* winpe loaded and started
* it takes a while to see 'terminal window' with winpeinit
* response is slow
** net use \\server\share gives an error

Now my question: what did I do wrong?

The setup works fine util I try to attach sanhook in boot.ipxe.... and iPXE reports that sanhook attaches the network san iqn drive successfully.

Then something is not right -- system acts quite slow and it seems like winpe looses network connection (not sure how to troubleshoot this situation).

Does anybody came across this issue? How was it resolved?

Thank you,
Andromeda_x
Find all posts by this user
Quote this message in a reply
2019-09-05, 00:26
Post: #2
RE: IPXE :: sanhook does not work properly
Is your san on the same network as your client?
What is the nic in the machine?
Did you try using a packet capture to see if there is something wrong there?

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2019-09-05, 04:55
Post: #3
RE: IPXE :: sanhook does not work properly
(2019-09-05 00:26)NiKiZe Wrote:  Is your san on the same network as your client?
What is the nic in the machine?
Did you try using a packet capture to see if there is something wrong there?

It is a virtual machine run in VMware Workstation 14 with e1000 NIC located on same network (VM has bridged NIC).

No I did not try to capture packets (in the past wireshark created new interface which caused some problem in VMware Workstation 14).
Find all posts by this user
Quote this message in a reply
2019-09-13, 08:54
Post: #4
RE: IPXE :: sanhook does not work properly
Hello,

sanhook and sanbook works fine when defined netX/gateway option.

Was tested with Windows 7 and Windows 8.1. VM machines boot and work fine from iSCSI disk although not too fast (1 Gigabit network).

Windows 10 installation fails on second stage (after first reboot) with an error message 0xc0000428 -- still looking for solution. New post was originated for this particular case.

Andromeda_x
Find all posts by this user
Quote this message in a reply
2019-09-13, 09:25
Post: #5
RE: IPXE :: sanhook does not work properly
Well, there already are now coutless of posts in the forum about iSCSI and Windows 10, please read, and add to the existing ones before creating new ones.

Also there is the FAQ which mentiones parts of this, the gateway stuff should be in there, and a packet capture (tcpdump, wireshark or similar) would also help you show what is going on.

Use GitHub Discussions
VRAM bin
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)