This procedure must be done as root I think

mkdir readonly
cd readonly
tar xzf ../readonly.tgz
mkdir var
tar xzf etc/var.tgz

edit var/local/etc/resolv.conf
        set up as appropriate for network config

tar czf etc/var.tgz var

rm -rf var
rm vmlinuz

dd if=/dev/zero of=/dev/hdc count=100
cfdisk /dev/hdc
        conpressed      uncompressed
        hdc1 5MB        hdc1 125m
        hdc2 120mB      hdc2 -
        hdc3 -

edit boot/grub/menu.lst
        change line: "terminal --timeout=10 serial console"
        to: "terminal --timeout=0 serial"
        change all instances(3) of: "console=tty0"
        to: "ramdisk_size=16384"
        delete lines "savedefault"

edit etc/init.d/mountall.sh
        before the line "mount -avt nonfs,nosmbfs,noncpfs,noproc"
        add the line "mkfs.ext2 /dev/ram0"

edit etc/fstab
        change "/dev/hda3" to "/dev/ram0"
        change last char on /dev/ram0 line from "2" to "0"
        delete lines for floppy, cdrom and swap (/dev/hda4)
        if compressed
                change "/dev/hda4" to "/dev/hda3"
        if !compressed
                change "/dev/hda4" to "/dev/hda2"

edit etc/modules
        change "ne" to "natsemi"
        delete line "hostap_plx"

edit etc/default/pcmcia
        change "PCIC=i82365"" to "PCIC=yenta_socket"

edit etc/network/interfaces
        configure network as appropriate

# remove ssh keys
rm etc/ssh/*key*

edit etc/shadow
        change root to no password
                second field empty
        change ptp to no login
                second field "*"

mkdir dev proc var
ln -s /var/tmp tmp

mkfs.ext2 /dev/hdc1
if compressed
        mkfs.ext2 /dev/hdc2
        mount /dev/hdc2 /mnt/tmp
        mkdir /mnt/tmp/boot
        mount /dev/hdc1 /mnt/tmp/boot

if !compressed
        mount /dev/hdc1 /mnt/tmp

tar cf - * | tar -C /mnt/tmp -xf -
umount /mnt/tmp/boot /mnt/tmp


if compressed
        mkfs.ext3 /dev/hdc3

if ! compressed
        mkfs.ext3 /dev/hdc2

#chroot . sbin/lilo -C /etc/lilo.conf.hdc
run grub and enter the following commands
        device (hd0) /dev/hdc
        root (hd0,0)
        setup (hd0)
        quit

on first boot
remountrw
set password for root and ptp
dpkg-reconfigure ssh
        use all defaults

reconfigure network

remountro

--- BrianBeattie