2009-05-20

enlarge your disk - vmware virtual disk

assumptions: the disk is system volume (i.e. there's only C:).
Also, there's no snapshot: if there's any, they should be removed for this to work as described.

1) increase virtual disk file size:
vmware-vdiskmanager -x 20Gb vmdiskfile.vmdk

2) add it as hd to another vm.
note: once the other vm has booted, the "new" hd should already automagically have a letter assigned. if not, then there's probably a snapshot and the process won't work (point 7 won't, at least).

3) inside the booted vm open a dos window and run: diskpart
4) list volume
5) set volume=X
6) list volume, just to verify
7) extend

That's it. Shutdown, remove the disk and go back to the original vm.

2009-05-12

IE8 compatibility mode

To have your IE8 render a page like IE7 used to do, you have to add the following to your page:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

By doing so, IE8 will render that page just like IE7 would do.