pake大大真是感謝你了
回答了那麼多問題...
但是
想請問登入畫面的問題,
pake老師有教設定vga=791的話,登入資訊會有色彩(我有聽喔~),
我想請問,不想讓登入資訊顯示的話,可以設定嗎?要怎麼作 ?
你可以看一下這篇文章
http://fedora.tw/modules/newbb/viewtopic.php?topic_id=8&forum=4#forumpost16原理: 核心需支源bootsplash 顯示
第一步編輯核心
到www.kernel.org下載核心原始碼
並下載需修補的diff檔,步驟如下:
將核心原始碼解壓放置 /usr/src 目錄之下: :
# cd /usr/src
# tar xvfz linux-2.6.10.tar.gz
再到http://bootsplash.de/下載同核心版本的diff檔
將 bootsplash-3.1.4-2.6.10.diff放置在 /usr/src 目錄之內
進入核心源碼目錄進行修補: :
# cd linux-2.6.10
# patch -p1 < .. /bootsplash-3.1.4-2.6.10.diff
完成後,開使編譯核心
清除核心可能存在舊的設定:
# make mrproper
使用 make menuconfig 來設定核心支援 bootsplash 如下圖:
Console drivers --->
- VGA text console
- Video mode selection support
Frame-buffer support --->
- Support for frame buffer devices
- VESA VGA graphics console
- Use splash screen instead of boot logo
# make all;
# make modules;
# make modules_install;
# make install;
第二步將bootsplash的軟件及佈景主題安裝入系統之內下載bootsplash軟件http://www.bootsplash.org/dload.html 解開下載回來的bootsplash userspace utilities and scripts :
# tar xvfj bootsplash-3.0.7.tar.bz2
# cd bootsplash-3.0.7/Utilites
# make all
完成編譯後,將執行檔複製到sbin下
# cp fbmngplay fbresolution fbtruetype splash /sbin
並複製shell script到/etc/rc.d/ :
# cp bootsplash-3.0.7/Scripts/splash.sh /etc/rc.d
設定執行權限 :
# chmod +x /etc/rc.d/splash.sh
安裝themes 到http://www.bootsplash.org/themes.html下載所需的themes並解開下載至/root下 :
# mkdir /etc/bootsplash
# mkdidr /etc/bootsplash/themes
# cd /etc/bootsplash/themes;tar xvfj /root/Themes-Redmond.tar.bz2
將圖檔參數寫進去initrd-2.6.10.img :
#splash -s -f /etc/bootsplash/themes/Redmond/config/bootsplash-1024x768.cfg >> /boot/initrd-2.6.10.img
第三步開機選單設定 1.Grub設定修改 /boot/grub/grub.conf是
範例: :
default=1
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Windows 2000
rootnoverify (hd0,0)
chainloader +1
title Fedora core (2.6.10)
root (hd0,2)
kernel /boot/vmlinuz-2.6.10 ro root=LABEL=/ vga=791 splash=silent
initrd /boot/initrd-2.6.10.img
修改完後,存檔離開,並執行grub-install /dev/hda