User:Andy/Xen/debootstrap
From Strugglers
So I don't forget, typical debootstrap command line for building various domains:
Debain Sarge
sudo debootstrap \ --include='sudo,libssl0.9.7,libwrap0,zlib1g,ssh,libatm1, iproute,libncursesw5,screen,less,perl-base, perl-modules,perl,libapt-pkg-perl, libconfigfile-perl,apt-file,libgpmg1, vim-common,vim,libcurses-perl, libterm-readkey-perl,libcurses-ui-perl, sysv-rc-conf,rsync' \ --verbose \ --arch i386 sarge /mnt/xen http://the.earth.li/debian
Ubuntu Dapper
I have to have Dapper's debootstrap package installed in my home directory for this to work.
sudo debootstrap \ --include='language-pack-en language-pack-en-base' \ --verbose \ --arch i386 sarge /mnt/xen http://gb.archive.ubuntu.com/ubuntu