sudo apt-get install rootstock sudo apt-get install -y qemu qemu-kvm-extras debootstrap # download #wget http://launchpad.net/project-rootstock/trunk/0.1/+download/rootstock-0.1.3.tar.gz -P /tmp wget http://launchpadlibrarian.net/44368389/rootstock-0.1.99.3.tar.gz -P /tmp # extract #tar xzf /tmp/rootstock-0.1.3.tar.gz -C /tmp/ tar xzf /tmp/rootstock-0.1.99.3.tar.gz -C /tmp/ # build #sudo /tmp/rootstock-*/rootstock -f sheevaplug -l sheevaplug -p terceS -d jaunty --serial ttyS0 --seed ssh sudo /tmp/rootstock-*/rootstock -f sheevaplug -l sheevaplug -p terceS -d oneiric --serial ttyS0 --seed ssh # format sd card http://www.panticz.de/Install-Debian-on-SheevaPlug # mount sd card mount /dev/mmcblk0p1 /mnt/ # extrackt to sd card tar xzf armel-rootfs-*.tgz -C /mnt/ # get debian kernel wget http://people.debian.org/~tbm/sheevaplug/lenny/base.tar.bz2 -P /tmp tar xjf /tmp/base.tar.bz2 -C /tmp/ cp -a /tmp/boot/* /mnt/boot/ cp -a /tmp/lib/modules/2.6.32-5-kirkwood/ /mnt/lib/modules/ mv /mnt/boot/uImage /mnt/boot/uImage.old #wget http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-uImage -P /mnt/boot/ wget http://sheeva.with-linux.com/sheeva/3/3.1/3.1.2/sheeva-3.1.2-uImage -P /mnt/boot/uImage #wget http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-Modules.tar.gz -P /tmp/ wget http://sheeva.with-linux.com/sheeva/3/3.1/3.1.2/sheeva-3.1.2-Modules.tar.gz -P /tmp/ #tar xzf /tmp/sheeva-2.6.32.2-Modules.tar.gz -C /mnt/ tar xzf /tmp/sheeva-3.1.2-Modules.tar.gz -C /mnt/ cat <<EOF>> /mnt/etc/network/interfaces auto eth0 iface eth0 inet dhcp EOF cd / umount /mnt # login user: sheevaplug pass: terceS # set new password for root passwd # sync time ntpdate pool.ntp.org # update system apt-get update apt-get -y dist-upgrade # Create printserver wget http://launchpadlibrarian.net/14035814/jetpipe -O /usr/sbin/jetpipe chmod a+x /usr/sbin/jetpipe vi /etc/rc.local (add bevore exit 0) /usr/sbin/jetpipe /dev/usb/lp0 9100 cat <<EOF> /etc/udev/rules.d/90-printer.rules KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0482", ACTION=="add", RUN+="/usr/sbin/jetpipe /dev/usb/lp0 9100" EOF update-rc.d mountall.sh defautls locale-gen en_US.UTF-8 echo LANG=en_US.UTF-8 >> /etc/environment echo LC_ALL=en_US.UTF-8 >> /etc/environment # add mounts cd /etc/rc0.d ln -s ../init.d/mountall.sh K24mountall.sh cd /etc/rc1.d ln -s ../init.d/mountall.sh K24mountall.sh cd /etc/rc2.d ln -s ../init.d/mountall.sh S01mountall.sh cd /etc/rc3.d ln -s ../init.d/mountall.sh S01mountall.sh cd /etc/rc4.d ln -s ../init.d/mountall.sh S01mountall.sh cd /etc/rc5.d ln -s ../init.d/mountall.sh S01mountall.sh cd /etc/rc6.d ln -s ../init.d/mountall.sh K24mountall.sh # create dir for apt-get add to /etc/rc.local mkdir -p /var/cache/apt/archives/partial