Prepare the CF card
mke2fs -L root /dev/sdb1 mkdir /mnt/alix mount /dev/sdb1 /mnt/alix
Download the file system
debootstrap --arch i386 lucid /mnt/alix http://mirror.aarnet.edu.au/pub/ubuntu/archive/
Binding all directories to the CF card
mount -o bind /dev /mnt/alix/dev mount -o bind /sys /mnt/alix/sys mount -o bind /proc /mnt/alix/proc chroot /mnt/alix /bin/bash echo alix-router > /etc/hostname
127.0.0.1 localhost 127.0.1.1 alix-router.example.com alix-router
/etc/fstab
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 LABEL=root / ext2 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,noatime 0 0 tmpfs /var/tmp tmpfs defaults,noatime 0 0
add following to /etc/sysctrl.conf
vm.dirty_writeback_centisecs = 1500
RAMRUN=yes RAMLOCK=yes
change network setting in /etc/network/interfaces accordingly
Then finally
exit umount /mnt/alix/proc umount /mnt/alix/sys umount /mnt/alix/dev umount /mnt/alix
After you can login to the 10.04 system, you can use the normal ubuntu tool "do-release-upgrade" to upgrade to 10.10