当前位置:操作系统 > Unix/Linux >>

bootsplashforslackwarekernel-2.6.12!

下面介绍下我自己的bootsplash-for-slk-2.6.12步骤:

  1.下载所需文件

  内核源代码:linux-2.6.12.tar.bz2

  针对linux-2.6.12内核的bootsplash补丁:bootsplash-3.1-i486-1.tgz

  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

  --->[*] Prompt for development and/or incomplete code/drivers

  Processor type and features

  --->[*] MTRR (Memory Type Range Register) support

  Device Drivers

  --->

  Block devices

  --->

  <*> Loopback device support

  <*> RAM disk support

  (4096) Default RAM disk size

  [*]

  Initial RAM disk (initrd) support

  Graphics support

  --->[*] Support for frame buffer devices

  [*]

  VESA VGA graphics support

  Console display driver support

  --->[*]

  Video mode selection support

  <*> Framebuffer Console support

  Bootsplash configuration

  --->[*] 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的内核,则下面是必选项,其余需要根据自己情况选择
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,