TurnKey Linux Virtual Appliance Library

Reducing size of virtual machine ?

helo

I would like to share a custion virtual machine with turnkey linux comunity but over 2 days of mainly drupal development (and adding some packages) size of .vdi  have grown to 4 gb (!!!)

Do you know how to reduce it, so that others might run it by them self and its resonable size, like 1gb lets say ?

i did all ready  apt-get clean.

thanx for help

googling around

http://ubuntuforums.org/showthread.php?t=908128#3

Beginning VirtualBox 2.1.x and now 2.2.x compacting VDI image is temporally disabled by developers.
Liraz Siri's picture

Ideas

It's awesome that you have gotten development to the point where you are making an appliance!

A few ideas regarding your problem:

  • Recreate VM: start over in a new VirtualBox instance and re-apply installation carefully. As a fringe benefit you'll be testing the installation documentation.
  • Compress image with bzip2: I don't think VDI is very efficiently packaged. Probably not even compressed so there's a good chance you might get a reasonable compression ratio just using bzip2
Note that once we repackage the appliance as an ISO, it will probably weigh less than 200MB so this is only a temporary problem.

Well, its not appliance yet,

Well, its not appliance yet, its just a hd of custom VM, but i hope one day it will be in a form of .iso

I all ready did packed it with zip, its down to 2.1 from 4.1

Problem is in too big HD i took on the start (default 8gb) but other wise it would be not possible mess up with big media files.

Later on im going to re-create it with smaller HD, all documentation is here:
http://wiki.transmission.cc/index.php/Tutturu-2009-03-alpha2_dev

More about the project you cane found here: http://tutturu.obin.org/

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)