Show Table of Contents
29.2. 编辑 GRUB 配置
GRUB 引导装载程序使用配置文件
/boot/grub/grub.conf。要配置 GRUB 使用新的文件引导,请在 /boot/grub/grub.conf 中添加指向它们的引导字段。
最小的引导字段类似如下:
title Installation
root (hd0,0)
kernel /vmlinuz-install
initrd /initrd.img-install
以下选项通常用于无介质安装中:
ip=repo=lang=keymap=ksdevice=(如果安装需要 eth0 之外的接口)vnc和vncpassword=用于远程安装
完成后,在
/boot/grub/grub.conf 文件中更改 default 选项指向新添加的第一个字段:
default 0

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.