# mount partition for new install mount /dev/hda2 /mnt # install debian base files debootstrap etch /mnt # move useful config files and drivers to new install cp /boot/config-2.6.14.1 /mnt/root mkdir -p /mnt/root/etc/acpi cp /etc/acpi/* /mnt/root/etc/acpi mkdir /mnt/root/modules cp progear/drivers/* /mnt/root/modules # chroot to new install to finish installation and configuration chroot /mnt #set root password passwd adduser progear #setup hard-drive device files/partitions and filesystem vi /etc/fstab cd /dev ./MAKEDEV console hd #install stuff to build kernel apt-get install bzip2 make gcc libc6-dev libncurses5-dev #get kernel and swsusp source cd usr/src wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.1.tar.bz2 tar xjf linux-2.6.14.1.tar.bz2 wget http://www.suspend2.net/downloads/all/suspend2-2.2-rc11-for-2.6.14.tar.bz2 tar xjf suspend2-2.2-rc11-for-2.6.14.tar.bz2 #patch, configure, build and install kernel cd linux-2.6.14.1 ../suspend2-2.2-rc11-for-2.6.14.tar.bz2/apply cp /root/config-2.6.14.1 .config make oldconfig make make install make modules_install #install progear drivers cd /root/modules (cd to each modules and 'make; make install; make clean') #setup pcmcia/network support apt-get install pcmcia-cs hotplug pump openssh-server #block IRQ 3 to avoid conflict with touchscreen vim /etc/pcmcia/config.opts # add lo and eth0/dhcp definitions vim /etc/network/interfaces #make sure network is up after booting. mv /etc/rcS.d/S39ifupdown /etc/rcS.d/S42ifupdown # set hostname to progear vim /etc/hostname vim /etc/hosts #install other hardware support apt-get install acpid hibernate lm-sensors cp /root/etc/acpi/* /mnt/etc/acpi # add sensor, lcd, joystick modules vi /etc/modules #install browser apt-get install links2 gpm ./MAKEDEV fb input chmod a+wr /dev/fb0 /dev/tty0 /dev/input/mice #install other useful things apt-get install less vim sudo openssh-client ncftp webzine vim /etc/sudoers #clean up dev files and packages rm -r /usr/src/* apt-get remove libc6-dev #back to host system exit #configure and reinstall lilo vim /etc/lilo.conf lilo lilo -R Linux-progear reboot