Zach Shepherd's WordPress Blog

Just another WordPress weblog

Saturday, September 15, 2007

Making ubuntu images

I was working on setting up a tremulous server and ran into an issue involving libc6. Apparently etch doesn’t include the right version, but fiesty does. To use debootstrap to put fiesty on the images, I needed to first install the scripts on the blade:
$ cd /tmp
$ wget
$ dpkg --extract debootstrap_0.3.3.2ubuntu3_all.deb debootstrap-feisty
$ sudo cp debootstrap-feisty/usr/lib/debootstrap/scripts/{warty,warty.buildd,hoary,hoary.buildd,breezy,dapper,edgy,edgy.fakechroot,feisty,feisty.fakechroot} /usr/lib/debootstrap/scripts/

Then, it was just a matter of running the command to debootstrap the image (debootstrap --arch i386 fiesty /mnt/tmp

posted by Zach at 1:27 pm  


  1. This is pretty awesome… I don’t understand why you are pulling the debootstrap debian package manually though…is the base debian? with debian you can install debootstrap… is it that you can’t get the scripts to work without the ubuntu version of debootstrap?

    Comment by Todd Deshane — September 15, 2007 @ 9:27 pm

  2. As the blades run debian etch, they have the debian debootstrap scripts by default (but not those for Ubuntu specifically), so it wasn’t the ubuntu version of debootstrap I was trying to install, just the scripts in it (instead of installing the .deb, I extracted it into /tmp and copied the files into the scripts folder). Hope that makes a little more sense.

    Comment by Zach — September 17, 2007 @ 1:09 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress