vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am installing a driver for my ethernet adapter, I have successfully created a patch file and patched into the kernel. I've configured the linux kernel, using 'make menuconfig'. I intergrated the driver permanently into the kernel. I've compiled the kernel using following commands:- #make dep #make clean bzImage #make modules #make modules_install this went well except for a few warnings regarding type-casts. I copied the new kernel into boot directory with following:- #cp arch/x86_64/boot/bzImage /boot/vmlinuz-new #cp System.map /boot/System.map-new The difficulity I am having is here: I do not know how to create image for initrd /<cile-name.img> The original entries I have in /boot/grub/grub.config is as follows:- default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux ES (2.6.9-5.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-5.ELsmp.img title Red Hat Enterprise Linux ES-up (2.6.9-5.EL) root (hd0,0) kernel /vmlinuz-2.6.9-5.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-5.EL.img |
| |||
| elanore wrote: > I am installing a driver for my ethernet adapter, > I have successfully created a patch file and patched into the kernel. > > I've configured the linux kernel, using 'make menuconfig'. I > intergrated the driver permanently into the kernel. > > I've compiled the kernel using following commands:- > #make dep Not needed with the 2.6 kernel series..... > #make clean bzImage No, use just 'make' without the quotes here.... > #make modules Not required by using the 'make' comand above.... > #make modules_install This is OK..... > this went well except for a few warnings regarding type-casts. > > I copied the new kernel into boot directory with following:- > #cp arch/x86_64/boot/bzImage /boot/vmlinuz-new > #cp System.map /boot/System.map-new Use 'make install' without the quotes here instead.... > > The difficulity I am having is here: > I do not know how to create image for initrd /<cile-name.img> The 'make install' command will handle all of the copying and configuration for you. To review the complie steps it's; make config[or oldconfig or menuconfig or xconfig] make make modules_install make install Some suggested reading; http://www.digitalhermit.com/linux/K...ild-HOWTO.html And since Red Hat no longer has building a custom kernel in the RHEL4 manuals; http://www.redhat.com/docs/manuals/e...om-kernel.html -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759 |
| ||||
| On Mon, 06 Jun 2005 at 08:29 GMT, elanore eloquently wrote: [...] > > The difficulity I am having is here: > I do not know how to create image for initrd /<cile-name.img> man mkinitrd for more details. HTH N.Emile... -- Registered Linux User # 125653 (http://counter.li.org) | Please remove Certified: 75% bastard, 42% of which is tard. | '.invalid' http://www.thespark.com/bastardtest | to reply. Switch to: http://www.speakeasy.net/refer/190653 |