Setup was unable to create a new system partition or locate an existing system partition - Can't install Windows 7

29

7

I received two computers, and they are both having identical problems. I am booting from USB and I see the hard drive, but I get this message "Setup was unable to create a new system partition or locate an existing system partition. Searching this there were multiple people that had success with using the disk part utility. I ran the utility twice, on BOTH computers and I was still getting the same errors.

I was getting this error message: enter image description here

I went into disk part and asked for disk attributes and I got that my disk had boot disk set to no.

How do I change this? I reset my bios, and I removed all devices from the boot sequence except for my HardDrive and my USB that contains Windows 7.

Other notes: With no usb in the computer the computer complains about bootmgr missing, but this is useless because I want to do a clean install anyway.

EGHDK

Posted 2014-07-28T18:41:58.147

Reputation: 2 337

What does clicking "Format" on the screen result in? – Kinnectus – 2014-07-28T18:49:02.350

What brand of computer is this? Might there be something special in e.g. BIOS? – Hannu – 2014-07-28T18:49:13.457

@BigChris I've tried format/delete/new all with no luck. – EGHDK – 2014-07-28T18:51:29.113

Have you tried DOS partitioning tools. Most of them are free and size of the download will be very small - Give that a quick try FDSIK

– Prasanna – 2014-07-28T18:51:29.883

@Hannu it's a lenovo. Doesn't seem to be anything special about it. I did take a look at different hard drive settings, but also had no luck. At most (when I read about the issue) it was to reset BIOS to default. Which I did. – EGHDK – 2014-07-28T18:52:38.170

First step. Delete the existing partitions. Once you do that the Windows Installation will automatically create the required partitions. – Ramhound – 2014-07-28T18:52:52.353

@Ramhound exactly what it should do. But it doesn't. =/ I've installed Windows 7 many times, and never encountered this before. – EGHDK – 2014-07-28T18:53:54.430

Well; Update the screenshot that display the same error; with no partitions created because the current error indicates there are existing partitions on the disk. – Ramhound – 2014-07-28T18:56:30.967

I'm very suspicious as soon as they usually have a bundled OEM version of Wind-oze. It may be that you need that version to be able to install it. I've seen computers where swapping out the system disk (or wiping it!) meant some very special activities. – Hannu – 2014-07-28T18:57:10.560

I had a problem, back in 1995, Microsoft may have fixed this bug by now: When I tried to format a disk in dos/windows I got an error “Can not format disk: disk is corrupt” (well yes, that is why I want to format it.) I had to plug it into a Unix box and dd over the first few blocks (where the partition table is), it was ok after that. – ctrl-alt-delor – 2014-07-28T19:06:02.770

+1 because it is a good question, even-though I think you should get that Ubuntu disk out of the draw and install it. – ctrl-alt-delor – 2014-07-28T19:08:47.377

Did you check the setup log files?

– and31415 – 2014-07-28T19:09:04.003

I'm curious; where does the setup log files end up in a machine without writable partitions? – Hannu – 2014-07-28T19:23:56.137

I'm not sure where to find these setup log files. Will look into it later tonight. – EGHDK – 2014-07-28T20:56:41.753

None of the answers here worked for me, but using SHIFT+F10 at the error message, then diskpart.exe, and copying over the files to HDD did: http://druss.co/2014/07/fixed-setup-was-unable-to-create-a-new-system-partition-or-locate-an-existing-system-partition-during-installing-windows-8-18-7-vista-etc-from-usb/

– Justas – 2016-12-20T00:01:13.183

Answers

27

This sucks.

I found my solution after about another 5 wasted hours of my life.

I stumbled upon this "fix" on MS's technet blog

I saw a comment:

I had this error on RTM with the combination of Intel 310SSD and Kingston DataTraveler Elite 3.0 USB stick.

Could it be? This particular USB stick being the issue? (I have 3 of these). I tried it on another. Same issue. Took another generic 4GB staples usb from like 5 years ago... worked fine.

Kingston. You suck. I don't know why, but you do.

Side note: Put Ubuntu on the USB. Booted/installed just fine on the Kingston.

EGHDK

Posted 2014-07-28T18:41:58.147

Reputation: 2 337

2I was trying to use a Kingston DataTraveler G4 and I was running into the same issue as OP. I Saw this answer and decided to ditch the Kingston USB. I found a random USB lying around the house and used that as the bootable USB, and guess what, it worked. I would have never thought of trying this. +1 for EGHDK and the internet. – dchaboya – 2014-09-04T20:14:46.557

Sir, you're the lifesaver! THANK YOU SO MUCH! – Limon Monte – 2015-04-08T21:16:25.883

We should probably add a "Wasted hours" counter. +1 for the answer and +5h for the counter. – awesoon – 2015-06-21T12:08:17.283

Weird. I just had exactly the same problem with a Kanguru lockable USB flash drive. Tried the install with an old Transcend drive, and it worked fine. Why on Earth does Windows care about the installation media??? – Jez – 2015-10-24T14:58:43.937

1I've been in IT for quite some time, and this is one of the weirdest solutions that worked yet! 32GB 3.0USB Kingston - failed; Datatravel 2.0USB Kingston - failed; Platinet 8GB 2.0USB - WORKED like a charm... – Blejzer – 2016-05-09T13:57:32.053

1Experienced the same issue with an Kingston DataTraveler G3 16GB on a Vaio laptop. This never happened with this USB stick before on a lot computers. A SanDisk worked fine. +2hr wasted time. – Jamesits – 2016-07-22T16:20:14.983

unbelievable !! , it works – Mahmoud Farahat – 2016-07-29T15:19:31.930

