LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release: 5.5
Codename: Tikanga
/boot
[root@localhost boot]# ls
config-2.6.18-194.el5 symvers-2.6.18-194.el5.gz
grub System.map-2.6.18-194.el5
initrd-2.6.18-194.el5.img vmlinuz-2.6.18-194.el5
lost+found
[root@localhost boot]# ll -h vmlinuz-2.6.18-194.el5
-rw-r--r-- 1 root root 1.8M 3?17 2010 vmlinuz-2.6.18-194.el5
2.6.18-194.el5
libgcc-4.1.2-48.el5
gcc-4.1.2-48.el5
compat-libgcc-296-2.96-138
gcc-gfortran-4.1.2-48.el5
gcc-c++-4.1.2-48.el5
*gcc* ncurses-devel(這個也是必須的)
[root@localhost linux-2.6.39.4]# pwd
/root/linux-2.6.39.4
[root@localhost linux-2.6.39.4]# ls
arch fs MAINTAINERS security
block include Makefile sound
COPYING init mm tools
CREDITS ipc net usr
crypto Kbuild README virt
Documentation Kconfig REPORTING-BUGS
drivers kernel samples
firmware lib scripts
這裡我選擇了最簡單的General setup然後斷行符號;
)
[root@localhost modules]# ls
2.6.18-194.el5 2.6.39.4
2.6.18-194.el5 2.6.39.4
[root@localhost modules]# cd 2.6.39.4/
[root@localhost 2.6.39.4]# ls
build modules.ccwmap modules.isapnpmap modules.seriomap
kernel modules.dep modules.ofmap modules.symbols
modules.alias modules.ieee1394map modules.order modules.usbmap
modules.builtin modules.inputmap modules.pcimap source
[root@localhost 2.6.39.4]# cd kernel/
[root@localhost kernel]# ls
arch crypto drivers fs lib net sound
[root@localhost kernel]#
Linux localhost.localdomain 2.6.39.4 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux