Create c't Debian Server installation USB pen (ctsrv4stick)

sudo su
 
DEVICE=/dev/sdb
VOLUME=ctsrv4stick
 
# mount usb
umount ${DEVICE}1
 
# create filesystem on usb pen
mkfs.vfat -n ${VOLUME} ${DEVICE}1
 
# mount usb
mount ${DEVICE}1 /mnt/
 
# install syslinux and make stick bootable
install-mbr ${DEVICE}
syslinux -f ${DEVICE}1
 
# unzip support files from ct dvd
unzip /media/ctsw0905/support/stickins.zip -d /mnt/
 
# create exclude list
cat <<EOF> /tmp/exclude.lst
/media/ctsw0905/bilder
/media/ctsw0905/html
/media/ctsw0905/scrshots
/media/ctsw0905/software
/media/ctsw0905/tools
/media/ctsw0905/video2brain
EOF
 
# create iso from dvd
mkisofs -o /mnt/ctsrv40.iso -exclude-list /tmp/exclude.lst -r -l -J /media/ctsw0905
 
# umoun device
umount /mnt
 
 
# Links
http://www.heise.de/ct/projekte/machmit/ctserver/wiki/WikiStart2
http://www.heise.de/ct/projekte/machmit/ctserver/wiki/ctsrv4stick
http://www.ctserver.org/