This might not be related to Kingston, happened to me with a Sandisk Extreme 64 Gb too when installing Windows 7. The most frustrating 4 hours of my recent memory, that's for sure! The solution is to remove the USB stick so windows re-detects the boot drives (as the USB stick is considered by mistake an internal drive). See more details here

– mBardos – 2017-07-19T07:08:20.910

17

This is the easiest solution that I found:

  1. Remove all partitions on the drive (no need to launch diskpart, you can just use the partition selection screen)
  2. Unplug the USB drive.
  3. Click Next. You will get:
    Windows is unable to install to the selected location. Error: 0x80300001.
  4. Replug the USB drive.
  5. Click Refresh.
  6. Click Next.

Voila!

Akeo

Posted 2014-07-28T18:41:58.147

Reputation: 3 236

1I needed to click Next, unplug, then go back to the previous screen, replug, then go forward. worked like a charm! – mlapaglia – 2015-09-29T22:48:59.473

3This worked for me, I'm suspecting that windows is treating the USB drive as a boot primary partition as it shouldn't, but well, this fixes it! – ProtoAES256 – 2015-11-04T16:46:21.067

Had the same issue with a Kingston HyperX Fury 32GB USB3.0. This worked great. Except after clicking Refresh I didn't go for Next. Instead I made a partition and it informed me it will make a system partition as usual. – Cornelius – 2015-12-26T15:33:24.147

I've been having trouble with installation all night -- just tried this with the Silicon Power 32GB USB 3.0 flash drive, no luck. Will keep trying the other answers! – Dave – 2016-02-02T06:37:52.543

Had same issue installing from USB DVD drive. Apparently solved by making windows drive primary in UEFI/BIOS and CD drive last, but manually booting to it. Then was able to proceed past error. – Charlie Gorichanaz – 2017-01-09T07:44:42.367

2

Another way, download e.g. a Ubuntu Desktop install image put it on a USB-drive and boot it.

Then find "gparted" and try to use it for partitioning the drive.

That might give an initial partition table and partition, which may help in getting things going.


Alternative with Ubuntu;

Open a terminal with CTRL+Alt+T (works in at least 13.10 and 14.04).

$ lsblk 
should display a list of all attached disks and their partitions. USB-stuff might not appear if you have unmounted it/them (turns off power). Alternatively use gparted above and find the /dev/sdx -similar-looking name of the disk. then do

$ sudo dd if=/dev/zero of=/dev/sdx bs=512 count=1

which will WIPE the first block (increase count for more) of the disk, which should be the partition table.
double checked the commands ;-)

Hannu

Posted 2014-07-28T18:41:58.147

Reputation: 4 950

2

Just also managed to spend hours fiddling with Windows 7 and a Kingston DT R3.0 G2 32GB USB3 stick. After picking up some cheap PNY stick everything worked like a charm. Remember having issues a while ago while trying to put together a MacOSX 10.9 USB installer using a Kingston stick.

Dick Visser

Posted 2014-07-28T18:41:58.147

Reputation: 66

1

For me it happened because I had simultaneously a portable drive plugged in at another USB port. After I unplugged it it was fine.

xji

Posted 2014-07-28T18:41:58.147

Reputation: 656

1

For me, the key parts appeared to be:

  • installing an MBR and bootloader on a manually created boot partition marked as active;
  • rebooting the installer before trying to use that partition.

Here are the steps that finally took me to successful proceeding:

  1. Create the boot (and perhaps also root) partition whatever way you prefer — such as using diskpart built-in command (press Shift+F10 in installer at any time, enter help or consult the documentation for the rest), or Unix tools. Be sure to allocate at least 48 MiB; around 24 MiB are user out of default 100 MiB, but there should be some room left for updates. It may also be a good idea to align both partitions on 1 MiB to 16 MiB boundary depending on SSD erase block size, if applicable.

  2. Format the boot partition as NTFS and be sure to label it “System Reserved”. When using Unix command-line tools, one may need to manually specify 512 byte sector size and 4096 byte cluster size (or 8 sectors per cluster); be also sure to check whether the partition type id in partition table is 7, which stands for NTFS and alike.

  3. Install the master boot record and bootloader — either from a live Windows installation or from the installer itself. X:\> diskpart # Run diskpart. select disk 0 select partition 1 active # Mark partition as active. assign letter=B exit X:\> boot\bootsect /nt60 B: /mbr # Install boot record.

  4. Exit the installer (if running it) and reboot the machine. Simply refreshing the partition list in installer will not suffice.
  5. Start the Windows installer again and select an existing root partition or create one now alongside your boot partition which should be listed as being of type “System” (rather than “Basic” for regular volumes). Upon continuing, the installer should use that boot partition automatically instead of trying to create it.

That should lead to successfull installation. Otherwise, try other solutions.

Anton Samsonov

Posted 2014-07-28T18:41:58.147

Reputation: 191

0

I tried all of these answers on my brand new Lenovo Thinkpad T450s, and none of them worked for me. I am using a Silicon Power 32GB USB 3.0 flash drive. I would get the same error as the OP.

The problem for me was the lack of USB 3.0 drivers in my Windows 7 image. Mine came from X17-59186.iso. Fortunately, I came across a very good page on how to do it:

http://codeabitwiser.com/2014/03/how-to-install-windows-7-with-only-usb-3-0-ports/

Once you use DISM to slip the USB 3.0 drivers into the boot.wim and install.wim files, and move them back to the USB 3.0 flash drive, you'll be able to install to the new partition.

I had also previously tried to disable USB 3.0 in the BIOS, but this didn't work.

Yay, no more Windows 10!

Dave

Posted 2014-07-28T18:41:58.147

Reputation: 312