EasyManua.ls Logo

Sharp Zaurus SL-C3000 - Page 99

Sharp Zaurus SL-C3000
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
my Zaurus SL-C3000 and SL-C3100 http://www.users.on.net/~hluc/myzaurus/
99 of 212 16/09/2007 12:23
# mknod /dev/loop2 b 7 2
# dd if=/dev/zero of=/hdd3/pocketworkstation bs=1M count=256
# echo y | /sbin/mke2fs pocketworkstation
# mount -o loop -t ext2 /hdd3/pocketworkstation /hdd3/debroot
Here is how you format your SD card to be ext2 (insert an empty SD card, otherwise you will lose
everything that was on it):
# su
# umount /mnt/card
# mkfs.ext2 /dev/mmcda1
# mount -t ext2 /dev/mmcda1 /mnt/card
# mkdir /mnt/card/debroot
You can also leave your SD as FAT and not format it as ext2. You will need to create a loopback
filesystem on your SD similar to the above sample for creating a loopback filesystem on /hdd3.
Also create a 128MB swapfile for Debian if you haven't got one yet.
# su
# dd if=/dev/zero of=/hdd3/swapfile bs=1048576 count=128
# mkswap /hdd3/swapfile
Now we are ready to install Debian [zaurus-debian-big-v0.17.tgz]. We will now assume installation
into /hdd3/debroot. Replace with /mnt/card/debroot as appropriate. Change to the directory where
zaurus-debian-big-v0.17.tgz is located and then do the following:
# zcat zaurus-debian-big-v0.17.tgz | tar xvf - -C /hdd3/debroot
# su
# cd /hdd3/debroot
# pwd > /etc/debroot
# chown -R root:root etc
# chown -R root:root var
# chown -R root:root home
# mkdir -p mnt/card
# mkdir -p mnt/cf
# cp /etc/hosts etc
# cp /etc/resolv.conf etc
# vi startd
#!/bin/sh
### startup commands ###
export DISPLAY=0:0
/usr/bin/icewm-session
### shutdown commands
umount /mnt/card 2>/dev/null
umount /mnt/cf 2>/dev/null
umount /proc
# chmod 755 startd
# cd home
# ln -s ../root root
# mkdir zaurus
# cd ..
# cp -R INSTALL.d/debroot/root/.icewm home/zaurus

Other manuals for Sharp Zaurus SL-C3000

Related product manuals