D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Re: Kernel parameter help

 

Robin Cornelius wrote:
> Did you build a initrd when you built your kernel?, if i understand the
> process it allows kernel modules to be avaiable at kernel boot time
> before harddisks etc are up but without staticly linking the modules to
> the kernel. Normaly you should do this after building a kernel for
> example "mkinitrd -o /boot/initrd.img-2.6.8 2.6.8" and have an initrd
> line in grub/lilo. I have caught my self out this way before as well.
> 
> Do you have a floppy drive, or can boot from a USB stick? you should
> have all the tools you need within 1.44M :-)

I've also been stuck before when I compiled a custom kernel and it
didn't have an initrd. Because it was trying to load in the modules from
an ext3 partition and the kernel didn't know how to read it because the
module that told it how to was on that partition!

Debian comes with a program that makes your compiled kernel into a
debian package.

make-kpkg --initrd --append-to-version=.`date +%Y%m%d` kernel_image


Gem

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html