bootsplash for slackware kernel-2.6.12!(轉)

amyz發表於2007-08-10
bootsplash for slackware kernel-2.6.12!(轉)[@more@]

  下面介紹下我自己的bootsplash-for-slk-2.6.12步驟:

  1.下載所需檔案

  核心原始碼:

  針對linux-2.6.12核心的bootsplash補丁:

  2.編譯核心並打上bootsplash補丁

#cp linux-2.6.12.tar.bz2 bootsplash-3.1.6-2.6.12.diff /usr/src

刪除舊的linux連結

#rm linux

新建linux連結

#ln -sf linux-2.6.12 linux

#cd linux

打上補丁

#patch -p1 < ../bootsplash-3.1.6-2.6.12.diff

編譯新的核心

#make menuconfig

  下面是必選項,其餘需要根據自己情況選擇!

Code maturity level options ---&gt[*] Prompt for development and/or incomplete code/drivers

       Processor type and features ---&gt[*] MTRR (Memory Type Range Register) support

       Device Drivers ---&gt

             Block devices ---&gt

             Loopback device support

             RAM disk support

             (4096) Default RAM disk size

             [*]  Initial RAM disk (initrd) support

       Graphics support ---&gt[*] Support for frame buffer devices

                  [*]  VESA VGA graphics support

       Console display driver support ---&gt[*]  Video mode selection support

                          Framebuffer Console support

       Bootsplash configuration ---&gt[*] Bootup splash screen

#make

#make modules_install

#cp arch/i386/boot/bzImage /boot/kernel-2.6.7

#cp System.map /boot/System.map-2.6.7

#cp .config /boot/config-2.6.7

除非你改過Makefile,去掉#export INSTALL_PATH=/boot這行的#

否則在slackware中不要用#make install來安裝核心。

  如果是2.4.xx的核心,則下面是必選項,其餘需要根據自己情況選擇!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752019/viewspace-941389/,如需轉載,請註明出處,否則將追究法律責任。

相關文章