Skip to content
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

UEFI:NTFS - Error 0x80300024 when trying to install Windows 8.1 in unattended mode #506

Closed
pbatard opened this issue May 13, 2015 · 15 comments
Assignees

Comments

@pbatard
Copy link
Owner

pbatard commented May 13, 2015

As reported by deckman in this reddit thread.

@pbatard pbatard added the Medium label May 13, 2015
@pbatard pbatard self-assigned this May 13, 2015
@Tmp341
Copy link
Contributor

Tmp341 commented May 16, 2015

There is a solution mentioned, says "Unplug all drives except the one you want to install on if you encounter error 0x80300024."
I think windows confuses itself, if there are more than one hdd.
Source : Link

@pbatard
Copy link
Owner Author

pbatard commented May 16, 2015

Yes, I mentioned that in the reddit thread. However, I don't believe this was OP's case, especially as one would expect his FAT32 test to report the same code, which it didn't.

@pbatard pbatard changed the title Error 0x80300024 when trying to install Windows 8.1 in unattended mode, using UEFI:NTFS UEFI:NTFS - Error 0x80300024 when trying to install Windows 8.1 in unattended mode Feb 9, 2016
@pbatard pbatard removed the Medium label Feb 24, 2016
@Quppa
Copy link
Contributor

Quppa commented Mar 30, 2016

I experienced this issue yesterday when trying to install Windows 10 64-bit (1511 February 2016 refresh) to a new laptop with an NTFS-formatted USB drive. The drive configuration is (0) HGST HTS541010A7E630 and (1) NVMe Samsung SSD 950.

If the hard drive is plugged in and I try to install Windows to the SSD I get the 0x80300024 error. If I unplug the hard drive the error becomes Setup was unable to create a new system partition or locate an existing system partition.

I tried modifying the boot order in the BIOS and I tried both the GPT and MBR partition schemes in Rufus before I thought to change the file system from NTFS to FAT32 (I've never previously had any issues with the former).

@pbatard
Copy link
Owner Author

pbatard commented Mar 30, 2016

Okay, so if I understand correctly, you were trying to install Windows 10 to an internal Samsung SSD (did you try to clean that drive completely?) while having an HGST USB HDD plugged in, that was formatted as NTFS.

I think the most pressing issue is the Setup was unable to create a new system partition or locate an existing system partition error when the USB HDD is unplugged, which I understand only seems to happen if the USB installation flash drive was formatted as NTFS (I assume using GPT for UEFI in Rufus, right?).
I'll try to see if I can replicate this issue, but I have a few questions before that:

  1. Do you get the same issue with the non February Refresh of Windows 10 x64 1511?
  2. Is your USB flash drive FIXED or REMOVABLE?
  3. Even if the drive was created with the UEFI:NTFS partition, did you actually use UEFI:NTFS to boot or does the UEFI firmware of your target machine contain an NTFS driver (which seems to become more widespread these days), in which case you would had 2 boot options for the flash drive, and could have used the first one to bypass UEFI:NTFS?
  4. Could I get the complete log of how you created your flash drive (when using NTFS)?

@Quppa
Copy link
Contributor

Quppa commented Mar 30, 2016

The two drives are both internal to the laptop (one NVMe SSD and one 2.5" HDD). The hard drive was formatted as NTFS (to be precise, there was also a 128 MB MSR partition on the hard drive which I deleted during setup).

The SSD started off with an MSR partition and a system recovery partition in addition to the main NTFS partition. I successfully deleted all the partitions from the drive within Windows setup - it's just that the next step (making new partitions) didn't work.

After formatting the USB flash drive as FAT32 I was able to proceed with the setup even with the internal hard drive plugged in.

2 - The USB flash drive is fixed (it's a 64 GB Sandisk Extreme USB 3.0 drive). It shows up in the list of drives during Windows setup.

I'll have to do some more experimentation with the machine to give you proper answers to the other questions. I'm pretty sure I tried all three partition schemes, though (MBR partition scheme for BIOS/UEFI, MBR partition scheme for UEFI and GPT partition scheme for UEFI), and I don't believe the error message ever changed.

@Quppa
Copy link
Contributor

Quppa commented Mar 30, 2016

Something interesting to note: the recovery USB flash drive that came with the laptop is formatted as NTFS and doesn't have the same issue. In case it's relevant, it is a removable drive (8GB Kingston DataTraveler R3.0 G2).

@pbatard
Copy link
Owner Author

pbatard commented Mar 30, 2016

Aha! That seems to confirm my suspicion that the Windows installer looks for all NTFS partitions on fixed drives, and treat them as either existing Windows installations, or possible targets for installation, which it is unhappy about...

If that's the case, I'm not sure what I can do in Rufus, as it's really an issue with the behaviour of the Windows installer (that installer is notorious in not liking what it considers as other OSes already installed, and Microsoft doesn't provide much detail on that process), short of advising to either use a removable drive, or, if using a fixed drive, make sure it is formatted as FAT32.

I still haven't had a chance to run much of a test, so I'll see what I can do, but I'm not very optimistic about tricking the installer into not mistaking its own partition as a target...

@pbatard
Copy link
Owner Author

pbatard commented Mar 30, 2016

By the way, have you tried unplugging the installation drive before selecting the destination partition? This may throw a different error, as you proceed, but once you re-plug the install USB and click refresh, you may be able to proceed. I know a similar trick used to work for Windows 7.

@Quppa
Copy link
Contributor

Quppa commented Mar 31, 2016

I didn't try unplugging the installation drive, but I'll make a note to try that next time. Unfortunately I'm unable to experiment with the machine in question right now as I need it for work, but I should have an opportunity to play around with it again next week.

@chrcoluk
Copy link

When I format my USB with rufus selecting GPT and NTFS, it doesnt make this small fat32 partition, is all 100% NTFS only. What do I need to do to get this extra fat32 partition so it boots?

@chrcoluk
Copy link

Right now I am copying the win files to the stick formatted as exfat hoping the bios can boot into exfat, as exfat seems the solution here since it supports large files and ntfs isnt a usb stick friendly filesystem anyway.

@pbatard
Copy link
Owner Author

pbatard commented Apr 28, 2016

What do I need to do to get this extra fat32 partition so it boots?

See the picture here if you want the blank UEFI:NTFS.

Or make sure you select a Windows ISO first and then set "GPT for UEFI" and "NTFS".

You need to see the following in the Rufus log:

Writing UEFI:NTFS partition...

hoping the bios can boot into exfat

I don't know of any BIOS or UEFI firmware that can boot natively into exFAT. But maybe you'll get lucky.

@chrcoluk
Copy link

chrcoluk commented Apr 28, 2016

lol ok, doesnt seem obvious one should click the down arrow to make the option appear.

Sadly I dont need it now, I ended up splitting my wim file and am now using fat32. But good to know incase I need in the future.

Seems daft the designers of UEFI made it only work with an obsolete filesystem. (exfat didnt work)

@pbatard
Copy link
Owner Author

pbatard commented Apr 19, 2017

I don't think I'll ever get around to properly look into this. And since it should affect very few people → Closing.

@pbatard pbatard closed this as completed Apr 19, 2017
@lock
Copy link

lock bot commented Apr 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@lock lock bot locked and limited conversation to collaborators Apr 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants