Solved Error when Installing Windows 8

l0lzz

New Member
Messages
9
When I choose the VHD, after I use the command prompt to attach it, I get this error when pressing ok: we couldn't create a new partition or locate an existing one.

I already have 4 partitions on my HDD, do I need to remove one?

Thanks.
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
Hi, welcome.

Yes, as I can tell you already know by mentioning "4" - there can only be 4 Primary partitions on a drive.

The command is probably trying to make a primary partition. So yes, if you remove one of the primary partitions so you only have 3 of them when making the command, it should work.
 

My Computer

System One

  • OS
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86
    CPU
    P4 3.4 GHz HT
    Motherboard
    MSI-7211
    Memory
    OCZ 2 GB DDR @ 400 MHz
    Graphics Card(s)
    HIS AGP HD 3850 Turbo Ice-Q
    Sound Card
    MOTU Traveler firewire interface
    Monitor(s) Displays
    Acer x223w
    Screen Resolution
    1680x1050
    Hard Drives
    WD Caviar Black 1 TB Sata II, WD 400 GB Sata I, WD 120 GB Sata I
    PSU
    300W generic
    Case
    Cybertron
    Keyboard
    Logitech Classic Keyboard 200, Dell RT7D20
    Mouse
    Logitech M510
    Internet Speed
    2 MByte/sec Down, 250 KByte/sec Up
Hmm... Should I switch one to Logical? One partition is the system reserve, one is the main partition (C:), One is a Lenovo Partition(D:, Holds drivers), And the last one is a hidden back-up partition....
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
You could try making D: Lenovo partition into a logical one. To be on the safe side, I would backup any data on there you wouldn't want to lose.
 

My Computer

System One

  • OS
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86
    CPU
    P4 3.4 GHz HT
    Motherboard
    MSI-7211
    Memory
    OCZ 2 GB DDR @ 400 MHz
    Graphics Card(s)
    HIS AGP HD 3850 Turbo Ice-Q
    Sound Card
    MOTU Traveler firewire interface
    Monitor(s) Displays
    Acer x223w
    Screen Resolution
    1680x1050
    Hard Drives
    WD Caviar Black 1 TB Sata II, WD 400 GB Sata I, WD 120 GB Sata I
    PSU
    300W generic
    Case
    Cybertron
    Keyboard
    Logitech Classic Keyboard 200, Dell RT7D20
    Mouse
    Logitech M510
    Internet Speed
    2 MByte/sec Down, 250 KByte/sec Up
Hmm... Should I switch one to Logical? One partition is the system reserve, one is the main partition (C:), One is a Lenovo Partition(D:, Holds drivers), And the last one is a hidden back-up partition....

A VHD doesn't actually create a partition, it's simply a file in a folder that can load an OS, as if it were actually installed on a real partition. So, the fact you have four partitions already, shouldn't make any difference. Are you using any sort of compression on the partition you're trying to create the VHD within?
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
Explain compression... As far as I know, no. The VHD is directly inside my C drive. Also GMan, using the default disk utility on windows, how would I do that?
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
Explain compression... As far as I know, no. The VHD is directly inside my C drive. Also GMan, using the default disk utility on windows, how would I do that?

VHDs are quite picky about their installation environment, anything like bitlocker, truecrypt or even Windows compression will cause it to fail during creation. You also need to make sure you have adequate free space, to accommodate the VHD, on whichever drive you choose. I gave my VHD 100GB but you can get away with less.

Can you run through the steps you've taken so far.
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
I would listen to Calico here because I don't mess about with VHDs. He and/or others would likely be able to help you much better than I would.

If you want to mess about with partitions still, I recommend latest Acronis Disk Director but there are plenty others too.
 

My Computer

