Difference between revisions of "VirtualBox"

From YobiWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
# [http://bleachbit.sourceforge.net/ BleachBit] free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there
 
# [http://bleachbit.sourceforge.net/ BleachBit] free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there
 
# Windows "disk cleanup" in Control Panel
 
# Windows "disk cleanup" in Control Panel
# Sysinternals [http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx sdelete] to zeroize free space: <code>sdelete -z</code>
+
# Sysinternals [http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx sdelete] to zeroize free space:
  +
sdelete -z
   
 
===VirtualBox===
 
===VirtualBox===
* Delete all snapshots
+
# Delete all snapshots
* Compact drive
+
# Compact drive
 
VBoxManage modifyhd windows.vdi --compact
 
VBoxManage modifyhd windows.vdi --compact
* or copy it, changing the format on-the-fly if needed
+
or copy it, changing the format on-the-fly if needed
 
VBoxManage clonehd windows.vdi windows.vmdk --format VMDK
 
VBoxManage clonehd windows.vdi windows.vmdk --format VMDK
  +
And do a snapshot again if desired

Latest revision as of 18:09, 18 March 2014

Ram dump with VirtualBox

Reducing Windows VB footprint

pagefile.sys

  • Click Start
  • Right Click on Computer and click 'Properties'
  • Advanced System Settings
  • Click 'Settings' in the Performance box under the 'Advanced' Tab (should be already selected).
  • Click the 'Advanced' Tab
  • Click 'change' under the Virtual Memory box.
  • Uncheck automatically manage page filing file size for all drives.
  • Tune to your need; you can also move it to another shared drive
  • Click OK.

Cleaning

  1. BleachBit free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there
  2. Windows "disk cleanup" in Control Panel
  3. Sysinternals sdelete to zeroize free space:
sdelete -z

VirtualBox

  1. Delete all snapshots
  2. Compact drive
VBoxManage modifyhd windows.vdi --compact

or copy it, changing the format on-the-fly if needed

VBoxManage clonehd windows.vdi windows.vmdk --format VMDK

And do a snapshot again if desired