Debian DomU on NetBSD Dom0 HowTo
Steps for installation
My config files are in /usr/pkg/etc/xen and my disk images are in
/disk1/xen.
- install pkg xentools33
- install pkg xenkernel33
- make disk image: dd if=/dev/zero of=deb.dsk bs=1m count=8000
- wget http://ftp.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/xm-debian.cfg to the config directory
- edit xm-debian.cfg and change disk important
- edit xm-debian.cfg and cnange the vif line to vif = ['mac=00:16:3e:00:00:11, bridge=bridge0']
- install Debian with xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.nl.debian.org/debian (maybe change nl to your own country code if that Debian distribution mirror exists; selecting ext2 instead of ext3 has the advantage of being able to mount it later via vnconfig)
Running
Start the VM with xm create -c xm-debian.cfg
Config file
kernel = "/var/run/xend/boot/boot_kernel.Gyhfj3"
ramdisk = "/var/run/xend/boot/boot_ramdisk._o8sqf"
extra = "ro console=hvc0"
args = "root=/dev/xvda1 ro console=hvc0 quiet"
memory = 1024
name = "deb"
vcpus = 1
vif = [ 'mac=aa:00:00:50:37:83, bridge=bridge0' ]
disk = [ 'file:/disk1/xen/deb.dsk,xvda,w' ]
root = "/dev/xvda1"
debian / webmaster@itsx.net / created 2010-3-19 / last change 2010-3-19