您的位置:首页 > 其它

开发个人信息门户的想法

2006-10-15 23:43 239 查看
很久没有用过fbsplash/gensplash了,突然之间想装来玩一下。看了下相关的文档,就开始动手安装了。下面是安装过程:
1、编译内核
(1)如果不是用uvesa,那么直接用内核里的vesafb是最好的选择。由于我的显卡是945GZM主板集成显卡,一开始我尝试使用intelfb,结果编译多次都无法正常初始化内核,无法进入系统,最终还是使用vesafb才成功。估计是因为intelfb还处于开发状态吧。
引用Device Drivers > Graphics support:
Support for frame buffer devices
<*> VESA VGA graphics support

(2)必须选择的内核选项有:
下面这个是创建splash initrd文件所必需的:
引用General Setup --->
Initial RAM filesystem and RAM disk (initramfs/initrd) support

如果希望使用F2键切换fbsplash的slient和verbose模式的话,就选上下面选项:
引用Device Drivers --->
Input Device Support --->
<*> Event Interface

当然,还少不了选择fbdecoration:
引用Device Drivers >
Graphics support >
Console display driver support:
Video mode selection support
<*> Framebuffer Console support
Support for the framebuffer conosle decoration

编译安装好内核后,进入下一步。
2、安装fbsplash相关软件和theme:
(1)安装splashutils,必须启用USE="mng fbcondecor":
引用emerge splashutils
rc-update add fbcondecor boot
(2)安装theme.我选择的是livecd-2007.0:
引用emerge splash-themes-livecd
然后进入/etc/splash,执行以下命令:
(3)如果你的/boot目录是单独一个分区,则先挂载/boot分区
引用mount /boot
(4)生存分辨率为1024x768的splash initrd文件,并存放在/boot分区:
引用splash_geninitramfs -g /boot/livecd-1024x768 -v -r 1024x768 livecd-2007.0
(5)编辑grub.conf,根据实际分区和grup安装的位置,加入以下内容(假设新内核名称为linuz-2.6.26:
引用title Gentoo Linux 2.6.26-gentoo-r1 with fbsplash
root (hd0,2)
kernel /boot/linuz-2.6.26 vga=0x318 video=vesafb:mtrr:3,ywrap splash=silent,fadein,theme:livecd-2007.0 quiet CONSOLE=/dev/tty1
initrd /boot/livecd-1024x768

这里要注意CONSOLE不能用小写的console,不然gdm会启动为tty2。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: