Difference between revisions of "VirtualBox"

From YobiWiki
Jump to navigation Jump to search
(Created page with "==Ram dump with VirtualBox== ==Reducing Windows VB footprint== ===pagefile.sys=== * Click Start * Right Click on Computer and click 'Properties' * Advanced Sy...")
 
m
Line 15: Line 15:
 
# 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 -c</code>
 
# Sysinternals [http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx sdelete] to zeroize free space: <code>sdelete -c</code>
  +
===VirtualBox===
  +
* Delete all snapshots
  +
* 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

Revision as of 16:28, 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 -c

VirtualBox

  • Delete all snapshots
  • 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