星球 - Grub fix on CentOS 5
作者:noreply@blogger.com (凍仁) | 來自:凍仁的 Ubuntu 筆記 | 2010/12/22 12:19:00
凍仁近來翻到 電腦備份王2:Clonezilla live 一書中有提到若使用 Clonezilla 還原 MBR 後會與原先的畫面有所不同,其實這是因為找不到 splash.xpm.gz 的關係,整體使用上而言是不會有什麼影響,倘若想美化一下,可參照書中的方法改用文字介面的方式來呈現。
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making
# changes to this file
# NOTICE: You have a /boot partition. This means
# that all kernel and initrd paths are relative
# to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
# splashimage=(hd0,0)/grub/splash.xpm.gz
color cyan/red white/red
hiddenmenu
title CentOS (2.6.18-194.17.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=LABEL=/
initrd /initrd-2.6.18-194.17.1.el5.img
話說改完以後的介面跟 Debian lenny 的 Grub 一樣簡潔有力!
資料來源:
★電腦備份王2:Clonezilla live - aNobii