<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="RIGHT: auto" id=yiv488758400>
<DIV style="RIGHT: auto">
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" id=yiv488758400yui_3_2_0_18_132740603038886>HI,</DIV>
<DIV id=yiv488758400yui_3_2_0_18_132740603038897> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_132740603038899>I'm trying to build centOS6.0 custom kernel using the steps given at URL http://wiki.centos.org/HowTos/Custom_Kernel</DIV>
<DIV id=yiv488758400yui_3_2_0_18_1327406030388314>Kernel: 2.6.32-71.el6.x86_64.</DIV>
<DIV style="RIGHT: auto" id=yiv488758400yui_3_2_0_18_1327406030388346> </DIV>
<DIV style="RIGHT: auto" id=yiv488758400yui_3_2_0_18_1327406030388348>I'm following centOS5.0 steps for building custom kernel (This is the latest one to refer). After I get rpms in `/rpmbuild/RPMS'</DIV>
<DIV style="RIGHT: auto" id=yiv488758400yui_3_2_0_18_1327406030388830>i installed the following RPMS to boot with the new custom kernel.</DIV>
<DIV style="RIGHT: auto" id=yiv488758400yui_3_2_0_18_13274060303881004>su -c "rpm -ivh $HOME/rpmbuild/RPMS/x86_64/kernel-2.6.32-71.el6.kasivj.x86_64.rpm \<BR> $HOME/rpmbuild/RPMS/x86_64/kernel-firmware-2.6.32-71.el6.kasivj.x86_64.rpm \<BR style="RIGHT: auto"> $HOME/rpmbuild/RPMS/x86_64/kernel-headers-2.6.32-71.el6.kasivj.x86_64.rpm \<BR id=yiv488758400yui_3_2_0_18_13274060303882329> <VAR style="RIGHT: auto" id=yui-ie-cursor></VAR>$HOME/rpmbuild/RPMS/x86_64/kernel-devel-2.6.32-71.el6.kasivj.x86_64.rpm"</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881009> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881011>This will add a new kernel entry in /boot/grub/menu.lst along with oldone. (default 0) followed by new kenel.</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881525>I checked for initramfs, vmlinuz, config, system-map files created for new kernel as shown below.</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881819> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882575>bash-4.1$ ls /boot/</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882345>=============<BR id=yiv488758400yui_3_2_0_18_13274060303882341>config-2.6.32-71.el6.kasivj.x86_64         symvers-2.6.32-71.el6.kasivj.x86_64.gz<BR>config-2.6.32-71.el6.x86_64                symvers-2.6.32-71.el6.x86_64.gz<BR>efi                                        System.map-2.6.32-71.el6.kasivj.x86_64<BR>grub                                      
 System.map-2.6.32-71.el6.x86_64<BR>initramfs-2.6.32-71.el6.kasivj.x86_64.img  vmlinuz-2.6.32-71.el6.kasivj.x86_64<BR>initramfs-2.6.32-71.el6.x86_64.img         vmlinuz-2.6.32-71.el6.x86_64<BR>initrd-2.6.32-71.el6.x86_64kdump.img<BR></DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882254>menu.lst:-</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882292>========</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882321>default=0<BR>timeout=5<BR>splashimage=(hd0,5)/boot/grub/splash.xpm.gz<BR>hiddenmenu<BR>title CentOS Linux (2.6.32-71.el6.kasivj.x86_64)<BR>        root (hd0,5)<BR>        kernel /boot/vmlinuz-2.6.32-71.el6.kasivj.x86_64 ro root=UUID=d755a526-1318-4ee0-91e5-439b978c1d80 console=tty0 console=ttyS0,9600n8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb<BR>        initrd /boot/initramfs-2.6.32-71.el6.kasivj.x86_64.img</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882326>title CentOS Linux (2.6.32-71.el6.x86_64)<BR>        root (hd0,5)<BR>        kernel /boot/vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=d755a526-1318-4ee0-91e5-439b978c1d80 console=tty0 console=ttyS0,9600n8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb<BR>        initrd /boot/initramfs-2.6.32-71.el6.x86_64.img</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882760> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881826>two questions:-</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881924>1. Grub menu centOS6-2.6.32-71.el6.kasivj is not displayed</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882040>2. If I remove old kernel and keep the new kenel, then new kernel is not booting.</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882237> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882239> I suspect that below step given in the URL I was not able to do it for centOS6.0.</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883061> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303882864 class=yiv488758400line862>[[[Starting at line 698, there is a 25 line block of code that needs to be commented out to build customised CentOS-5 kernels ( <IMG title="<!>" alt="<!>" src="http://us.mg4.mail.yahoo.com/wiki/modern-CentOS/img/attention.png" width=15 height=15> This step is not required to build customised CentOS-4 kernels): ]]]]]<SPAN id=yiv488758400line-118 class=yiv488758400anchor></SPAN><SPAN id=yiv488758400line-119 class=yiv488758400anchor></SPAN></DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303881160> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883158>Am I missing somethign here to build custom kernel centOS6.0</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883304> </DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883349>Reason for building: LKLM modules built on 2.6.32-71.el6.x86_64 i'm not able to load them.</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883306>thanks and regards,</DIV>
<DIV id=yiv488758400yui_3_2_0_18_13274060303883338>Viswa</DIV></DIV></DIV></DIV></div></body></html>