Solved

Compile Kernel in RH 7.1

Posted on 2001-08-13
4
317 Views
Last Modified: 2010-05-18
I want to compile kernel using RH 7.1, I had completed 'make menuconfig', 'make depend', 'make clean', 'make bzImage', 'make modules', 'make modules_install', What is the new kernel location and what are next steps to complete all processes.
0
Comment
Question by:kennycpu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6379259
kernel can be found in /usr/src/linux/arch/i386/boot, usualy (i386 is the type of processor you have).
If you use lilo as boot loader, you need to make a new section for the new kernel image in /etc/lilo.conf, then run lilo.
It's wise to copy the new build kernel to you boot directory (/boot usualy) with a uniqe name, and then use this kernel image in lilo.conf.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6379265
BTW, what has this to do with "Linux Networking"?
0
 
LVL 2

Accepted Solution

by:
ifincham earned 50 total points
ID: 6381753
Hi,

Yes.... its a bit out of the networking context but anyway (assuming 2.4.7 kernel) :

cd /usr/src/linux
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.7
cp System.map /boot/System.map-2.4.7

You <may> need an initrd image - see from your lilo.conf if it says initrd=/boot/initrd-2.4.2-2.img or suchlike. If not don't bother, otherwise do :

/sbin/mkinitrd /boot/initrd-2.4.7.img 2.4.7

Then add a section to /etc/lilo.conf

image=/boot/vmlinuz-2.4.7
      label=linux247
      root=/dev/hdb5           <--- copy from existing
      read-only  

(Also copy any 'append', 'initrd' or other lines you have in your existing 'image' block.)


Then update the binary lilo image..

/sbin/lilo -v

Reboot and you should have another option on the boot menu.


0
 
LVL 17

Expert Comment

by:dorward
ID: 6382075
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exploits in Kali Linux 4 484
how to monitor remote shell execution on linux 9 113
Help needed with BIND9 DNS on Ubuntu. 22 108
Setting up two Raspberry Pi gateways/routers 3 133
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question