There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config. Figure 1.

Similar documents
RTLinux Installation Instructions

Linux Kernel Compilation

Building Customized Linux Kernels A live demonstration. Mark Post August 17, 2004 Session # 9280

Ex.no:2 Date: Kernel Configuration, Compilation and Installation

Release Notes for Cisco Aironet Client Utilities, Version 2.0.x for Linux

Hardening The Linux Kernel With Grsecurity (Debian)

Firewalling for Free: An Enterprise Firewall Without the Enterprise Price. Name: Shawn Grimes Date: November 25, 2001 Course: CT-401

How To Compile A Kernel - The Mandriva Way

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Manual: How to Use GAA-API & IPSEC Integration

Building a Linux Kernel from Source

Project 0: Linux & Virtual Machine Dabbling

Installing Virtualbox Guest Additions Vboxadditions on CentOS 7, Fedora 19 / 20 and RHEL 6.5 / 5.10 on Windows host


Project 0: Linux Dabbling

How to install EPSON Scanner on LINUX?

GigaRAID (IT8212) ATA RAID Controller USER S MANUAL

Release Notes for Cisco Aironet Client Utilities, Version 2.1 for Linux

University of Colorado at Colorado Springs CS4500/ Fall 2018 Operating Systems Project 1 - System Calls and Processes

Linux Kernel Update - from scratch (almost) Platform: Archlinux, UEFI, GRUB2, and initramfs. Prof. Rossano Pablo Pinto

7.3 Install on Linux and Initial Configurations

APPLICATION. NOTE Date:

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================

DSH-G300 Smart Hub. Manual

Linux Reference Card - Command Summary

Kernel Korner IBM's Journaled Filesystem

Linux U-Boot and Kernel Users Guide

Global-Net 2.0d Quick Installation

User Manual. SysKonnect SK-98xx V2.0 Gigabit Ethernet Adapter

Virtual Iron Software Release Notes

EPSON JavaPOS ADK. Installation Guide

Linux kernel. Josep Jorba Esteve PID_

Installing javaprssrvr 4.0 on CentOS 6.2

I experiment on the kernel of linux environment.

Machine Type Model 7036-P16 LAN attached remote Asynchronous node (RAN) (FC xxxx)

Project 1: Syscalls for synchronization 1

Intel Dialogic System Release 5.1 Feature Pack 1 and 2 for Linux Operating Systems on Intel Architecture Release Notes

MV V310 Android 4.0 Compilation

MV 4412 Android 4.0 Compilation

Freeing Disk Space on a Cryptshare Server. Applies to. Purpose. Solution. Freeing Disk Space on a Cryptshare Server. Situation.

A Kernel Compiling Adventure By Grant Nelson

FEATURES Journaling File Systems Advanced Linux file systems are bigger, faster, and more reliable by Steve Best

POSTouch Open Source Driver (OSE) Installation Guide

Idea6410 Ubuntu User Manual V 0.19

Google s Gmail webmail system

Instructions for setting up to compile and run OSGPS code under Linux

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery

Installation Guide for FTMS and Node Manager

RTAI 3.8 ON Ubuntu(9.10)-Linux-kernel :

HOW TO CLONE A LARGE NUMBER OF PCs

I experiment on the kernel of linux environment.

MODULE 02. Installation

Step by Step Guide. BRI Card Installation. (with Asterisk) Version 1.0

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

7.3 Linux?????????????

LINUXBUILD User's Manual

9.3 Linux?????????????

Install and Configure Enterprise Linux on the First Virtual Machine

CREATING CUSTOM KERNELS WITH DEBIAN'S

Quick Start Guide to Installing Your SSL-Explorer Server using the Linux RPM Installer

MV V210 Android 4.0 Compilation

Installing the Patches for PSN

Installing Dialogic Diva Software Driver as an Asterisk Channel. A Technical Overview

Certification. System Initialization and Services

The Linux Kernel HOWTO

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Release Note MPI/XMP-Linux Support Package

Users Manual. OP5 System 2.4. OP5 AB. Page 1 of 6

Installing MySQL Database On Linux

DSP/BIOS Link. Installation Guide Published on 20 th OCT Copyright 2009 Texas Instruments Incorporated.

Installation Manual for Sonnet RAID Controller

Linux VPN Configuration

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

Kernel Korner Exploring Dynamic Kernel Module Support (DKMS)

The Rockefeller University I NFORMATION T ECHNOLOGY E DUCATION & T RAINING. VPN Configuration Guide for Unix/Linux

Installation Oracle Applications R on OEL 5.2

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Zephyr Kernel Installation & Setup Manual

Installing FreePBX 13 on CentOS 6

Industio CP-134U Series User s Manual

Embedded Systems Ch 3A Linux Development Environment

Putting Linux on your motherboard

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Red Hat Linux 8 Unleashed. Copyright 2003 by Sams Publishing. International Standard Book Number: X. Warning and Disclaimer

