# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,7)
# kernel /boot/vmlinuz-version ro root=/dev/sda8
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.el5xen)
root (hd0,7)
kernel /boot/xen.gz-2.6.18-128.el5
module /boot/vmlinuz-2.6.18-128.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-128.el5xen.img
title CentOS-base (2.6.18-128.el5)
root (hd0,7)
kernel /boot/vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-128.el5.img
title Other
rootnoverify (hd0,1)
chainloader +1
grub
最新推荐文章于 2025-12-09 19:35:46 发布
本文详细介绍了CentOS系统的启动配置文件内容,包括不同内核版本的加载方式、初始化映像文件路径及其相关参数设置等。此外,还特别指出当前系统未划分/boot分区,因此所有内核及初始化映像的路径均为根目录下。
1382

被折叠的 条评论
为什么被折叠?



