[Gllug] initrd images & building 2.6.x kernels

Tom Schutzer-Weissmann trmsw at yahoo.co.uk
Thu Sep 15 14:17:49 UTC 2005


On Sun, 2005-09-11 at 17:40 +0100, Sarah Ewen wrote:

> There was something romantic about building a vanilla kernel, taking it
> from it's orignal bz2 archive and transforming it into a nice new shiny
> kernel for me to boot.

Don't be put off by make-kpkg's warning about cramfs. Just make sure
that you've selected cramfs in the kernel config
 Filesystems
  Miscellaneous filesystems
   <*> Compressed ROM file system support (cramfs)

Works for me on Ubuntu with make-kpkg. 
And you can do something like this to look inside the initrd file:

sudo mount -t cramfs /boot/initrd.img-2.6.13.1 /mnt/misc/ -o loop
tree /mnt/misc

But as has already been said, it's a bit pointless if you're doing it
for one machine - make-kpgk bzips the whole thing up just for dpkg to
unbzip it again...

TomSW


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list