[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ready-made initrd setup?



On Fri, 29 Nov 2002, Alan Chandler wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 29 November 2002 1:37 pm, Kai Großjohann wrote:
> > I've read the howto on initrd, and it looks fascinating.  But it also
> > looks intimidating to set it all up from scratch.  So maybe someone
> > else has done it already?
> >
> > I'm using sarge and I'd like to use initrd to be able to boot the
> > same kernel on different hardware.  So, for example, I don't need to
> > compile in both ide and scsi support because some machines boot from
> > one, some from the other.
> >
> > I hear good stuff about the hw detection facilities in Knoppix, could
> > they be pilfered for my purpose?
> > --
> > ~/.signature is: umop ap!sdn    (Frank Nobis)
> 
> Just look at the standard debian kernels + the initrd-tools package.  then 
> look at mkinitrd command.

See also man make-kpkg and option --initrd:

       --initrd
	      If  make-kpkg is generating a kernel-image package, perform any actions necessary for a kernel loaded
	      using initrd.  This may include extra dependencies, and modifications to maintainer scripts.  It	has
	      no  effect  when	make-kpkg  is not making a kernel-image package. The same effect can be achieved by
	      setting the environment variable INITRD to any non empty value.  To avoid a warning at install  time,
	      please read kernel-img.conf(5), and add a warn_initrd directive in that file.

Oliver
-- 
... don't touch the bang bang fruit



Reply to: