On Mon, 31 Jan 2005 17:16:25 -0800
Dale Harris <[EMAIL PROTECTED]> wrote:

> On Mon, Jan 31, 2005 at 10:27:53PM +0000, Pollywog elucidated:
> > 
> > I use the Debian source package to compile kernels, since my system
> > is using initrd I need to use Debian kernels.
> 
> Well, that's not exactly true.. make-kpkg will happily create an
> initrd for you.  apt-get install kernel-package if you haven't
> already, it's a must when building a kernel on a debian system.
> 
It is true that debian patch the kernel sources  with a cramfs patch.
Without that patch you won't be able to use initrd with the
mkinitrd *default configuration*!

But you can edit the file /etc/mkinitrd/mkinitrd.conf to use romfs:

Simply comment out

#MKIMAGE='mkcramfs %s %s > /dev/null'

and add

MKIMAGE='genromfs -d %s -f %s'

Be sure, that genromfs is installed and romfs is compiled into the
kernel (not as a module).

Then initrd works also with a vanilla kernel.


Regards
  Kai


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to