Blog

Blog posts made in May 2011
30May
2011
Expanding A Virtual PC Hard Drive

I use Virtual PC extensively, and have lots of virtual machines that I fire up as needed to run specific software. (Charlie Arehart gets the credit for getting me hooked on virtual computers many years ago). Virtual computers use virtual hard drives, essentially a complete hard drive in a single file, a .vhd file. When a virtual hard drive is created you specify a maximum size, and the drive can either grow to that size as needed (dynamic drive) or start off as the specified size (fixed drive).

But what if you need to expand a drive beyond that initially designated size? There is a great little free utility named VHD Resizer, which, as its name suggests, resizes VHD (virtual hard drive) files. It can convert between dynamic and fixed sized virtual drives, and can change the drive size, too. Simple, right? Well, not quite.

Here's the problem. Expanding the size of virtual drive is simple enough, but expanding the size will not automatically resize partitions on the drive. So, if for example you expanded a 4GB virtual drive to 8GB, your C: drive on the virtual drive will still be 4GB in size, and the extra space will be unassigned waiting for you to create a new drive (perhaps drive D:). Which is great, unless you really do need to expand drive C:, as I just did.

Windows includes a command line utility named diskpart which can extend partitions, but diskpart cannot be used for system or boot volumes, and so if you boot from drive C: (usually the case) you'll not be able to extend it. There are 3rd party tools which can indeed manipulate partitions, including extending system partitions. But (at 36,000 feet somewhere over CO) I found a workaround.

WARNING: What follows is NOT recommended by Microsoft. It worked for me, but no promises. In other words, if you're going to attempt this, make sure you've backed up your .vhd file. And if it doesn't work, well, I don't want to know! ;-)

Ok, so here's what I did:

  1. You'll need two virtual computers, let's call the one whose drive you want expanded A, and the second B
  2. Make sure virtual computers A and B are not running
  3. Open the settings for virtual computer B, you'll likely see a virtual hard drive listed as Hard Disk 1, and Hard Disk 2 through 4 will be empty
  4. Set Hard Disk 2 to point to the .vhd file used by virtual computer A
  5. Save settings and fire up virtual computer B
  6. Once virtual computer B is running you'll see its own virtual hard drive as drive C:, and virtual computer A's hard drive as another letter (next available letter)
  7. On virtual computer B, open a command prompt and run diskpart, selecting the volume that is computer A's virtual hard drive, and extend it (this will be allowed as diskpart won't recognize it as a system partition as you didn't actually boot virtual computer B from it)
  8. Shut down virtual computer B, and remove the added hard drive from its settings
  9. Now fire up virtual computer A
  10. With any luck you'll now have an expanded system volume

This is NOT supposed to work safely. But, I just did it, and it worked perfectly. Great little workaround, but, caveat emptor.

Read More ›

26May
2011
Terry Paton On Porting Flash Games To Devices

Flash game developer Terry Paton created a game called Meteor Storm and published it for Android. He recently used the Flash packager to create an iOS version to run on iPad, and just posted his thoughts on the process.

Read More ›

25May
2011
One Stop Shop For Adobe Evangelists Blogs

Trying to keep up with all Adobe evangelists blogs? Now you can at the Adobe Evangelists Super Blog, complete with a consolidated RSS feed.

Read More ›

24May
2011
TestComplete Now Supports Flex 4.5

SmartBear Software has announced TestComplete 8.5, the first functional test tool to support Adobe Flash Builder 4.5 and Flex 4.5 SDK. They have also posted details on how to test Flex applications.

Read More ›

24May
2011
Some Details On Project Edge

"Project Edge" is a prototype tool for creating standards based transitions and animation, and when we first sneaked it at MAX 2010 the response was overwhelmingly positive. Since then we've been hard at work on "Project Edge", and we've just started to share more details in this Adobe Edge story, as well as on Adobe TV in segments entitled Introducing Project Edge and Project Edge: Web standards-based animation and motion.

Read More ›

23May
2011
Poll To Help Pick MAX 2011 Sessions

We're hard at work on Adobe MAX 2011, and are working through sessions and speakers and more. We've also got so much to talk about this year, that we're asking you to weigh in. Over on the MAX Facebook page we're hosting a poll for you to pick which of a set number of sessions you'd like included.

Read More ›

18May
2011
Rob Brooks-Bilson On ColdFusion Caching

Not sure how I missed this one, but better late than never. Rob Brooks-Bilson has written an incredibly thorough and informative article for DZone on ColdFusion 9 performance optimizations using Ehcache. This one is required reading for all ColdFusion developers. Nice job, Rob.

Read More ›

17May
2011
Piotr Walczyszyn On LCDS And Tablets

Fellow Adobe evangelist Piotr Walczyszyn ported a LiveCycle Data Services app to run on Motorola XOOM (running Android 3.1), BlackBerry PlayBook, and Apple iPad, and posted the results (with video) on his blog.

Read More ›

12May
2011
SourceMate Released For Flash Builder 4.5

SourceMate is a powerful Flash Builder plug-in that provides developers with greater coding intelligence including advanced refactoring, internationalization and localization support, and more. SourceMate 3, which supports Flash Builder 4.5, has just been released (here is a full feature list).

Read More ›

11May
2011
ColdFusion And Exchange 2010

ColdFusion features a <cfexchange> tag that can be used to access and manipulate Microsoft Exchange calendar data, contacts, and more. This tag was introduced in ColdFusion 8, and supports the versions of Exchange available back then. The tag does not support Exchange 2010, much to the dismay of many users. And while I can't provide dates yet, I can confirm that the next version of ColdFusion will indeed update <cfexchange> so that it supports Exchange 2010.

Read More ›