Hi Mr. Prashant,
 
The below setps for your kind reference. try as below, if u have any quries 
feel free to contact me. the notes prepered by Mr.Sameer.
 
 
-: Steps to compile kernel 2.6 :-
1> copy kernel tarball file ino /usr/src/kernels/ location & untar into that 
location 
2>tar -jxvf /usr/src/kernels/linux-2.6.18.2.tar.bz2
3>cd /usr/src/kernels/linux-2.6.18.2
4>make gconfig (graphical)
make menuconfig (text)
#5> make clean
6> make bzImage
7> make modules
8> make modules_install
9>cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-2
10>cp /usr/src/kernels/linux-2.6.18.2/System.map /boot/System.map-2.6.18-2
11>ln -s /boot/System.map-2.6.18-2 /boot/System.map 
12> Create initrd :-- 
#first check into /lib/modules/2.6.18.2 --> this is created or not
then execute next command
mkinitrd /boot/initrd-2.6.18.2.img 2.6.18.2
Final Steps 
#vi /etc/grub.conf
default=0
timeout=77
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.6.9-34.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-34.EL.img
title Red Hat Enterprise Linux AS (2.6.18.2)
root (hd0,0)
kernel /vmlinuz-2.6.18-2 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18.2.img

Keep in touch,

ILAMPOORANAN.S




----- Original Message ----
From: PRASHANT KOKATE <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [email protected]
Sent: Monday, September 1, 2008 4:11:32 PM
Subject: [LinuxVadaPav] KERNAL COMPALIATION


Dear All,
Can anybody tell me that after make a kernal compaliation what changes should 
be in grub.conf 
I added a line stating the new kernal information but it gives an error
Please tell me the grub modification
Thank you

Regards,

PRASHANT KOKATE

[Non-text portions of this message have been removed]

 


      

[Non-text portions of this message have been removed]

Reply via email to