LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 777|回复: 11

请教编译安装过bootsplash的兄弟们

[复制链接]
发表于 2004-7-6 21:26:27 | 显示全部楼层 |阅读模式
论坛上有没有详细完整的bootsplash的介绍呢?
发表于 2004-7-6 21:57:38 | 显示全部楼层
坛子有搜索功能的
发表于 2004-7-7 00:41:17 | 显示全部楼层
2.6.7的内核好像不行,
我编译过,
有问题。
发表于 2004-7-7 02:08:27 | 显示全部楼层
 楼主| 发表于 2004-7-7 11:17:44 | 显示全部楼层
whether I type "make modules and make modules_install" after making bzImage?
发表于 2004-7-7 11:55:44 | 显示全部楼层
我也只在 2.4.20 试成了,后来没有弄了。
2.6.*下应该也不难吧,framebuffer一定是支持了的。
http://www.aichler.net/gentoo/bootsplash/
有时间再弄一个玩。
发表于 2004-7-7 12:34:19 | 显示全部楼层
谁在2.6内核上编译成功过?
至少2.6.7的内核打补丁有错误。
 楼主| 发表于 2004-7-7 13:04:33 | 显示全部楼层
我是想知道,在make dep make bzImage后是否还用make modules and
make modules_install呢?对于编译bootsplash
 楼主| 发表于 2004-7-7 13:15:56 | 显示全部楼层
我现在是可以有bootsplash了
可使用这个新内核后启动后出错误了。
提示:不能分析符号连接。
我编译bootsplash的步骤是:
1 patch -Np1 -i ../bootsplash-3.0.7-2.4.23.diff
2make menuconfig
3把该选的都选上
4make dep && make bzImage
5cp arch/i386/boot/bzImage /boot/lfs-bootsplash
再在grub的配置文件/boot/grub/menu.lst里面增加一项:
title LFS Boot Splash
root (hd0,6)
kernel /boot/lfs-bootsplash root=/dev/hda7 ro
现在这个已经能启动了,不过还缺少一些boot splash
需要的参数,我们后面还要改的。

3.安装bootsplash-3.0.7里面的工具
解压,并进入bootsplash-3.0.7/Utilities目录。执行命令:
make
cp fbresolution fbmngplay fbtruetype splash /sbin/

4.把图片用splash程序写到ramdisk里,这样在启动的时候才能读到,因为这时候还没有加载分区呢。
建立目录/etc/bootsplash/themes,解压Theme-Linux.tar.bz2到这个目录下,现在的目录结构应该是:
/etc/bootsplash/themes/Linux
ln -s Linux current
再使用splash程序:
/sbin/splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg >> /boot/initrd.splash
这时候,就需要修改刚才的menu.lst文件了,改成:
title LFS Boot Splash
root (hd0,6)
kernel /boot/lfs-bootsplash root=/dev/hda7 ro vga=791 splash=silent
initrd /boot/initrd.splash
现在重启,就能看到可爱的小企鹅了,按F2,会变成verbose模式。
发表于 2004-7-7 14:21:35 | 显示全部楼层
我现在是可以有bootsplash了
可使用这个新内核后启动后出错误了。
提示:不能分析符号连接。

patch时有什么错误提示吗?
启动后出错是什么现象啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表