[Rule-list] Potential low mem boot disk/installer
James
james at opencountry.org
Mon Mar 4 09:43:56 EET 2002
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.
James
(the urls on the articles)
http://www.linuxdevices.com/articles/AT6143283999.html -Part 1
http://www.linuxdevices.com/articles/AT9416075241.html -Part 2
http://www.linuxdevices.com/articles/AT2143115216.html -Part 3
On Sun, 3 Mar 2002 19:13:15 -0500
Devon <devon at tuxfan.homeip.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sunday 03 March 2002 06:24 pm, Martin Stricker wrote:
>
> > I *really* like your idea, especially using rpm2cpio. If the shell
> > isn't sufficient a small C program might be better (and most probably
> > uses less resources). The only "small" shells I can think of right now
> > are sh and csh, both not *really* small.
>
> Erik Troan mentioned the possibilty of using the rpm2cpio option early
on
> in our discussions.
>
> I've got the boot disk to the point where I can boot, partition, mke2fs,
> mkswap, mount the partitions, turn on swap, etc.
> I can then manually do the rpm2cpio commands, one file at a time.
> chroot, run ldconfig on the 'real' root file system, do a pivot_root,
> chroot, and install grub onto the boot record.
>
> The sad part is just how limited the minimal shell is. The following:
> for package in $(cat package_list)
> is illegal syntax in this shell.
>
> I need to read in a file list, and pipe each entry to rpm2cpio, which
> then gets piped to cpio. I've generated the file list with the full path
> to the rpm files. (/mnt/cdrom/RedHat/RPMS/$package)
>
> Thoughts anyone?
>
> - -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
>
> iD8DBQE8grwceMAUbzJhSVcRAhqkAJ48cF7K2E7C/X+VC3XJlwWoGzV/QgCeJnWa
> PPVRTwXJagCofc5DsZ1tXzs=
> =OUoW
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Rule-list mailing list
> Rule-list at mail.freesoftware.fsf.org
> http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
_______________________________________________
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