Using UCS-Server Configuration Utility

HDC-3x Series Quick Installation Guide

LINUX KERNEL PRABHAT RANJAN. (

************************************************************************************* README.PDF

These instructions describe the system requirements and process for installing and initial configuration of jbase on Linux operating systems.

Industio CP-132U Series User s Manual

Drivers and the Kernel

******************************** Introduction ***********************************************************

MRCP. Installation Manual. Developer Guide. Powered by Universal Speech Solutions LLC

TBS DVB-S2 Receivers EUMETCast LINUX Setup Guide

Redhat Basic. Need. Your. What. Operation G U I D E. Technical Hand Note template version

Advantech General FAQ. How to change ubuntu specific kernel for quick cross test

Arch Linux Grub You Need To Load The Kernel First

Trixbox High-Availability with fonebridge Tutorial

Linux/Cygwin Practice Computer Architecture


Transcription:

There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config Character-based menu interface # make menuconfig Figure 1 Figure 2 X-window based interface # make xconfig Even though these methods create the same configuration file, the characterbased menu and X-window are recommended because you can t reselect these done parameters with Command-line interface. And you have to abort the configuration process if you want to change items that have been selected.

Figure 3 By the way, using these interfaces you need to load different files or packages. In default, the Red Hat 6.0 doesn include kernel development during installation. So, please select kernel development package and X window system. After installation, you will be able to use Command-line and X-window interfaces. For Character-based menu interface, it requires the RPM package ncurses and ncurses-devel. The package ncurses is loaded by default. So, if you have problem on using this interface, please check if the ncurses-devel has been installed. Check source code and tools The source code of Red Hat 6.0 is packaged in RPM format and doesn t be installed by default. The package has name kernel-source-2.2.5-15.i386.rpm. To install this package, please use following command on where it is located. # rpm Uvh kernel-source-2.2.5-15.i386.rpm. Or, you can right-click on this package, and then select install item in pop-up menu. Note: If you select kernel development package during installation, it will be installed into directory \usr\src\linux-2.2.5 automatically. The following steps will show you how to upgrade kernel with X-window based interface. In addition kernel source, the compilers should be available to rebuild the source code. To check for kernel tool programs on your system, use the following commands: # rpm q make (make utility) # rpm q egcs (C complier, gcc or egcs) If these files are not available on your system, please go to /RPMS subdirectory in Red Hat 6.0 distribution CD-ROM to load them

Upgrade Linux kernel 1. Login Linux system with root. 2. Start X-window system. 3. Check the kernel version with following command. # uname a 4. Download the latest kernel version from Red Hat web site http://www.redhat.com. In the article, the kernel version is 2.2.12 and has file name linux-2.2.12.tar.gz. 5. Delete Linux symbolic link, which is mirror folder of Linux-2.2.5 in directory usr/src. 6. Switch to folder where newer kernel source code (inux-2.2.12.tar.gz) locates, and Double-click on this file, and the content will be expanded. 7. Copy all files in linux folder to directory usr/src. 8. Right-Click on the linux folder, and select Properties at pop-up menu. Change the folder name to kernel-2.2.12 to distinguish various kernel versions.(ref. Figure 4) Figure 4 9. Create symbolic link for kernel-2.2.12 folder with linux. 10. After above steps, the usr/src folder should look like as Figure 5. 11. Launch a terminal emulator window, and switch to directory of source code by following command. # cd /usr/src/linux 10. Run the make command to launch Linux Kernel Configuration menu. # make xconfig 11. Review each field and select what items you want to include or remove. Pressing Help button, you can have detailed information about each parameter. After configuration, click on Save and Exit button to store

settings and go to comelier process.(ref. Figure 3) Figure 5 12. Link source code and libraries # make dep 13. Remove unnecessary files and modules. #make clean 14. Compile Linux kernel # make bzimage 15. Compile external modules # make modules 16. Install complied modules # make modules_install Note: The step 12 to step 16 can be grouped as one command statement. # make dep; make clean; make bzimage; make modules; make modules_install Rebuilding Linux kernel could take from dozen minutes to several hours, depending on system s processor, capacity of memory, and other factors. 17. After above process, the complied kernel and modules are located on below directories. BzImage: /usr/src/arch/i386/boot System.map and vmlinux: /usr/src/linux External modules: /usr/src/linux/modules Installed modules: /lib/modules/2.2.12(kernel version) 18. Replace the older kernel with newer one. # cd /boot # rm System.map # rm vmlinuz # mv /usr/src/linux/system.map System.map

# mv /usr/src/linux/vmlinux vmlinux # mv /usr/src/linux/arch/i386/boot/bzimage vmlinuz 19. Modify boot image record in file /etc/lilo.conf. Change image statement to boot/vmlinuz. (Ref. Figure 6) Figure 6 20. Execute lilo command, and then reboot Linux. 21. Run uname a command, you can see that the kernel has been upgraded to 2.2.12. (Ref. Figure 7) Figure 7