Atlanta .NET Regular Guys

Community Blog for two guys in Atlanta that focus on Microsoft and Community.

Quick About

This is the community blog for Brendon Schwartz and Matt Ranlett.  If you want to see their technical posts visit http://www.sharepointguys.com

Back To DevCow

Recent Posts

Tags

Email Notifications

    Archives

    Sean Deasy almost saves my bacon

    Sean Deasy's post about how to expand a VMWare disk without totally blowing it away almost saved my bacon tonight.  I experienced a complete meltdown of my demo SharePoint Virtual Machine this weekend which set me back pretty badly.  I've been rebuilding the thing for quite some time when I realized (too late of course) that I forgot to change the default size of the dynamic disk file to be larger than 8 GB.  Now, Windows Server 2003, SQL Server, SharePoint, Outlook, etc.  The image was full and I'd not even installed Visual Studio yet.  Visual Studio says requires 1.1 Gb on the C: drive even if you tell it to install to another drive (assuming you let it install the default options, this goes down as you remove things like J#).  I'd created a second drive in the VM to handle file installations (too late for SQL Server and Office 2007 doesn't appear to let you pick the install path) and this ended up holding over 2Gb worth of install files.  However, there was still too much on my C: drive and I needed to get more free space on the drive so I wouldn't have to start over.  According to most of the sites I found on the web, you can't do this for the system or boot partition.  However, this is where Sean's post came in - a combo of VMWare tools and Linux to do the job.

    According to Sean, you can use a combination of the vmware virtual disk manager command line tool and Knoppix Linux to enlarge the boot partition.  Then your drive is bigger.  This is wonderful, except that it didn't work for me.  I went through all the steps and the W2k3 disk manager tool said I had a 12 Gb C: drive, but Windows Explorer was still only reporting 8 Gb.

    I solved my problem a different way - I moved my 1.1 Gb swap file from the C: drive to the E: drive.  Now I've got plenty of space!

    Posted: 01-03-2007 6:24 AM by Matt Ranlett | with 1 comment(s)
    Filed under:

    Comments

    Keith Rome said:

    Dude, you should have ping'd me. I have a floppy image (a vfd file) that I use all the time for this - it has an old version of Ghost that works perfectly for expanding disks. All you have to do is power down the VM, mount the floppy image into a virtual floppy disk device, then power on the VM and run through the Duplicate Disk Image wizard... After that you just power off the VM, unmount the floppy image, and start the VM back up. Ghost handles resizing the volume partition for you.
    # January 4, 2007 2:12 PM