RHEL(Red Hat Enterprise Linux) Installation
Provides detailed, OS-specific deployment guides for multiple Linux distributions. Each chapter outlines prerequisites, installation methods, and post-install configuration steps to enable console and management access.
Installation via Serial Console
Serial Console
This section describes how to install RHEL 9.4 on ESN904. The procedure is to use mini-USB console connectivity and bootable USB drive to install RHEL on ESN904.
Procedure
Step-1: Prepare RHEL kickstart ISO
This section describes how to base on standard RHEL 9.4 to generate new kickstart ISO, which can auto start to install RHEL and includes settings which ESN904 needed.
Step-2: Make a bootable USB drive
This section describes how to make bootable USB drive for RHEL installation.
Step-3:Install RHEL on ESN904
This section describes how to use serial console to connect ESN904 and install RHEL on it.
Prepare RHEL kickstart ISO
Prepare RHEL base build environment
Install ‘mkksiso’ tool on build environment
sudo dnf install lorax -y‘mkksiso’ descriptions
Download RHEL ISO and upload it to build environment.
Login to build environment.
Edit kickstart file
vim <kickstart_file_name>
Edit the settings as below:
# Root Password
# This example sets the root password to ‘redhat’. Please modify it according to your requirements.
rootpw redhat
# System language lang en_US.UTF-8
# System timezone
timezone America/New_York --utc
# Use text mode install text
# Accept the license eula --agreed
# Do not configure the X Window System skipx
# Partitioning
clearpart --all --initlabel
autopart --type=lvm --noswap
# Include kernel arguments required for booting into the installed media
bootloader --location=mbr --driveorder=sda --append="8250.nr_uarts=4 console=ttyS0,115200n8"
repo --name="BaseOS" --baseurl=file:///run/install/repo/BaseOS
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
%packages --ignoremissing
@^server-product-environment @core
@base
@Development Tools
dnf
openssh-server
openssh-clients
dhcp-client
%end
%post
# Enable ssh login on boot
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config systemctl restart sshd.service
systemctl enable [email protected]
%end
reboot Modifications
(1) Password: redhat
It can be modified to yours.
(2) Includes kernel arguments with serial console settings
--append="8250.nr_uarts=4 console=ttyS0,115200n8"
(3) Enable ttyS0.service to output the serial console signal.
Setup「%post」section to append below settings.
systemctl enable [email protected]
Querry ‘ISO volume ID’ of RHEL ISO which was downloaded in (3).
sudo isoinfo -d -i <RHEL_ISO_ name>.iso | grep "Volume id"
Build new kickstart ISO with mkksiso’ tool.
sudo lorax/src/bin/mkksiso --ks <kickstart_file_name> --rm "rd.live.check" -c "8250.nr_uarts=4 console=ttyS0,115200n8 inst.ks=hd:LABEL=:/kickstart.ks" <RHEL_ISO_ name>.iso <New_KS_ISO_name >.iso
Modifications
(1) Setup serial console settings
8250.nr_uarts=4 console=ttyS0,115200n8
(2) Setup ttyS0.service default enable
systemctl enable [email protected]
(3) Enable ttyS0.service to output the serial console signal.
-rm “rd.live.check”’

Install RHEL on ESN904
Plug bootable USB drive (which is made by step-2) on ESN904 USB port

Press RESET button to trigger ESN904 power reset

Setup control environment (NB/PC/Server) to connect to ESN904 mini-USB console port.

Run console tool (ex: Tera-Term) on control environment, and setup console settings as below:

Connect and login to BMC OS
Default Acc/Pwd : root / 0penBmc
PS: ‘0’ is zero

Execute console redirect tool to redirect CPU serial output to fount panel mini-USB-console port.
obmc-console-client -e “~.”-e” option for setup the escape character. Console output will back to BMC's serial output when user type in it.
The default escape character is「~.」

Press ‘ESC’ button when BIOS showing message as below to enter BIOS setup menu.
ESN904 boot-up will take approximately 3–5 minutes, since it has PFR(Intel Platform Firmware Resilience) features to protect firmware security, and it take sometimes to check firmware validation when system bootup.

Enter BIOS menu, press ‘↑’ and ’↓’ to select ‘Boot Manager’ entry. [圖片標示似乎不太正確]

