|
|
bootsplash, 终端背景,framebuffer, fbsplash
1,安装相关软件,emerge splashutils。splash相关软件。
emerge v86d 。内核里的uvesafb要用这个做支持。
2,配置内核:
Device Drivers --->
<*> Support for frame buffer devices --->
<*> Userspace VESA VGA graphics support
Processor type and features --->
MTRR (Memory Type Range Register) support
General setup --->
Initial RAM filesystem and RAM disk (initramfs/initrd) suppor (/usr/share/v86d/initramfs) Initramfs source file(s) //注意这两行,这就是导入刚才装的v86d,没他uvesafb不起作用。
编译内核并放到/boot/里。
3,给menu.lst或grub.conf加参数。
video=uvesafb:mtrr:3,ywrap,1024x768-32@85 splash=silent,theme:<theme> console=tty1
4, 制作 inirtamfs image:
# /usr/sbin/splash_geninitramfs -g /boot/initrd-fbsplash -r 1024x768 -v <theme>
<theme> 都是在/etc/splash/下的主题。
5,我的menu.lst
kernel /boot/kernel-2.6.28-gentoo-r1-radeon root=/dev/sda4 video=uvesafb:mtrr:3,ywrap,1024x768-32@60 ramdisk=4096 splash=silent,theme:livecd-2007.0 console=tty1
initrd /boot/initrd-livecd
6 貌似只有1024x768这一种模式可用,其他的如我笔记本的1280x800都没有fbcon的背景。虽然选了那种模式的背景图片。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|