本篇內容介紹了“如何實現LINUX系統2.4內核升級到2.6內核”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
一. 在升級前必須對以下的組件升級
1. 升級 device-mapper,在 ftp://sources.redhat.com/pub/dm下載
cd /usr/src
tar -zxvf device-mapper.1.01.04.tgz
cd device-mapper.1.01.04
./configure --perfix=/
make all
make install
2. 安裝 LVM2,在 ftp://sources.redhat.com/pub/lvm2下載
cd /usr/src
tar -zxvf LVM2.2.01.14.tgz
cd LVM2.2.01.14
./configure --perfix=/
make all
make install
3. 升級 mkinitrd 在 http://rpm.pbone.net/ 下查找
rpm -Uvh mkinitrd-3.5.11-3.9.i386.rpm
4.update modutils 在 ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/下載
cd /usr/src
tar -zxvf modutils-2.4.27.tar.gz
cd modutils-2.4.27
./configure --perfix=/
make all
make install
5.安裝module-init-tools,在 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools 下載
cd /usr/src
tar -zxvf module-init-tools-3.2-pre9.tar.gz
cd module-init-tools-3.2-pre9
./configure --prefix=/
make moveold
ps:"make moveold"將把系統原來的modutils工具程序改名為"*.old"(比如,lsmod.old等,是非常重要的一步! 如果忘記了這一步也不要緊張, 可以按照上面的步驟4重裝一遍modutils就可以了.
make
ps: 用module-init-tools-3.1 編譯時會出現 "make: *** [modprobe.conf.5] Error 127"
建議用 3.0 或 3.2-pre 版
make install
./generate-modprobe.conf /etc/modprobe.conf
“如何實現LINUX系統2.4內核升級到2.6內核”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。