| Windows 7: How do I eliminate a virtual disk in a virtual machine? |
14 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |
How do I eliminate a virtual disk in a virtual machine? Instead of using XP mode which is not available in Windows 7 Home Premium, I installed a virtual machine and installed Windows XP prof from an installation DVD.
My HD has three partions, two of about 80 GB and one of 340 GB. The CPU is Intel core i5 with 3 GB Ram.
It works fine, I have XP in a window inside of my Windows 7 desktop and can change easily among the two.
But unfortunately I set up one fixed size virtual disk of 70GB for the VM on the second partition although I don't need so much space.
Now I want to redistribute the disk space, reducing the second partition and increasing the 3rd.
When I tried to eliminate the 70GB virtual disk, I found out that there is no way to eliminate a virtual disk once it has been set up. So I tried to change it into a dynamic virtual disk and thus reduce its size, but I get the error that my host system does not have sufficient resources to change the VD type.
The only way to eliminate a VD appears to be the elimination of the entire virtual machine, but I would like to avoid this as installing XP with the applications took nearly a day of work.
So what can I do to eliminate the VD or at least change it to dynamic or otherwise reduce its size? | My System Specs |
| System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
14 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |
Given that I did not receive a fast answer, I simply tried to eliminate the file representing the virtual disk. After this the VM did not open any more and I received the error message that the virtual disk was missing. So I created a new VD with the same name but this time as a dynamic disk with a smaller volume. This worked.
The question how to eliminate a VD completely remains unanswered for now, though.
Perhaps someone can also answer what sense it has to create up to three different virtul disks for a VM if within the VM all the virtual disk space is shown as one single disk C: with the maximum allowed diskspace.
Last edited by tuscanguy; 14 Jul 2011 at 04:58 PM..
| My System Specs | | System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
14 Jul 2011
|
| | Windows 7 Ultimate X64 SP1 13,818 posts Mt. Crumpit/Whoville |
I'm fooling around with Virtual PC. All you need do is delete the .vhd, that clears that virtual drive. I haven't yet tried another one inside the first, but I think it can be done. I saw a member here have 98 inside XP inside Windows 7. 
In VPC, it has settings which can be changed it the virtual machine is shut off. Maybe yours does too? I can change allocated RAM, DVD drive, HDD recognition, and VHD size...I think. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built Desktop By DataTech OS Windows 7 Ultimate X64 SP1 CPU Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU Motherboard ASUS P8Z68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz 4x4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old, beat-up Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon Rider Cooling Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM Hard Drives Crucial M4 128GB for OS, 750GB Seagate MomentusXT for data, 500GB Seagate Constellation for storage Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Antivirus Norton Internet Security Browser IE 9, Opera when needed Other Info 4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power generator with flux capacitor, 1.21 gigawatts. |
14 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |

