Blog

Posted 2007/01/30

Debian 3.0 (Woody) disk image for Xen

We needed the compiler that shipped with Woody for some old software we wanted to use. After making an instance of Woody available on our Xen development server I thought I might as well publish the disk image.

I did a base install of Woody using an old CD. I brought this up to date with the Debian security patches and did some fixing to make it boot without complaining too much in Xen. I had to change the checkrootfs.sh and dhcp scripts because fsck did not understand ext3 and the dhcp script didn’t know about Linux 2.6.

The disk image is a 300MB ext3 file system which I copied from the server. Compressed this comes out at around 35MB.


4542120d7599c1135b2dc4fc0b3b55f7 debian-3.0_woody.img.bz2

Download from acet.rdg.ac.uk.

If you want to copy the contents of the image onto a file system you have prepared yourself you might do something like this:


# bzip2 -d debian-3.0_woody.img.bz2
# mount debian-3.0_woody.img /mnt/tmp/ -o loop
# (cd /mnt/tmp/ && tar -clpsf- *) | (cd /mnt/destination_file_system/ && tar -xpsf-)

For completeness here is the xen config I use to start the DomU. I use LVM backed devices and provide a swap partition as well as the root file system.


name="dom02-woody"
kernel="/boot/vmlinuz-2.6-xenU"
root="/dev/hda1"
memory=96
disk=['phy:/dev/vg/master_debian-woody,hda1,w','phy:/dev/vg/swap_dom02,hda2,w']
vcpus=3
cpus="^0"
vif=[ 'mac=00:16:3e:00:02:01, bridge=xenbr0' ]
dhcp="on"

Username: root Password: xenxenxen

Hope this is useful to someone.