Re: [patch] initrd-archive: untar and mkfs.minix initrd support. Please test.

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Sat, 10 Jan 1998 18:29:00 +0100


Hi,

> Adds two new sub features to initrd on boot support.
> initird_archive provides untar support and allows the root to be in a tar.gz
> instead of one of those nasty raw image files. To use this you first make a
> raw image file as you normally would have done, (make an fs on it)
> but don't put any files in it. Compress it down with gzip. Then pad it with
> zero's up to an even KiloByte range. Now take your root.tar.gz file and
> cat them together. Spec this file as the initrd file for the boot loader to
> load. On the kernel option append line, spec initrd_archive=[int] which is
> the number KB of the rawimage file (or more specificly the root.tar.gz files
> offset from the beginning of the file) See below for an example if
> you can't follow this.

I think that the romfs solves the problem in a much better way.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@gts.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"This sentence contradicts itself -- no actually it doesn't."