Re: Problems building custom kernel with make-kpkg

2001-10-12 Thread Nick Jennings

On Wed, Oct 10, 2001 at 06:41:41PM +0200, Dirk Niemeyer wrote:
 Dirk Niemeyer wrote:
  
  
  apt-get install mkinitrd
  
 
 Sorry. It must read
 
 apt-get install initrd-tools
 

 Thanks for your help, I will give your instructions a shot when I get the
 chance. 

 Now, in the future how can I get the initrd image to install from within the 
 custom kernel package, like the debian kernel packages do? 

-- 
  Nick Jennings


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




Re: Problems building custom kernel with make-kpkg

2001-10-10 Thread Dirk Niemeyer

Nick Jennings wrote:
 
 Hello,
 
  I am trying to build my customized kernel package integrating the
  FreeSwan source.
 
 
  Crossing my fingers, I made an entry for my new image in the lilo.conf
  (removing the initrd reference) and rebooted, but no luck: heres
  the last few lines from my kernel panic:
 

 
  Any help on what I might be doing wrong, My hunch is that it has to do with
  no initrd image (since that's what I noticed missing). But I guess it could

That should be your problem. The kernel is missing a driver for your
filesystem. Do

apt-get install mkinitrd

It will get you mkcramfs and ash as well IIRC. Then change
/etc/mkinitrd/config
to list essential modules (like ext2 and perhaps your ethernet driver).
Then execute (assuming your kernel is called 2.4.9)

mkinitrd /lib/modules/2.4.9  /boot/initrd-2.4.9

and put the initrd line back into lilo.conf pointing at the new initrd
file

Rerun lilo and reboot.

That should help.


   Dirk Niemeyer


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




Re: Problems building custom kernel with make-kpkg

2001-10-10 Thread Dirk Niemeyer

Dirk Niemeyer wrote:
 
 
 apt-get install mkinitrd
 

Sorry. It must read

apt-get install initrd-tools



Dirk


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




Re: Problems building custom kernel with make-kpkg

2001-10-10 Thread Dirk Niemeyer
Nick Jennings wrote:
 
 Hello,
 
  I am trying to build my customized kernel package integrating the
  FreeSwan source.
 
 
  Crossing my fingers, I made an entry for my new image in the lilo.conf
  (removing the initrd reference) and rebooted, but no luck: heres
  the last few lines from my kernel panic:
 

 
  Any help on what I might be doing wrong, My hunch is that it has to do with
  no initrd image (since that's what I noticed missing). But I guess it could

That should be your problem. The kernel is missing a driver for your
filesystem. Do

apt-get install mkinitrd

It will get you mkcramfs and ash as well IIRC. Then change
/etc/mkinitrd/config
to list essential modules (like ext2 and perhaps your ethernet driver).
Then execute (assuming your kernel is called 2.4.9)

mkinitrd /lib/modules/2.4.9  /boot/initrd-2.4.9

and put the initrd line back into lilo.conf pointing at the new initrd
file

Rerun lilo and reboot.

That should help.


   Dirk Niemeyer




Re: Problems building custom kernel with make-kpkg

2001-10-10 Thread Dirk Niemeyer
Dirk Niemeyer wrote:
 
 
 apt-get install mkinitrd
 

Sorry. It must read

apt-get install initrd-tools



Dirk