Adding a new disk (LVM) to a VMware Workstation Ubuntu VM

Note: There is a newer version of this document here.

For all steps listed, I’m working with an Ubuntu 10.04 LTS virtual machine. It consists of a single disk (/dev/sda) that I didn’t size properly when I originally created the VM.

Later I added a second disk (/dev/sdb, independent of snapshots) to hold audio files from ripping cds prior to transferring to them to a player. I did not add this disk to the existing logical volume.

Now we’re going add a third disk (/dev/sdc) to the VM and place it in the same volume group as the original disk to help alleviate the space problem as shown here:

df -h

Filesystem            Size  Used Avail Use% Mounted on
                      7.3G  6.5G  487M  94% /
none                  245M  264K  244M   1% /dev
none                  249M  1.1M  248M   1% /dev/shm
none                  249M   92K  249M   1% /var/run
none                  249M     0  249M   0% /var/lock
none                  249M     0  249M   0% /lib/init/rw
/dev/sda1             236M   54M  170M  24% /boot
/dev/sdb1              30G  497M   30G   2% /media/bucket
.host:/                79G   68G   12G  86% /mnt/hgfs

Continue reading

Windows 98 – not missed

I’ve been playing around with VMware Player and MS Virtual PC 2007 this weekend and using a guest installation of Windows 98 as the test.

I built the VM using MS Virtual PC 2007 and copied it over to another machine to boot it using VMware Player. It started up and started detecting new drivers. After several, “Do you wish to restart your computer now?”, screens I was reminded just how spoiled recent Windows versions have made me. With Windows 7 I didn’t even have to reboot when installing video card drivers. Pretty neat!

Of course if you’ve any *NIX experience it’s old news to be able to do that, but for Windows users it’s a big deal.

Neat stuff. 🙂