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
您也許會希望在開機字段的
kernel 一行之後附加選項。這些選項主要為 Anaconda 中所會設置的選項,並且使用者一般會互動式地設置這些選項。欲取得可用安裝程式的開機選項清單,請參閱 章 28, 開機選項。
下列選項對於無媒介的安裝程序來說相當有幫助:
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.