[Rule-list] Potential low mem boot disk/installer

Devon devon at tuxfan.homeip.net
Mon Mar 4 02:13:15 EET 2002


-----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



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