Setting up a minimal Debian for VM use

This post is very old. Please bear in mind that information here might be incorrect or obsolete, and links can be broken. If something seems wrong, please feel free to comment or contact me and I'll update the post.

I’ve been just installing a Linux in a VM again (using VirtualBox, tested with 1.5.6). As a minimal system, I choose Debian (with minimal I mean that you don’t get much unused stuff, it boots fast and the disk usage is reasonable. I know that DSL or whatever would be smaller, this is just about getting a decent work system up and running quickly). Here’s a small howto:

  1. Get the Debian Net-Installer from Debian.org (180 MiB)
  2. Install debian, when it comes to package setup deselect “Desktop system
  3. After reboot, install (using apt-get install):
    • x-window-system-core
    • kde-core
    • kdm
    • g++
  4. Reboot
  5. Install the VM additions, but install the kernel headers first using: apt-get install linux-headers-`uname -r`
  6. Reboot, notice that the network doesn’t seem to work any longer
  7. Run dhcpd (as root)

Done. This gives you a quite small debian installation which works fine and uses really little disk space (1.10 GiB including the swap-file).

[Update] dhcpd has to be run as root in case no network connection is found.

Related posts:

  1. Fedora Linux: An easy to use Linux for work (with CUDA)
  2. Virtualization
  3. Changes

This entry was posted in General and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>