Quelle((http://www.ubuntu-unleashed.com/2008/04/howto-install-virtualbox-in-hardy-heron.html))
So let... ese exact commands into the terminal:
<code>
sudo sh -c 'echo "# VirtualBox repository for Ubuntu Guts... rrect this, you'll need to edit the mountdevsubfs.sh file:
<code>
sudo gedit /etc/init.d/mountdevsubfs.sh
You'll see a block of code that looks like this:
nvented names for real ones.
* NOTE: If you wish, remember that you can run vditool for other task... code>
LD_LIBRARY_PATH=/opt/VirtualBox* ./vditool SHRINK new-file.vdi
</code>
Now we’re all set up. ... H=/usr/lib/virtualbox /usr/lib/virtualbox/vditool SHRINK new-file.vdi
</code>
(These commands should actually work on both 32bit and 64bit systems).