New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Windows could not apply the Windows PE bootstrap setting specified in the unattend answer file." #867
Comments
Do normal official Microsoft win 10 ISOs work ok? |
Yes, normal Win 10 ISOs work fine |
Maybe XML file is expecting pre-partitioned drive or uefi boot and gpt partitions? |
Wdym pre-partitioned drive? The USB or hard drive? And I don't think it expects anything UEFI, I think it works on legacy booting (but I'm not sure) |
Open iso and look at XML file. Winpe component section. |
Where are the log files located? And is the XML file called "autounattend.xml"? It's in the root directory of the X drive |
XML could be in root of iso or on x |
Well the XML file doesn't seem to have any partitioning or UEFI-related thing, and also I found an error in X:\Windows\panther\setuperr.log: |
Well if no disk install or partition info, it must expect the disk to be pre partitioned. |
Well, it works in a QEMU virtual machine last time I tested (which was yesterday), and it installed successfully. |
@steve6375 |
Yes that's the same ISO. And well, for empty partitions it might be OK (though I really don't think it requires it), but for UEFI boot... ehh, let's say the laptop I use has a very poor UEFI implementation. But on their Discord it seems like people even have problems booting from UEFI with Ventoy (or at least I'm guessing they use UEFI) |
I'm going to test to install the ISO in a QEMU VM, but with legacy booting instead of UEFI. |
And I don't get the error, I can get past Setup is starting successfully. |
Well paste in XML file so we can see it! |
I just tested with legacy booting and it worked, and before I used UEFI and it worked. |
autounattend.txt |
Instructions say drive must be gpt. |
But then my laptop has a poor UEFI implementation... so booting GPT disks will be hard... |
Ok, so use MBR partition but pre partition it as one large NTFS partition |
Can't I just try to just erase the disk with no partition? |
If disk was GPT you may need to run diskpart convert MBR command |
It never was GPT, but I mean that I can just remove all partitions and blank the disk since it worked with a VM? |
Maybe?!? |
Well, I fixed the issue by enabling experimental UEFI booting in my laptop's BIOS and, when going to the boot manager, boot manually from a EFI file (the USB bootable flash drive was only detected as legacy). I went to EFI/Boot then launched "bootx64.efi". Hope that helps anyone! But I think there's some problem with Ventoy booting on legacy hardware. |
SECOND SOLUTIONHi, I have developed a solution second to @AnErrupTion 's Method, which should be more simpler. Just like them I was getting the same issue with the same isos I tried Atlas OS and GGOS which both are pretweaked modified mostly stripped down versions of windows 10 and would still get the error. This was done on an older laptop around 2013 or so, its a Dell Inspiron N5010 with a considerably older motherboard and CPU which i believe runs on legacy. Okay now past the introduction here are the steps I took.
|
But it would still be nice to figure out why does this error get thrown with the custom windows isos, since you need to get/build yourself the windows PE image to install with ventoy. There is also a duplicate of this which you might mention here (to merge the issues): #1449. The custom windows isos are currently the one issue i have with ventoy, really awesome project!!! |
We would need to know details! What exact ISO? What XML file? How are you booting (UEFI or Legacy - as shown at the bottom of the Ventoy menu). |
Hello! I am also trying to install Atlas os, so everything that "AnErrupTion" posted, and answered is the same. when i tried to install atlas os with uefi boot it worked (proving you right, meaning you should use uefi). But my question is why can i install atlas os if i format the drive with rufus and set it there as mbr + bios (meaning it does not require uefi (as you said it specified in the XML file)). Maybe rufus modifies the XML file to not require gpt + uefi?? |
Setting Rufus to MBR does not prevent it from UEFI booting and then installing UEFI boot files and making GPT partitions on target disk. |
Yes, I forgot to say that I still do a legacy boot and it works. |
i wouldn't know honestly |
Why not look at the panther log files and then you can trace the error? |
I have collected the entire windows folder from the X: disk when the installation fails (if you need anything else), here is the entire panther folder with all the log files (At least I didn't find an |
Now I have also tested the same atlas OS iso with rufus and mbr + bios selected and booted with legacy and it again worked, but now i have collected the Windows folder. Her are the panther files when the thing works with rufus (so you can compare them, if that will help). |
It seems there is a problem with Legacy install when using Ventoy or grubfm or Easy2Boot(I tested with VBox 5), however it does work when legacy booting to Easy2Boot and loading the ISO in Setup/repair mode (press ENTER quickly before choosing an XML). |
The Atlas ISO contains two copies of AutoUnattend.xml If both these XML files are removed then the install works using Ventoy in Legacy Mode.
|
So only if both are removed, the install works? How could we find out which specific setting inside of the winpe section is problematic? |
Well, you would need to experiment. But in any case you would need to edit the iso. My first guess is that it is the locale settings as the required local language file may not be included by ventoy? Why don't you edit the iso and find out if you really want to know. |
This was due to a stripped component as is fixed in the latest version of Atlas. I believe this issue can be closed (this was not really Ventoy's fault it seems either) |
Ok sure I guess, but is it still a problem with other custom isos like ReviOS, ggOS? |
I'm fairly sure neither of them have this issue, and as I mentioned before it wouldn't be Ventoy's responsibility to fix it in my opinion. |
Hello there!
I've been using that tool since I've heard about it, and it's great. However, I've been trying to boot a custom stripped Windows 10 image with it (Atlas OS for the reference), however after the "Setup is starting" message I get the error that's in the title.
The USB flash drive seems to be recognized, when I type show lists of disks in diskpart (when getting a cmd with Shift+F10) there's my laptop's HDD and the USB flash drive (which is 32 GB). I've tried to copy 2 times the ISO and change 2 times the USB port but no luck, still the same error message.
My host system is on Linux (desktop), and I'm trying to install that Windows ISO on a laptop, if that helps.
This happens with the latest Ventoy 1.0.42, just released yesterday.
The text was updated successfully, but these errors were encountered: