Skip to main content

SharePoint Reporter Blog

Go Search
SharePoint Reporter Blog Home
About Me
Contact Me
  

SharePoint Reporter Blog > Posts > How to Create a MOSS 2007 VPC Image: Part 20
How to Create a MOSS 2007 VPC Image: Part 20

Welcome to part 20 in a series of posts which describe how to create a Microsoft Office SharePoint Server 2007 (MOSS 2007) Virtual PC image for demos and development work. Last time, we looked at how to optimize our MOSS 2007 VPC image. This time, we’ll look at how to use Virtual PC’s differencing disks feature, which allows us to effectively “lock down” our new VPC image and use it as a base for creating multiple virtual machines for demos and development work, while conserving hard disk space at the same time.

 

Part 20: Creating a Virtual PC Differencing Disk

 

Launch Windows Explorer, locate and select the Virtual Hard Disk (VHD) file for your virtual machine we’ve been building, then select File > Properties:

 

 

Under the General tab of the Properties dialog box, select the Read-only attribute checkbox, then click the OK button:

 

 

In the Virtual PC Console, select File > Virtual Disk Wizard:

 

 

In the Welcome to the Virtual Disk Wizard dialog box, click the Next button:

 

 

In the Disk Options dialog box, select the Create a new virtual disk option, then click the Next button:

 

 

In the Virtual Disk Type dialog box, select the virtual hard disk option, then click the Next button:

 

 

In the Virtual Hard Disk Location dialog box, create a name for the new virtual hard disk file (VPC02 MOSS 2007 DIFF 01.vhd, in this case) and click the Browse button to locate a folder on your hard drive to store the new file, then click the Next button:

 

 

In the Virtual Hard Disk Options dialog box, select the Differencing option, then click the Next button:

 

 

In the Differencing Virtual Hard Disk dialog box, click the Browse button to locate the “parent” Virtual Hard Disk (VHD) file that we’ve been building (VPC02 MOSS SETUP DEMO, in this case), then click the Next button:

 

 

In the Completing the Virtual Disk Wizard dialog box, click the Finish button:

 

 

An alert message should be displayed, stating that the new virtual disk was created successfully; click the Close button:

 

 

In the Virtual PC Console, select File > New Virtual Machine Wizard:

 

 

In the Welcome to the New Virtual Machine Wizard dialog box, click the Next button:

 

 

In the Options dialog box, select the Create a virtual machine option, then click the Next button:

 

 

In the Virtual Machine Name and Location dialog box, create a name for the new virtual machine file (VPC02 MOSS 2007 DIFF 01.vmc, in this case) and click the Browse button to locate a folder on your hard drive to store the new file, then click the Next button:

 

 

In the Operating System dialog box, select Windows Server 2003 from the drop-down list, then click the Next button:

 

 

In the Memory dialog box, select the Adjust the RAM option, then set a value which is at least half of the physical memory on your host machine (1000 MB, in this case), then click the Next button:

 

 

In the Virtual Hard Disk Options dialog box, select the existing virtual hard disk option, then click the Next button:

 

 

In the Virtual Hard Disk Location dialog box, click the Browse button to locate the new Virtual Hard Disk (VHD) differencing disk file that we created (VPC02 MOSS 2007 DIFF 01.vhd, in this case), then click the Next button:

 

 

In the Completing the New Virtual Machine Wizard dialog box, click the Finish button:

 

 

The new virtual machine should be listed in the Virtual PC Console (VPC02 MOSS 2007 DIFF 01, in this case):

 

 

To avoid running the “parent” virtual machine and accidentally modifying it, select the virtual machine from the Virtual PC Console (VPC02 MOSS SETUP DEMO, in this case), then click the Remove button:

 

 

A Do you want to remove this virtual machine alert message should be displayed; click the Yes button:

 

 

You should now have a protected MOSS 2007 Virtual PC base image, as well as a differenced disk which can be used for demos and development. You can use this procedure for creating multiple differencing disks which build upon the same parent MOSS 2007 virtual machine that we’ve built.

 

