?
Solved

"windows cannot be installed to this disk"

Posted on 2013-06-30
12
Medium Priority
?
1,490 Views
Last Modified: 2013-07-22
I am getting the error trying to install widows 7 to a vhd.  "windows cannot be installed to this disk"

I created the vhd using diskpart in windows, then rebooted.  That didn't work so I started the computer, created a vhd using the command prompt like in the article below.  If I try to install to any of these vhds I get the error. I am trying to do a dual boot on a computer that is currently hosting hyper-v.  I would think it should work.


http://www.hanselman.com/blog/LessVirtualMoreMachineWindows7AndTheMagicOfBootToVHD.aspx
0
Comment
Question by:jackjohnson44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 

Author Comment

by:jackjohnson44
ID: 39288905
I also get an error "windows is unable to install to the selected location"
0
 
LVL 92

Expert Comment

by:nobus
ID: 39289183
0
 
LVL 18

Expert Comment

by:Mike T
ID: 39292896
Hi,

The link to Jamin looks good. I'm curious though: you say "a machine hosting Hyper-V". Do you mean a computer running Hyper-v (free) with no OS, or running Windows Server with Hyper-V installed?

Also, why do you want to dual-boot? If you want to create a Windows 7 VHD, why not just do it in Hyper-V which you've already got working?


The mistake you made originally was to reboot. Once you boot from DVD and created the VHD from the command prompt, just switch back to the setup GUI. Rebooting dismounts the VHD so setup cannot see it. Dual-booting also needs you to edit the boot manager which is covered well in the Jamin article.

Mike
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:jackjohnson44
ID: 39293259
Hi guys, I am looking for help with my specific error above.  There are thousands of articles like the link I posted or the link you posted that basically do the same thing.  I realize you need to edit the boot manager and I have done this a million different ways.  I have a problem outside the very general case where everything works.
0
 
LVL 18

Expert Comment

by:Mike T
ID: 39294454
Hi,

I think Windows setup is being "special" as it seems it gives that misleading error message: see figure M on this article.

Dual-boot with a VHD

Kudos to Mr Schultz to screenshots and not missing details out that others seem to.

I hope that's it :).

Mike
0
 

Author Comment

by:jackjohnson44
ID: 39294483
Not even close, please allow others to answer.

My question still stands.  If you don't have experience with this specific issue, please do not post a link.  I am only interested in this question.

"windows cannot be installed to this disk" - Why am I getting this error and how do I resolve it?
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 39294565
"windows cannot be installed to this disk" - Why am I getting this error and how do I resolve it?

You CANNOT resolve it.  BUT, you CAN ignore it.  I can retype the instructions from article on the subject, but that would be pointless.
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/A_8951-Boot-from-VHD.html

Cut and paste from my article:
Close the command prompt and click the word/button Refresh on the disk selection page of the Windows setup wizard.  The newly created and attached VHD file should appear as a new drive available to the system.  Click on the VHD disk as it appears in the setup wizard so that it is selected as the disk where you want to install Windows. You may notice a warning that says Windows cannot be installed to this disk. (Show details) - you can ignore this warning.
0
 
LVL 18

Expert Comment

by:Mike T
ID: 39295094
Hi,

I am not stopping anyone from answering.
The article I linked says:

"As you can see in Figure M, I have selected my 50GB VHD. Keep in mind that when you select the VHD, you’ll see a Warning message that says that Windows cannot be installed to this disk. Even though Windows Setup displays this warning message, you can ignore it as the procedure does indeed function correctly. In fact, the installation procedure will progress quite rapidly and restart several times as it completes the installation on the VHD - just like it would on a normal hard disk"

I,e, just ignore the warning and continue the setup.

If you read it and missed that part it's the same answer leew gave above.
0
 

Author Comment

by:jackjohnson44
ID: 39328336
Sorry for the delay, I was away for a week.  I tried this and get an error "Windows is unable to install to the selected location. Error: 0x80300024"
0
 

Author Comment

by:jackjohnson44
ID: 39328369
I finally figured it out.  I found an article that said you need to detach all other drives before installing.  I did that, rebooted and was able to start the installation to the partition on the hard disk.  I didn't get it on a vhd, and I might try that next.  I was just glad to get past that step.
0
 

Accepted Solution

by:
jackjohnson44 earned 0 total points
ID: 39329743
The problem was definitely installing Windows 7 with multiple drives plugged in.  I am not sure the max number of drives that can be plugged in or if the specific drive type or configuration was an issue, but everything was fixed when I unplugged all but my main drive.  After that I was able to install to a partition, and also to a vhd.  I used the process in the Hansleman article above.  After installing to a vhd, I plugged in all my drives and copied the vhd to the drive that I wanted to use initially.

This was extremely frustrating, and took weeks to figure out.  I am surprised more people didn't come across this.

If anyone has issues installing Win 7 to another partition or vhd, try removing all additional drives, getting through the install, then plugging them back in.  There might be a more elegant solution, but that worked for me.
0
 

Author Closing Comment

by:jackjohnson44
ID: 39345308
This was the answer.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question