Select ‘USB’ item to boot from USB
It is one-time settings, only active this time.

System will start to install RHEL automatically.


System will auto-reboot after installation is completed, then it is ready.

Installation via BMC iKVM
This guide describes how to install RHEL 9.4 on ESN904. The procedure is using BMC iKVM graphic connectivity and bootable USB drive to install RHEL on ESN904.Procedure
Procedure
Step-1: Make bootable USB drive
This section describes how to make bootable USB drive for RHEL installation.
Step-2: Install RHEL on ESN904 via BMC iKVM
The BMC of ESN904 provides graphic connectivity features which is called iKVM. This step describes how to use it to install RHEL on ESN904.
Step-3:Modify OS settings
Since RHEL default without console settings and disabled related service. This section describes how to setup them to enable OS output serial console signal to front panel mini-USB console port.
Make bootable USB drive
Follow RHEL website to make bootable USB drive https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/installation_guide/sect-making-usb-media#sect-making-usb-media
Install RHEL on ESN904 via BMC iKVM
Plug bootable USB drive (which is made by step-1) on ESN904 USB-A port

Connect RJ45 cable to ESN904’s management port and setup network
topology as below:


Default BMC IP is 192.168.1.202
If you want to change BMC IP to others or DHCP, please follow <Note-1> or <Note-2> or <Note-3> to modify it.
Launch web browser on Control node and login it.

Current design only support https, please use URL : ‘https://<BMC_IP>’ to connect BMC web
Default settings as below:
BMC IP
192.168.1.202
Account
root
Password
0penBmc
Note: password ‘0’ is zero, not latter O.
Select ‘Option’ -> ‘KVM(Insyde)’

Select ‘HTML5 iKVM Viewer’

After (5), it will pop a new window, then show the host graphics output.

Press REST button to trigger ESN904 power reset

Press ‘ESC’ button when BIOS showing message as below to enter BIOS setup menu
ESN904 bootup will take approximately 3~5 min, since it has PFR(Intel Platform Firmware Resilience) features to protect firmware security, and it needs to take some time to check firmware validity when system bootup.

Enter BIOS menu, press ‘↑’ and ’↓’ to select ‘Boot Manager’ entry.

Select ‘USB’ item to boot from USB
It is one-time settings, only be activated this time.

System will boot from USB, please select ‘Install Red Hat Enterprise Linux 9.4” and follow the instruction to install OS.

Modify OS settings
Login to the OS using account/password in Step-2.
Enable serial console output service.
sudo systemctl enable [email protected]
Check ttyS0 service is ‘active (running)’
sudo systemctl status [email protected]
Modify GRUB settings to include console settings.
sudo grubby --args “8250.nr_uarts=4” --update-kernel DEFAULTsudo grubby --args “console=ttyS0,115200n8” --update-kernel DEFAULT
Check GRUB information included modifications
sudo grubby --info DEFAULT

Check serial console output
Setup control environment (NB/PC/Server) to connect to ESN904 min-USB console port.

Run console tool (ex: Tera-Term) on control environment, and setup console settings as below:

Connect and login to BMC OS.

Default Acc/Pwd : root / 0penBmc
PS: ‘0’ is zero
Execute console redirect tool to redirect CPU serial output to fount panel mini-USB-console port.
obmc-console-client -e “~.”
-e” option for setup the escape character. Console output will be back to BMC's serial output when user type in it.
The default escape character is「~.」
Now it is showing CPU console.

Note 1: How to change BMC IP (via console)
Follow <Step-4> (1) ~ (3) to connect to BMC console.
Setup interface ‘eth0’ as you wish.
ifconfig eth0

Note 2: How to setup BMC IP as DHCP mode (via console)
Follow <Step-4> (1) ~ (3) to connect to BMC console.
Setup interface ‘eth0’ as you wish.
ifconfig eth0

Note 3: How to setup BMC IP as DHCP mode (via Redfish)
Follow (1) ~ (2) to setup network connection.
Execute curl on remote side to invoke Redfish API
curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PATCH https://<BMC_IP>/redfish/v1/Mnagers/bmc/EthernetInterfaces/eth0 -d '{"DHCPv4": {"DHCPEnabled": true}}'

Last updated


