Re: 1910

From: Pawel Kolodziejski <pablo_at_omega.xtr.net.pl>
Date: Thu, 24 Nov 2005 19:31:58 +0100 (CET)

> Interesting. I admit, I didn't read the documentation, but please don't
> beat me over the head. A simple question for a simple answer is all I
> am looking for here. So here goes: I notice this comment (From: "Pawel
> Kolodziejski" <pablo_at_omega.xtr.net.pl>), "...you need modify install
> script to prevent remove existing partition and source of install data."
> How is this done then (page number to find?)? Is this reasonably easy?
>

script is easy.
1 it create blank 4MB initrd, extract files from opie distro file, copy
needed files into initrd and create "linuxrc" script.
2 first it mount /sys,proc,tmp and create missing SD/MMC device files in /dev
3 it mount card as expected FAT on whole card (as typical wince formating
and preformated card)
4 copy distro files into /tmp (it's mounted as fs in ram) and umount it
5 next it create partition 110MB with 5MB offset from begining of card
(first 5MB free space is used by kernel bundle which is loaded bu
bootloader)
6 before create partition it write kernel bundle into 5MB free space
7 formating card with ext2, and mount it
8 decompress files from opie image into mounted ext2, and finaly umount
new fs.

so 3 and 7 step should be changed. 3 should mount FAT partition not whole
card. 7 should mount proper ext2 partition.

Pawel
Received on Thu Nov 24 2005 - 13:38:41 EST

This archive was generated by hypermail 2.2.0 : Thu Nov 24 2005 - 13:38:46 EST