Using Diskpart in VM"s, in Virtual PC
ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu

ASPDeveloper.Net / VirtualServerFAQ.COM

Make sure you go to our home page for:

* Virtual Server 2005 FAQ
* ASP.Net 2.0 Information
* ASP.Net 2.0 Streaming Tutorials
* ASP.Net 2.0 HTML based Tutorials

Made possible by Business Internet Technology Shop (BitShop)



View :  Show duplicate posts
Virtual PC

Recent Virtual PC posts

vpc restarts the host server
Not enough memory?
Mini newsgroup FAQ for the week of 7/5/2009
Using AD on guest
New to VPC
Dell E6400 and VPC2007-SP1 latency problem update?
Windows 7 XP mode deletes files
Softgrid Question (correct area?)
A cosa serve la virtualizzazione assistita dell"hardware
Mini newsgroup FAQ for the week of 6/28/2009
Mouse Wheel in VirtualPC Does Not Work
problem
VPC disables Clipboard?
Virtual NIC not configured
Save State
Vista32
Mini newsgroup FAQ for the week of 6/21/2009
"Not enough memory"....
Can"t write to CD
Formatting Virtual Drive to Restore Shadow Protect
Add Solution

Latest Topics

Table Of Contents


Post Reply |  This is Spam! | Mark as Spam

Using Diskpart in VM"s

Source: microsoft.public.virtualpc
Sent: 07/06/2009
From: "TheMachineRNC" <(email address - cut out)>
Message:

Hi,

I'm new to using VM's and was wondering how you can script disk partitioning
in a VM environment. I am currently experimenting with Virtual box, but
also use Microsoft Virtual PC at times as well. I'm assuming Diskpart
would work the same in both. I dabble in automated workstation builds and
I'm trying to setup a test enivornment for my scripting by using a VM rather
then constantly relying on hardware.

Here's what I normally do:

I boot from a Bart PE CD and then map a drive to a network share and then
run my batch/script from the share. The batch file calls Diskpart and I
have an answer file for diskpart such as:

Select Disk 0
CLEAN
Create Partition Primary Size=12229
Select Partition 1
Assign letter c
Active
Select Disk 0
Create Partition Primary
Select Partition 2
Assign letter d

So is this how I'd do this under a VM? It doesn't seem to work....

Any guidance would be appreciated. My end goal is to setup a dual
partition VM and then launch an unattended install of Windows XP. Why
dual partition? My unattended install puts Documents and Settings on the D
drive.

Thanks!



Post Reply |  This is Spam! | Mark as Spam

Related Messages


Post Reply |  This is Spam! | Mark as Spam


Table Of Contents



Other groups

 
Virtual PC (Mac)(3592) Virtual PC(12844) Virtual PC (French)(496)
Virtual Server 2005(6245)
Search
in:
Our Sponsors
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: