From your provided information, I can only deduce that the “next-server” isn’t being set in iPXE for one or the other reason; as “tftp:///boot/windows-x64-windows-images-JiQavrkLFtOU/wimboot” should be something in the lines “tftp://your.local.foreman.server.com/boot/windows-x64-windows-images-JiQavrkLFtOU/wimboot” I don’t see the hostname or an ip-address here. Not sure why the next-server (option 66) would be missing; can you perhaps verify the dhcp response actually has it?
Actually i’ve had this problem in the past as well at one point… But i seem to have forgoten the solution for now… I think it has something to do with the vm settings… But i can’t recall if it is memory that needs to be sufficient or if it was a network adapter issue… When i do remember i’ll let you know, at least i can tell you that i have managed to make it run on hyper v in the past
Wimboot hasn’t been updated in some time now, i think the product is considered feature complete. If anything I’d try playing around with various system settings to see if you can resolve it. If you are not strictly bound to hyper-v on the otherhand you could give virtualbox if a spin to validate if the rest of the configuration is running as expected. Unfortunately due to covid-19 i don’t have access to my lab environment anymore… i’m very sure i got windows to run on hyper-v using wimboot.
@UXabre , I screen is stuck at bootloader pickup , I knwo its a basic issue but need help as I tried all the above mentioned . Please refer to the screen
Do I need to have Foreman DHCP Feature enabled to make installation work? Because my thinking is that I could just use static IP addresses as usual and make installation work “boot disk based” like I am used to with Linux systems
It should work using a bootdisk approach and skipping the dynamic part; I, however, haven’t tried this but their might be dragons (how will it get the correct foreman token for instance?). I do patch the winPE image on-the-fly using wimboot to inject the installation script; but I guess that one could also overcome that problem easily; if not a lot of things change it’s doable. But like I said, I’m guessing, if you use provisioning tokens, this will be problematic.
If you do manage to get it to work; perhaps you can share your knowledge in a blog post; I bet there are others who also prefer that way of working + it would help me to further understand your needs and how the script could be enhanced to help your use-case as well
Removing WinPE-WMI-Package … OK
onfiguring WinPE Console… Ausnahme beim Aufrufen von “SetAccessRule” mit 1 Argument(en): “Manche ode
r alle Identitätsverweise konnten nicht
übersetzt werden.”
In E:\tools\WIMan\WIMan-master\WIMan-master\inc\ConfigureWinPEConsole.ps1:10 Zeichen:5
$Acl.SetAccessRule($Ar)
~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( MethodInvocationException
+ FullyQualifiedErrorId : IdentityNotMappedException
Failed
Adding drivers… Skipping
Setting TargetPath to X:… OK
Optimizing image… OK
I’ll check this out, I think your analysis is spot on probably; never occured to me but I’ll try and find a way to find the administrator in a language agnostic way
However, it shouldn’t be an issue as this is only to change the backgroundimage in winPE to include the foreman helmet
As for your other remark, I’ll also check to include it
Hi,
I tried following your steps on a vsphere 6.7U2.
The Script from the repository worked well and everything worked so far until I wanted to create a vm.
The options I used for the operating system in foreman are like in the following screenshots:
I already was at the point “tomabg” mentioned, where it said “…peSetup.cmd… failed: File not found”
I solved that by copying over the ipxe files: ipxe.efi, ipxe.lkrn, undionly.kpxe
Now I have the problem, that the boot process is starting to load ipxe, but then suddenly stops and everything begins to boot from the beginning. So, it’s a loop. And it also doesn’t matter, if I specify bios or uefi.
Here is a screenshot from this:
Hi.
First of all kudos to you @UXabre for this. Setup went smoothly and easy to pick it up.
Unfortunately I have the same problem as @llxp when I try to boot a Windows 2019 VM… ipxe.krn is loaded, iPXE is initializing devices and then the loop begins… Did you guys encountered this or have some hints ? I can’t figure out what should I do to fix it…