How to customize installation boot message

Issues related to applications and software problems and general support
Post Reply
harrywangca
Posts: 83
Joined: 2016/01/12 23:27:04
Location: Vista California

How to customize installation boot message

Post by harrywangca » 2020/07/21 20:51:57

Hello Team,

I have a question: how to customized boot print out message that will tell user to choose to fresh install or upgrade a system in CentOS 8?

I used to set up this in CentOS 6, in the CentOS 6 ISO file I will modify : isolinux/boot.msg to input what I want to show a user before he install/upgrade the system. for example, usually I will overwrite boot.msg with message:
1.
To install, type the install password and press <ENTER>.
To upgrade, type upgrade and press <ENTER>.

2. change file isolinux.cfg as corresponding:
default upgrade
prompt 1
timeout 20000

display boot.msg

# For upgrade
label upgrade
kernel vmlinuz
append ks=cdrom:/ks-upgrade.cfg initrd=initrd.img

# For install
label install
kernel vmlinuz
append ks=cdrom:/ks-install.cfg initrd=initrd.img
and then re-make the ISO file, when install this ISO file, it will prompt for user to choose in the followings.

To install, type the install password and press <ENTER>:
To upgrade, type upgrade and press <ENTER>:

I know this is work for legacy BIOS, but right now I am using CentOS 8 with UEFI boot, I don't know where to configure this set up, if you know please give me a help will be very appreciated.

Regards,
Harry

Post Reply

Return to “CentOS 8 - General Support”