# /boot/grub/grub.conf 此文件若不存在,则默认进入命令行模式
default=0 #默认启动项(第一项)
timeout=5 #默认等待时间(s)
splashimage=(hd0,0)/grub/splash.xpm.gz #引导菜单图片所在路径[(hd0,0)]=(主硬盘,第0分区)
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0) kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
#Linux内核所在路径[kernel /vmlinuz-2.6.11-1.1369_FC4],([ro]=readonly),([rhgb]=redhat graphical boot),终端分辨率([vga]=0x???)
initrd /initrd-2.6.11-1.1369_FC4.img #初始化LinuxImage[initrd-2.6.11-1.1369_FC4.img]并设置相应参数
grub vga table
bit | 640*400 | 640*480 | 800*600 | 1024*768 | 1600*1200|
----------------------------------------------------------------------------
4 | None | None | 0x302 | None | None |
----------------------------------------------------------------------------
8 | 0x300 | 0x301 | 0x303 | 0x307 | 0x31c |
----------------------------------------------------------------------------
16 | None | 0x311 | 0x314 | 0x31A | 0x31E |
----------------------------------------------------------------------------
24 | None | 0x312 | 0x315 | 0x31B | 0x31E |
default=0 #默认启动项(第一项)
timeout=5 #默认等待时间(s)
splashimage=(hd0,0)/grub/splash.xpm.gz #引导菜单图片所在路径[(hd0,0)]=(主硬盘,第0分区)
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0) kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
#Linux内核所在路径[kernel /vmlinuz-2.6.11-1.1369_FC4],([ro]=readonly),([rhgb]=redhat graphical boot),终端分辨率([vga]=0x???)
initrd /initrd-2.6.11-1.1369_FC4.img #初始化LinuxImage[initrd-2.6.11-1.1369_FC4.img]并设置相应参数
grub vga table
bit | 640*400 | 640*480 | 800*600 | 1024*768 | 1600*1200|
----------------------------------------------------------------------------
4 | None | None | 0x302 | None | None |
----------------------------------------------------------------------------
8 | 0x300 | 0x301 | 0x303 | 0x307 | 0x31c |
----------------------------------------------------------------------------
16 | None | 0x311 | 0x314 | 0x31A | 0x31E |
----------------------------------------------------------------------------
24 | None | 0x312 | 0x315 | 0x31B | 0x31E |