On Monday 17 October 2005 05:10 am, Sinhalaya wrote:
dear friends,
diz z my 1st mail to de list. am very new to suse+linux. so can any body give me a help to compile my kernel on suse. i know the normal compilation methode. but in suse /boot folder has a is file called initrd-* file, so how to get this file.
pls guide me to step by step...
The initrd file contains modules that are needed by the kernel at BOOT time only.... Modules needed before the kernel gets fully running and able to load modules as needed. Such as the module that handles the file system for '/'. In /etc/sysconfig/kernel, at the top, you will find a line like: INITRD_MODULES="piix ata_piix aic7xxx processor thermal fan jbd ext3" which is a list of the modules needed by my system. You would have something different. Once you have the needed modules in that list, run the command: /sbin/mkinitrd -k "vmlinuz-2611.12" -i "initrd-2611.12" where the name of "vmlinuz-2611.12" is the name of the kernel you just built and placed in /boot and "initrd-2611.12" is the name of the initrd module you wish to create.