在redhat rel 内核版本2.6.18-53.el5xen安装 linux2.6.22
来源:互联网 发布:织梦cms 安装 gbk 编辑:程序博客网 时间:2024/05/22 00:36
下载自己想要的内核,
以linux-2.6.22.tar.gz内核为例。(rel5 linux kernel is 2.6.18)
>tar -zxvf linux-2.6.22.tar.gz
>su
>password:
>mv linux-2.6.22 /usr/src
>cp /usr/src/linux-2.6.22
>cp /boot/.config ./ //use the defaut kernel config that your current linux config
>make menuconfig
choose Load an Alternate Configuration File . use .config (in the current dirctory)
press TAB key choose OK to go to main menu ,then TAB key to exit
>make bzImage
for 20 min , then compile ok!
>make modules // compile modules that selected by default config through .config file
for 20min ,then compile OK!
>make modules_install //install modules
>make install // install kernel
that is ok!
Look the change of /boot/gurb/grub.conf
>cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.22)
root (hd0,0)
kernel /vmlinuz-2.6.22 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.22.img
title Red Hat Enterprise Linux Server (2.6.18-53.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-53.el5
module /vmlinuz-2.6.18-53.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-53.el5xen.img
title Red Hat Enterprise Linux Server-base (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-53.el5.img
the first title is the new kernel !!
>reboot
enter the timeout interface ! please enter ESC key to choose selecting kernel UI
test!!!!!!
Also you can modify /boot/grub/grub/gurb.conf to set default kernel
default=1 //default kernel
timeout=10
default=1 // defalut : the second title is default val
0 0
- 在redhat rel 内核版本2.6.18-53.el5xen安装 linux2.6.22
- 远程安装oracle 10.2.1 for redhat 5.0 2.6.18-53.el5xen
- redhat 2.6 版本以上的内核编译
- 升级linux2.4.20内核到2.6.18
- linux2.4.37内核的安装
- Linux2.6的所有内核版本
- 在RedHat/CentOS下安装Docker(不升级内核
- 谈debug版本可以正常运行,而在rel…
- 【内核】linux2.6版本内核编译配置选项(一)
- 【内核】linux2.6版本内核编译配置选项(二)
- ubuntu05.04 linux2.6.10 内核安装
- HOWTO compile kernel modules for the kernel 2.6: (编译linux2.6版本内核)
- redhat evaluation 版本的安装
- Redhat系列的Linux的内核版本
- redhat历史以及对应的内核版本
- CentOS 和RedHat内核版本对应表
- centos/redhat内核版本对应表
- Git 在RedHat安装
- JS中字符串的相关操作
- 第十三章 13.2.2节练习
- Java中ArrayList和LinkedList区别
- ava.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xm
- CSS中怎么让DIV居中
- 在redhat rel 内核版本2.6.18-53.el5xen安装 linux2.6.22
- 【独立游戏】作为独立开发者,有哪些可以分享的经验?
- 轻松学ARM系列之I2C总线
- spring4.x + hibernate4.x 配置详解
- 无需编码开发快速设计互动式UI - uilang
- httpclient使用详解
- asp.net中kindeditor配置
- 从Google Camera 的经验谈Software Engineering 之中Design 的重要性
- IOS Content Hugging 和 Content Compression Resistance