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

Re: upgrade to kernel-2.4.9



On Mon, 2001-09-17 at 03:58, Vittorio wrote:
> Don,
> 
> you should compile the USB keyboard support statically in the 2.4.9
> kernel and not as a module (answer 'Y' and not 'M' when using 'make
> menuconfig').
> 
> Because compiling the 2.4.9 kernel has been a pain in the neck to me
> (with that damned initrd stuff) I'll sketch here the basic steps you
> should follow:
> 
> 1) Under /usr/src/kernel-source-2.4.9
> **make menuconfig ** and do your settings;
> 
> 2) **make-kpkg clean;
> 
> 3) **make-kpkg --revision=my.01 kernel_image;
> 
> 4) Under /usr/src
> **dpkg -i kernel-image-2.4.9-my.01_i386.deb
> answering NO to the question about running lilo.
> 
> 5) Now you should have a new kernel image in /boot and its modules in
> /lib/modules/2.4.9/ 
> Issue the command 'mkinitrd -o /boot/initrd-my.01 /lib/modules/2.4.9'
> In /boot you'll now find initrd-my.01
> 
> 6) Modify your lilo.conf adding the new kernel image (/boot/vmlinuz-2.4.9) and
>    the line 'initrd=/boot/initrd-my.01' and run lilo.

Okay, can somebody please explain why I'm missing this initrd stuff (and
what I'm missing)? Why do I need to mkinitrd? I'm also running a
self-compiled 2.4.9.

foo@beta:~$ ls -a1 /boot/
.
..
boot.0312
boot.b
boot-compat.b
boot-menu.b
boot-text.b
chain.b
config-2.2.19pre17
config-2.4.6
config-2.4.8
config-2.4.9
grub
map
os2_d.b
System.map-2.2.19pre17
System.map-2.4.6
System.map-2.4.8
System.map-2.4.9
vmlinuz-2.2.19pre17
vmlinuz-2.4.6
vmlinuz-2.4.8
vmlinuz-2.4.9
foo@beta:~$ grep INITRD /boot/config-2.4.9 
CONFIG_BLK_DEV_INITRD=y



Reply to: