Download Print this page

Sharp Zaurus SL-C3000 Instruction Manual page 99

Zaurus pda instruction manual
Hide thumbs Also See for Zaurus SL-C3000:

Advertisement

my Zaurus SL-C3000 and SL-C3100
# 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
99 of 212
http://www.users.on.net/~hluc/myzaurus/
16/09/2007 12:23

Advertisement

loading

This manual is also suitable for:

Zaurus sl-c3100