kernel.gz.aa & kernel.gz.ab

Matthew West mwest at cs.uct.ac.za
Mon Sep 5 01:55:57 PDT 2005


On Fri, Sep 02, 2005 at 08:47:30AM -0400, John Nielsen wrote:
> On Friday 02 September 2005 08:35, Donatas wrote:
> > wonder how could I decompress $subj files....they doesn't seems to be in
> > tar or gzip formats.
> >
> > files are taken from kern1.flp nad kern2.flp on 5.4-RELEASE/floppies
> 
> cat kernel.gz.aa kernel.gz.ab > kernel.gz
> gunzip kernel.gz

You're still missing the first part of the file.

You also need to grab kernel.gz.boot from the boot.flp image.

Then you can do a:

  cat kernel.gz.boot kernel.gz.aa kernel.gz.ab > kernel.gz

Take a look at src/release/scripts/split-file.sh to see how these files are
generated.

Useful if you want to do an install with a custom kernel, without
building a whole release.

-- 
mwest at cs.uct.ac.za



More information about the freebsd-hackers mailing list