System One

  • OS
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86
    CPU
    P4 3.4 GHz HT
    Motherboard
    MSI-7211
    Memory
    OCZ 2 GB DDR @ 400 MHz
    Graphics Card(s)
    HIS AGP HD 3850 Turbo Ice-Q
    Sound Card
    MOTU Traveler firewire interface
    Monitor(s) Displays
    Acer x223w
    Screen Resolution
    1680x1050
    Hard Drives
    WD Caviar Black 1 TB Sata II, WD 400 GB Sata I, WD 120 GB Sata I
    PSU
    300W generic
    Case
    Cybertron
    Keyboard
    Logitech Classic Keyboard 200, Dell RT7D20
    Mouse
    Logitech M510
    Internet Speed
    2 MByte/sec Down, 250 KByte/sec Up
Steps taken so far:
1. Got Windows 8 ISO 64-bit
2. Burned to a DVD-R
3. Created a VHD, Control Panel>Administrative Tools>Computer Management>Right-Click on Disk Management>Create VHD 45GB
4. Booted from DVD
5. Went through installation, chose custom install, Command prompt
6. Used diskpart to select and attach
7. Refresh, chose correct drive
8. Hit ok, Gave me error: we couldn't create a new partition or locate an existing one.
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
There's nothing obviously wrong in the procedure you're using, but just to check, are you using an elevated command prompt?

I use a slightly different method and it may be worth giving it a try. Creating Bootable Virtual Hard Disks Using this method, there are a couple of options, for applying the image to the VHD, if you have AIK -Windows Automated Installation Kit - installed, you can use imagex, otherwis there's a powershell script available. Once you've got the installation finished - assuming this works - you can use the command line utility bcdboot to add the VHD to the boot menu.
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
It's going good so far but when I try to do the BCD stuff, I run this command: w
:\Windows\System32\bcdboot w:\Windows

And error pop-up says that: The program can't start because api-ms-win-core-file-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem.

Any help?


EDIT: If it helps I ran it in verbose mode and got this:

Another Edit: I rebooted my computer and now my w: drive is gone? I'm confused.


 

Attachments

  • 6sah6.png
    6sah6.png
    2.6 KB · Views: 1,500
Last edited:

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
It's going good so far but when I try to do the BCD stuff, I run this command: w
:\Windows\System32\bcdboot w:\Windows

And error pop-up says that: The program can't start because api-ms-win-core-file-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem.

Any help?


EDIT: If it helps I ran it in verbose mode and got this:


You appear to be trying to run the bcdboot command from w: but you're also declaring w: as your VHD. Run bcdboot from the VHD host.

Another Edit: I rebooted my computer and now my w: drive is gone? I'm confused.

Gone as in the actual physical VHD file is missing?
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
The VHD file is there but the drive (W:) Is gone. Also, can you give me the command I should type in? I'm not sure what you mean.
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
Anyone have any input on this? I'd love to have Windows 8 running soon!
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
The VHD file is there but the drive (W:) Is gone. Also, can you give me the command I should type in? I'm not sure what you mean.

What makes you think the drive has gone?

The command is simply:

bcdboot w:\Windows - where w: is the drive you declared for the VHD.

You run bcdboot from C:\Windows\System32 but the path should already be set.
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
That did the trick. And to get the W drive to show again I had to attach it in command prompt. I should hopefully have windows 8 running soon! Thanks!
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
No worries, I'm glad you got it working.
 

My Computer

System One

  • OS
    Windows 7 x64 Ultimate/Windows 8.1/Linux
    CPU
    FX-8350
    Motherboard
    GA-990XA-UD3
    Memory
    16GB DDR3 Corsair Vengeance
    Graphics Card(s)
    HD7860
    Sound Card
    Xonar Essence STX
    Monitor(s) Displays
    Benq
    Screen Resolution
    1920x1080
    Hard Drives
    Various
    PSU
    Corsair HX 850W
    Case
    Corsair Obsidian
    Cooling
    Thermalright
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    50/50
    Browser
    firefox
Yep, I'm posting this from windows 8 :D
 

My Computer

System One

  • OS
    Windows 7 Home Premium x64
    System Manufacturer/Model
    Lenovo V570
    CPU
    Intel Core i5-2430M @ 2.40 GHz
    Memory
    6 GB
    Graphics Card(s)
    Integrated
    Screen Resolution
    1366x768
Back
Top