We’ve finally reached the end of this series of posts which describe how to get up and running with a MOSS 2007 Virtual PC image (phew!). This isn’t the last that you will be hearing from me, though; stay tuned for further posts which describe how to use some of the interesting new features of MOSS 2007.

 

Enjoy!

Comments

wow where's part 20005?

so much for simple!
at 2/7/2007 5:09 AM

Nice Job !

Oh boy, even printed doublesided this is just about a book you've written :-)
Thanks, and I'll give it a go this weekend.

Kind regards,
Ad Weterings
at 2/23/2007 9:20 AM

OK, WHERE WE CAN DOWNLOAD THIS VHD ?

OK, WHERE WE CAN DOWNLOAD THIS VHD ?
at 3/8/2007 10:20 AM

Excellent job

These instructions were so easy to follow, the plentiful screen shots left no doubt about any step.
I so much appreciate you taking the time to document this process in such detail.  I could never have completed my installation so quickly and so well.
I am a fan and will watch your site regularly.

You need a wish list on Amazon so I can thank you properly!
at 3/18/2007 7:35 AM

Fantastic Work

Thank you for putting this guide together.  I feel now that I have a successful image put together and can build on it without having to worry about missing something clutch in the early going.  The guide has been a great aid and couldn't have done it without your hard work.

Thank you.
at 3/26/2007 1:09 PM

Excellent Work

This guide is very easy :)
I follow all the instruction and "it's work !" ;)

Just a point :
The differencing of vpc disk (part20) give me a problem...
After put the first vhd on "read-only", i can't make some action on my sharepoint server ...
ex :
-with the differencing of vhd :
      I add a new user manualy, i see it on list of users. I open a new session with the same user (Administrator), and when a go to see users, I don't see the new user that I just add.....

-without differencing and "read-only":
      It's work.....

I think the attribut read-only prevent of same action on sql server base ....

Nobody have this problem  ?
at 5/25/2007 3:06 AM

Congrats you!!!

Your work has very good structure and guides even a dump guy like me to success.

Very well done
at 6/18/2007 4:47 PM

Sysprep, vOptimizer, etc

Great article. How does one go about distributing the VM among  small team of developers. And how do above tools fit into the equation. Eventually each developer would have to join his VM to the domain and I can find little documentation on this aspect...

Your article has been a great help.
at 9/19/2007 9:02 PM

Great Job

Many thanks for this step by step run through.  Even as an experienced Infrastructure person the detail was great.  I am sure that many people will find great use and assistance from your time.
at 10/4/2007 8:40 AM

Awesome Walkthrough Series!

I've been looking for a decent walkthough on SharePoint VPC since 2004.  Thank you Thank you Thank you! 

I've followed your steps and it works like a champ.  Many people in my shop will benefit from your sharing of this information.  Many thanks.

at 10/18/2007 11:06 AM

Many thanks

I'm a long time ASP.net developer who has been looking to jump into Sharepoint development for a while. I had been hearing that the setup was beyond nightmarish, and before finding your blog, I'd have to agree. You've provided me with exactly what I was looking for in terms of easy to follow setup instructions. I didn't want to learn the intricacies of the setup, just wanted a working image. Now that I have that, I can begin the education. Thanks a mill...
at 10/27/2007 10:49 AM

Disk space with differencing disks

I haven't tried using differencing disks yet, so I apoligize if the answer to this question is obvious...

If the initial parent VHD was 5G (C:) and after installing the OS/Patches there is only 1G remaining, then specifying a differencing disk to install the remaining apps, will the VHD now appear as an extended C: drive with more space, or are you still limited to the remaining 1G from the 1st VHD?
at 10/31/2007 4:16 PM

What else can I tell..

...what not have been told already. Thanks for this guideline. It helped me a lot..
at 11/24/2007 3:18 PM

A thousand gracious thanks yous....

You have made my job so much easier!!

at 11/26/2007 4:11 PM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Attachments