Score:1

Setting up PXE using Windows Server & Tiny PXE Server

us flag

I am trying to setup a small PXE/bootable OS > Desktop for testing. I want to boot the OS over network. I am using the built in ISCSI option in Windows Server and Tiny PXE Server. The PXE part seems to be working correctly. I get all the way to booting san and then Windows starts booting. I notice once Windows starts booting, the ISCSI loses connection to the VM or the Desktop (I've tried both ways). I have the keep-san = 1 setting on which helps it stay connected during the pxe process, but does not help once Windows boots. Any suggestion on how to setup a PXE/network booting to a desktop PC or VM would be amazing. I've been Googling everywhere and I can't find anything useful that describes this problem.

Edit: My goal is to network boot an image from my dhcp server. I currently have been trying Microsoft’s built in ISCSI Roles, which use vhdx files. I also am using Tiny PXE Server to give out the DHCPd proxy and assist with the TFTP execution of the PXE.ipxe file. The problem is that when I do a pxe boot Windows or Linux ( I’ve tried both OS), they connect and then seconds later during the boot up process disconnect from the iscsi. I’ve also tried to use kernsafe (which is another iscsi application), but I get the same issue where the iscsi disconnects.

I don’t care what free product I can use, but I just wanted to PXE boot images so I can easily use different OS without hdd. So I guess u could call it diskless or network booting. Any suggestions would be helpful or if u need any more information, let me know.

bjoster avatar
cn flag
iSCSI target boot is supported in Windows Server (only). What OS are you trying to boot?
Steven Smith avatar
us flag
I was trying to boot OS or Linux. I got Linux CentOS finally working, but I was having issue with iscsi in windows losing connection during boot. Had to use kernsafe to create a good reliable image and connection.
Score:0
in flag

keep-san = 1 has really no effect with modern iPXE. The connection should go away and then reconnect, since iPXE needs to disconnect and windows should takeover, but this requires change of network stack, and thus disconnection.

What you claim to be a problem, is by design with iSCSI and iBFT.

Once the OS has loaded its own network stack it should reconnect to iSCSI, if that fails you can investigate with for example wireshark why.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.