[Rule-list] Potential low mem boot disk/installer
Devon
devon at tuxfan.homeip.net
Mon Mar 4 10:13:30 EET 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 04 March 2002 02:43 am, James wrote:
> Devon,
> Since your looking for ways to save space, how about using genromfs
> to create a ROM file system which can then be compressed with gzip? I
> just looking at some of the articles written by Bruce Perens on BusyBox
> (embeded linux journal) and this is the method he used to save space.
> Oh and He too used uClib.... nice isn't it.
It was your first message on this topic that got me looking in this
direction. I followed the link you provided, and did as his directions
suggested.
(Thanks for the link by the way, I had intended to mail you earlier)
It didn't work. No matter what I tried, I got a console message about
'cramfs: bad magic'
kernel panic, unable to find init.....
However, there are other ways to accomplish the same thing.
Basically, (It's way too late for this) :)
dd if=/dev/zero of=rootfs bs=1k count=4096
mkfs.ext2 -F -m 0 -i 2000 rootfs
mkdir loop
mount -o loop rootfs loop/
mkdir filesystem
(populate filesystem)
cp -a filesystem/* loop
ldconfig -r loop/
(Takes care of the few dynamically linked binaries)
umount loop
gzip -9 rootfs
mformat a:
syslinux -s /dev/fd0
mcopy syslinux.cfg a:
mcopy boot.msg a:
mcopy rootfs.gz a:
mcopy /usr/src/linux-2.4/arch/i386/boot/bzImage a:vmlinuz
Thanks again,
- -D
- --
pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8gyy1eMAUbzJhSVcRAm19AJ96LssawGSrb9E+vOJMLyY8dCtB9gCcDpRl
K40XX34JdzSEINNfheQd2x8=
=w9XG
-----END PGP SIGNATURE-----
_______________________________________________
Rule-list mailing list
Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here