> You might want to check whether the file is in cramfs-2-34
> or in the initrd. The startup scripts are in the initrd
> for example. The initrd image is an ext2 filesystem, so any
> Linux box can do
>
> # gunzip <initrd.gz >initrd
> # mount -o loop initrd /mnt
> (change things)
> # umount /mnt
> # gzip <initrd >initrd-new.gz
Thanks! That worked like a charm. I also don't have 2.4 on my desktop, so
I couldn't follow George's suggestion to just mount the cramfs filesystem.
I did find an alternative way to get the contents of /usr tarred up and
shipped back to the desktop.
First I installed a copy of tar on the iPaq (we had the binary already on
our NetWinder, but I believe the ARM tar RPM is available on handhelds.org
(ftp.handhelds.org/pub/linux/arm/carleton-winder-rpms)). Then I did this:
tar -cf - /usr | gzip | sz -
That did a Zmodem upload from the iPaq to my desktop (through minicom) of
the tarball. I think that may be faster than doing a mount over the serial
connection.
George-- you asked if it would be helpful to put the tarballs of the cramfs*
files on handhelds.org with each version. I think that would be great,
especially for those of us not running 2.4 on our desktops yet.
Cheers,
Phil
Received on Fri Aug 18 15:31:56 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:40 EDT