Settings
DEFAULT label
Set the global default.
If "label" points into a submenu, that menu becomes the start menu;
In other words, this directive has the same effect as both MENU DEFAULT and MENU START.
TIMEOUT 30
# 30 = 3 second
PROMPT flag_val
If flag_val is 0, display the "boot:"
prompt only if the Shift or Alt key is pressed, or Caps Lock or Scroll lock is set (this is the default).
If flag_val is 1, always display the "boot:" prompt.
Boot Item Setting
isolinux.cfg
label Kickstart menu label ^Kickstart menu immediate menu default kernel vmlinuz append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 inst.ks=cdrom:/dev/cdrom:/ks.cfg
inst.stage2= 指定欲載入之安裝程式 runtime 映像檔的位置
- Any CD/DVD drive inst.repo=cdrom
- Specific CD/DVD drive inst.repo=cdrom:device
- Hard Drive inst.repo=hd:device/path
- HTTP Server inst.repo=http://host/path
- HTTPS Server inst.repo=https://host/path
- FTP Server inst.repo=ftp://username:password@host/path
- NFS Server inst.repo=nfs:[options:]server:/path
\x20 代表空格
menu label
Change the label displayed for a specific menu entry.
caret symbol (^)
The caret symbol (^) in a MENU LABEL statement defines a hotkey.
(When a hotkey is pressed, the cursor will move to the corresponding menu entry.)
If "menu immediate" is present, then when a hotkey is pressed the corresponding menu entry will be directly launched.
menu default
* Only valid after a LABEL statement
Indicates that this entry should be the default for this particular submenu. also see the DEFAULT directive .
ISO 的 Label
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64
每 ISO 的 LABEL 都不一樣.
i.e.
Rocky 8.4 -> Rocky_x86_64
Rocky 8.5 -> Rocky-8-5-x86_64-dvd