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
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
default 0