Quote: Originally Posted by Britton30 All you need do is delete the .vhd, that clears that virtual drive. I did this, but when I tried to open VM after that I got an error message saying that VM cannot open because a VD is missing. In order to avoid this I had to create another file of the same name, with the difference that this time I could define the max. size of this VD. I have not found a way to eliminate the setting in the VM. that causes this. Practically when I delete the .vhd file I don't delete the setting in the VM. I am looking for a way to delete this setting, so the VD can be eliminated completely. As I said in my previous post, all the 3 VD that i set up with the VM closed appear as one single disk C from within the VM, so there does not appear to be a true reason why one should set up more than one VD. They cannot be distinguished from inside the VM. Quote: In VPC, it has settings which can be changed it the virtual machine is shut off. Maybe yours does too? I can change allocated RAM, DVD drive, HDD recognition, and VHD size...I think. Yes, certainly mine works the same way. I downloaded it from Microsoft. This is how I set up the virtual disks. But there does not seem to be a way to undo their creation. And you cannot change the size of a VD after its creation. Still looking for a way to accomplish this. | My System Specs | | System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
14 Jul 2011
|
| | Windows 7 Ultimate X64 SP1 13,818 posts Mt. Crumpit/Whoville |
This is how I eliminated my first attempt at VMing. I opened Computer, then the partition the VM is installed on. I deleted the file with the .vhd extension. At that time the other files were gone, this is a new install, also not XP mode.
To create a new VHD you click the Create Virtual Machine at the top of the window.
Since the VM is on one partition I don't think it will show more VHD's until you create them, I've not tried that yet. I haven't been able to see my Windows 7 drive from the VM either yet.
Also I think....think each OS will need its own VHD, not positive, but seems logical.
OH, right click you VM partition and see if there is a Dismount xxxx image. I had one of those from somewhere. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built Desktop By DataTech OS Windows 7 Ultimate X64 SP1 CPU Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU Motherboard ASUS P8Z68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz 4x4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old, beat-up Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon Rider Cooling Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM Hard Drives Crucial M4 128GB for OS, 750GB Seagate MomentusXT for data, 500GB Seagate Constellation for storage Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Antivirus Norton Internet Security Browser IE 9, Opera when needed Other Info 4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power generator with flux capacitor, 1.21 gigawatts. |
14 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |
I went a bit with trial and error as I did not want to waste much time reading all the manual.
So I installed first the VM in the default folder which is in the same partition C: as the Windows 7 OS. Then I installed Windows XP in the VM from an installation DVD. Then I created the additional vhd files in another partition. Initially the mouse was captured by the VM, so I could not move it freely between the two systems. Also I did not see the other partitions or other disks in the Win 7 system when I was in XP. Then I installed and enabled the integration characteristics from inside the VM via the Tools menu. I also enabled all risources. After this I was able to see the entire system including the Win 7 partition and external HD and could also move the mouse freely between both parts of the screen. When it is on the VM window, it affects the VM. Otherwise you can click also on stuff in the Windows 7 system.
I was astonished that installing XP in a VM is so relatively easy in Windows Home Premium. Microsoft does not tell you this, they do everything to make you believe you can run XP only on Win 7 prof or ultimate.
I was convinced I had to upgrade, but where I live this seems to be impossible (Central America). Windows Anytime Upgrade is not available here and my computershop has no idea how to get the upgrade key. They sell the laptop with preinstalled Windows 7 home premium and don't know anything about software.
So I started playing around downloading Virtual PC and discovered that the upgrade was not at all necessary.
Works fine, but I still don't understand how to eliminate the additional virtual disks that I created. Yes I can delete the files, but then the VM gives me the error message and cannot start. I tried to find the "Dismount xxxx image" menu that you mentioned but cannot find it. How do you get there?
You say "right click your VM partition" but this is the same partition where Windows 7 is installed. There is no such menu item. It should be in the VM configuration menu, but there you can only "create" or "modify" a vhd, not release or eliminate it.
I think the problem is not to eliminate the vhd files (done that) but to tell the virtual machine that it does not look for them anymore. This would require a menu item somewhere that unmounts these vhd so the VM knows they are gone, not just a file delete.
Did you try to create and then delete a 2nd or 3rd vhd file without eliminating the entire virtual machine? | My System Specs | | System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
14 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |
Finally I got it.
All the time I had overlooked the possibility to select "None" in the configuration menu of the virtual disks. If you select "none" for disk 2 and 3, the VM won't look for them anymore and their vhd files can be deleted.
Of course the first disk must stay defined. In my case it is a dynamic virtual disk with a limit of 130 GB, actually it hold only 4 GB. But it can be placed anywhere on my HD, so I can free the partition that I want to modify. | My System Specs | | System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
15 Jul 2011
|
| | Windows 7 Ultimate X64 SP1 13,818 posts Mt. Crumpit/Whoville |
Good to hear buddy! I don't quite follow when you say select none, but I'm still experimenting too.
As for the Dismount item I had, I have no ide where it came from. I do have Macrium imaging installed, but I've not used it to mount an image. Crazy, huh?
You're right about MS and XP mode. I may try it if this XP VM goes south again. XP mode has all this stuff pre-comfigured, if I read the specs right. The one limitation of VPC is it won't take a 64bit OS. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built Desktop By DataTech OS Windows 7 Ultimate X64 SP1 CPU Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU Motherboard ASUS P8Z68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz 4x4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old, beat-up Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon Rider Cooling Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM Hard Drives Crucial M4 128GB for OS, 750GB Seagate MomentusXT for data, 500GB Seagate Constellation for storage Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Antivirus Norton Internet Security Browser IE 9, Opera when needed Other Info 4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power generator with flux capacitor, 1.21 gigawatts. |
15 Jul 2011
|
| | Windows 7 Home Premium 64bit 13 posts |
I have attached a screen shot. My OS is in spanish, so the top radio button says "ninguno" instead of "none".
Right click on the virtual machine, select configuration, then select one of the 3 hard disks shown and either select "none" or enter a folder address.
I hope this makes it clear. Let me know if you have other questions, will try to figure it out. | My System Specs | | System Manufacturer/Model Number ASUS K52F OS Windows 7 Home Premium 64bit CPU Intel Core i5 Memory 3 GB Graphics Card Intel Hard Drives 500GB |
15 Jul 2011
|
| | Windows 7 Ultimate X64 SP1 13,818 posts Mt. Crumpit/Whoville |
 Ahhh, OK. Mine was preselected as none for those since I'd not tried more than one disk. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built Desktop By DataTech OS Windows 7 Ultimate X64 SP1 CPU Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU Motherboard ASUS P8Z68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz 4x4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old, beat-up Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon Rider Cooling Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM Hard Drives Crucial M4 128GB for OS, 750GB Seagate MomentusXT for data, 500GB Seagate Constellation for storage Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Antivirus Norton Internet Security Browser IE 9, Opera when needed Other Info 4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power generator with flux capacitor, 1.21 gigawatts. How do I eliminate a virtual disk in a virtual machine? problems? All times are GMT -5. The time now is 05:25 PM. | |