dm_mod

So I was trying to run grml-deboostrap in a Debian squeeze VM inside VirtualBox.

I got this error:

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?

I was using grml-deboostrap with the –vmfile parameter.

To fix it, I simply did this:

modprobe dm_mod

This will load the device-mapper module.

 


Boot

I’m starting this blog so I can share how my Google Summer of Code (GSoC) project with Debian is going. First off, I should explain what I’ll be working on.

Have you ever had to install the same OS in several machines, with the same set of features, configurations and programs? What you probably did (or should’ve done) is install the OS in one computer, have all the software you need properly installed and configured and then just copy the entire disk (with something like dd) to all the other machines.

Creating that first disk can take some time, you need to have the operating system working, you add every software then set everything up with the correct configuration. Wouldn’t it be nice if you could just order a customized installation? You would just select the software you want, add some extra configuration requirements and you’d get a working image with everything you want. Well, that’s what we want to do for you.

A web interface, where you can choose all packages you want on your Debian and the configuration you want (like making sure emacs is the default editor). You just sit back and relax while we create that custom image for you. Besides the web interface, I’ll also be writing the backend that does the heavy job of building the whole thing.

Other use cases you can think of are infinite (and I’d appreciate it if you would tell me about them), but some are:

  • A media center image, with xbmc, that you put in your Raspberry Pi
  • A simple web server, with apache
  • An appliance that students can download and test their programming assignment, so that they all have the same environment (no more “it worked on my computer” excuses)
  • Your idea here

I’m looking forward to start coding and see this thing working, but I’ll need to read lots of documentation first. While I do that, I’ll be posting the difficulties I encounter and curiosities that might be of interest of more people.