These are two e-mails
from the psilinux mail list describing how to install a linux system
onto a
compactflash card when no other way of creating filesystems on the card is
available (i.e., you
don't have a notebook computer and an $8 pcmcia card reader, nor
do you have a cardreader for your desktop computer).
Jan. 9, 2002
###################################################################################################
FROM: perihelion
DATE: 01/08/2002 10:34:31
SUBJECT: RE: [Linux-7110-psion] Ext2 part without ExternalCf Reader!?
What you can do, is load linux kernel, and initrd onto your
Psion under EPOC. Put the kernel and initrd on the RAMDISK (c drive) and
boot linux from there. Then... I'd recommend you use fdisk under psilinux
to create a 20mb or so FAT partition (not sure if it needs to be HDA1 or
not) and a 100 or so ext partition. Don't bother with swap.
Boot back into EPOC, and download the debian base filesystem; i think
its something like 18mb compressed; put it on the CF card's 20mb fat
partition [But see below]. Now, copy the arlo files and kernel and initrd to the CF
fat partition, and run arlo to boot psilinux from there.
Then mount the /dev/hda2 (ext2 partition) and untar the debian tarball.
Ugh. that sounds ugly. I'll revise it shortly....
-Raduga
############################################################################
FROM: Nathan Catlow
DATE: 01/08/2002 11:04:04
SUBJECT: RE: [Linux-7110-psion] Ext2 part without ExternalCf Reader!?
Please read:
http://linux-7110.sourceforge.net/HowTo/linux-7110-howto.html
Use PLP tools to get files onto and off of EPOC, via serial port or anything else.
a) EPOC uses FAT, linux understands FAT.
b) create a root filesystem on EPOC using PLP tools. Boot Linux.
c) use fdisk to partition the compactflash which is /dev/hda: /dev/hda1 FAT and /dev/hda2 EXT2
d) note: EPOC picks up the first partition /dev/hda1; this is where you keep arlo + kernel
e) on your psion with linux booted make an ext2 filesystem on /dev/hda2: mkfs.ext2 /dev/hda2
f) mount it and copy root filesystem onto it, e.g., "mount -t ext2 /dev/hda2 /mnt/disk", then "cp -R / /mnt/disk"
or from "/" execute " tar cf - * | (cd /mnt/disk ; tar xf - ) "
You can also download a larger root filesystem to /mnt/disk over the serial port
using the normal linux tools such as "minicom", if your initial root filesystem has
minicom, or you can copy minicom over.
g) read HOWTO on auto booting into arlo.
h) reset psion, psion always boots into linux until booted without CF.
regards,
Nathan.
[Both of these recipies modified/elaborated by B. Dushaw]