Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2015 08:17
Show Gist options
  • Save anonymous/268787e6b51b1478c9fc to your computer and use it in GitHub Desktop.
Save anonymous/268787e6b51b1478c9fc to your computer and use it in GitHub Desktop.
f you try to install any version of Windows from USB falsh drive you may got this error: “Setup was unable to create a new system partition or locate an existing system partition”
I have already found tricky solution for Windows 7 but it didn’t help me with Windows 8.1.
So I have found another solution that will be suitable for any Windows version.
Basically you just need to copy all installation files from USB flash drive to your HDD (or SDD) drive and make it bootable, and then continue installation from HDD to HDD
Step by step instruction:
Boot windows installation from USB drive
Press Shift+F10
In console type diskpart.exe and press enter. In this program execute following:
select disk=0. Disk 0 is your destination drive, so be careful, all information on this drive will be removed.
create partition primary size=xxx, where xxx – is the size of new partition
select partition=1
active
format fs=ntfs quick
assign
exit, now you have bootable drive C
Navigate to USB flash drive, in my case: cd d:
Copy all files from USB drive to C: drive: xcopy d: c: /e /h /k
Go to boot folder: cd boot
Make you C: drive bootable with following command: bootsect /nt60 c:
Put off USB drive from computer and restart them.
Install Windows
Remove unnecessary menu item from bootscreen:
Run cmd.exe as Administrator
See boot menu list bcdedit
Find Windows Setup and copy identifier
Run bcdedit /delete {identifier}
PROFIT!
to join this conversation on GitHub. Already have an account? Sign in to comment
Status
API
Blog
About
© 2015 GitHub, Inc.
Terms
Privacy
Security
Contact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment