Questo contenuto non è disponibile nella lingua selezionata.
Interactively installing RHEL from installation media
Installing RHEL on a local system using the graphical installer
Abstract
Providing feedback on Red Hat documentation Copia collegamentoCollegamento copiato negli appunti!
We are committed to providing high-quality documentation and value your feedback. To help us improve, you can submit suggestions or report errors through the Red Hat Jira tracking system.
Procedure
Log in to the Jira website.
If you do not have an account, select the option to create one.
- Click Create in the top navigation bar.
- Enter a descriptive title in the Summary field.
- Enter your suggestion for improvement in the Description field. Include links to the relevant parts of the documentation.
- Click Create at the bottom of the window.
Chapter 1. System requirements and supported architectures Copia collegamentoCollegamento copiato negli appunti!
Red Hat Enterprise Linux 10 delivers a stable, secure, consistent foundation across hybrid cloud deployments with the tools needed to deliver workloads faster with less effort. You can deploy RHEL as a guest on supported hypervisors and Cloud provider environments as well as on physical infrastructure. Applications can take advantage of innovations in leading hardware architecture platforms.
Review the guidelines provided for system, hardware, security, memory, and storage configuration before installing.
If you want to use your system as a virtualization host, review the necessary hardware requirements for virtualization.
RHEL supports the following architectures:
- AMD and Intel 64-bit architectures
- The 64-bit ARM architecture
- IBM Power Systems, Little Endian
- 64-bit IBM Z architectures
1.1. Supported installation targets Copia collegamentoCollegamento copiato negli appunti!
An installation target is a storage device that stores Red Hat Enterprise Linux and boots the system. Red Hat Enterprise Linux supports the following installation targets for IBM Z, IBM Power, AMD64, Intel 64, and 64-bit ARM systems:
- Storage connected by a standard internal interface, such as DASD, SCSI, SATA, or SAS
- BIOS/firmware RAID devices on the Intel64, AMD64 and arm64 architectures
- Fibre Channel Host Bus Adapters and multipath devices. Some can require vendor-provided drivers.
- Xen block devices on Intel processors in Xen virtual machines.
- VirtIO block devices on Intel processors in KVM virtual machines.
Red Hat does not support installation to USB drives or SD memory cards.
1.2. Disk and memory requirements Copia collegamentoCollegamento copiato negli appunti!
If several operating systems are installed, it is important that you verify that the allocated disk space is separate from the disk space required by Red Hat Enterprise Linux. In some cases, it is important to dedicate specific partitions to Red Hat Enterprise Linux, for example, for AMD64, Intel 64, and 64-bit ARM, at least two partitions (/ and swap) must be dedicated to RHEL and for IBM Power Systems servers, up to three partitions (/, swap, and potentially a PReP boot partition) must be dedicated to RHEL.
Additionally, you must have a minimum of 10 GiB of available disk space. To install Red Hat Enterprise Linux, you must have a minimum of 10 GiB of space in either unpartitioned disk space or in partitions that can be deleted.
| Installation type | Minimum RAM |
|---|---|
| Local media installation (USB, DVD) |
|
| NFS network installation |
|
| HTTP, HTTPS or FTP network installation |
|
It is possible to complete the installation with less memory than the minimum requirements. The exact requirements depend on your environment and installation path. Test various configurations to determine the minimum required RAM for your environment. Installing Red Hat Enterprise Linux using a Kickstart file has the same minimum RAM requirements as a standard installation. However, additional RAM may be required if your Kickstart file includes commands that require additional memory, or write data to the RAM disk.
1.3. Graphics display resolution requirements Copia collegamentoCollegamento copiato negli appunti!
Your system must have the following minimum resolution to ensure a smooth and error-free installation of Red Hat Enterprise Linux.
| Product version | Resolution |
|---|---|
| Red Hat Enterprise Linux 10 | Minimum: 800 x 600 Recommended: 1024 x 768 |
1.4. UEFI Secure Boot and Beta release requirements Copia collegamentoCollegamento copiato negli appunti!
If you plan to install a Beta release of Red Hat Enterprise Linux, on systems having UEFI Secure Boot enabled, first disable the UEFI Secure Boot option and then begin the installation.
UEFI Secure Boot requires that the operating system kernel is signed with a recognized private key, which the system’s firmware verifies using the corresponding public key.
For Red Hat Enterprise Linux Beta releases, the kernel is signed with a Red Hat Beta-specific public key, which the system fails to recognize by default. As a result, the system fails to even boot the installation media.
Chapter 2. The value of registering your RHEL system to Red Hat Copia collegamentoCollegamento copiato negli appunti!
Registration establishes an authorized connection between your system and Red Hat. Red Hat issues the registered system, a physical or virtual, a certificate that identifies and authenticates the system. With the certificate, you can receive protected content, software updates, security patches, support, and managed services from Red Hat.
With a valid subscription, you can register a Red Hat Enterprise Linux (RHEL) system in the following ways:
- During the installation process, using an installer graphical user interface (GUI)
- After installation, using the command line interface (CLI)
- Automatically, during or after installation, using a kickstart script or an activation key
The specific steps to register your system depend on the version of RHEL that you are using and the registration method that you choose.
Registering your system to Red Hat enables features and capabilities that you can use to manage your system and report data. For example, a registered system is authorized to access protected content repositories for subscribed products through the Red Hat Content Delivery Network (CDN) or a Red Hat Satellite Server.
These content repositories contain Red Hat software packages and updates, available only to customers with an active subscription. The packages and updates include security patches, bug fixes, and new features for RHEL and other Red Hat products.
Chapter 3. Customizing the installation media Copia collegamentoCollegamento copiato negli appunti!
Customize RHEL installation media to create tailored system images with specific configurations, packages, and settings. Use this feature to deploy pre-configured systems that meet specific organizational requirements and reduce post-installation configuration time.
For details, see Composing a customized RHEL system image.
Chapter 4. Creating a bootable installation medium for RHEL Copia collegamentoCollegamento copiato negli appunti!
You can download the ISO file from the Customer Portal to prepare the bootable physical installation medium, such as a USB or DVD. Starting with RHEL 8, Red Hat no longer provides separate variants for Server and Workstation. Red Hat Enterprise Linux for x86_64 includes both Server and Workstation capabilities. The distinction between Server and Workstation is managed through the System Purpose Role during the installation or configuration process.
After downloading an ISO file from the Customer Portal, create a bootable physical installation medium, such as a USB or DVD to continue the installation process.
For secure environment cases where USB drives are prohibited, consider using the Image Builder to create and deploy reference images. This method ensures compliance with security policies while maintaining system integrity.
4.1. Installation boot media options Copia collegamentoCollegamento copiato negli appunti!
There are several options available to boot the Red Hat Enterprise Linux installation program.
- Full installation DVD or USB flash drive
- Create a full installation DVD or USB flash drive by using the DVD ISO image. The DVD or USB flash drive can be used as a boot device and as an installation source for installing software packages.
- Minimal installation DVD or USB flash drive
- Create a minimal installation DVD or USB flash drive by using the Boot ISO image, which contains only the minimum files necessary to boot the system and start the installation program. If you are not using the Content Delivery Network (CDN) to download the required software packages, the Boot ISO image requires an installation source that contains the required software packages.
4.2. Creating a bootable DVD Copia collegamentoCollegamento copiato negli appunti!
You can create a bootable installation DVD by using a burning software and a DVD burner. The exact steps to produce a DVD from an ISO image file vary and depend on the operating system and disc burning software installed. Consult your system’s burning software documentation for the exact steps to burn a DVD from an ISO image file.
You can create a bootable DVD by using either the DVD ISO image (full install) or the Boot ISO image (minimal install). However, the DVD ISO image is larger than 4.7 GB, and as a result, it might not fit on a single or dual-layer DVD. Check the size of the DVD ISO image file before you proceed. Use a USB flash drive when using the DVD ISO image to create bootable installation media.
4.3. Creating a bootable USB device on Linux Copia collegamentoCollegamento copiato negli appunti!
You can create a bootable USB device which you can then use to install Red Hat Enterprise Linux on other machines. This procedure overwrites the existing data on the USB drive without any warning. Back up any data or use an empty flash drive. A bootable USB drive cannot be used for storing data.
Prerequisites
- You have downloaded the full installation DVD ISO or minimal installation Boot ISO image from the Product Downloads page.
- You have a USB flash drive with enough capacity for the ISO image. The required size varies, but the minimum recommended USB size is 16 GB.
Procedure
- Connect the USB flash drive to the system.
Log in as a root user:
$ su -Enter your root password when prompted.
Find the device node assigned to the drive in the log of recent events. Messages resulting from the attached USB flash drive are displayed at the bottom of the log. In this example, the drive name is
sdd.# dmesg|tail[288954.686557] usb 2-1.8: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [288954.686559] usb 2-1.8: Product: USB Storage [288954.686562] usb 2-1.8: SerialNumber: 000000009225 [288954.712590] usb-storage 2-1.8:1.0: USB Mass Storage device detected [288954.712687] scsi host6: usb-storage 2-1.8:1.0 [288954.712809] usbcore: registered new interface driver usb-storage [288954.716682] usbcore: registered new interface driver uas [288955.717140] scsi 6:0:0:0: Direct-Access Generic STORAGE DEVICE 9228 PQ: 0 ANSI: 0 [288955.717745] sd 6:0:0:0: Attached scsi generic sg4 type 0 [288961.876382] sd 6:0:0:0: sdd Attached SCSI removable disk-
If the inserted USB device mounts automatically, unmount it before continuing with the next steps. For unmounting, use the
umountcommand. For more information, see Unmounting a file system with umount. Write the ISO image directly to the USB device:
# dd if=/image_directory/image.iso of=/dev/device- Replace /image_directory/image.iso with the full path to the ISO image file that you downloaded,
Replace device with the device name that you retrieved with the
dmesgcommand.In this example, the full path to the ISO image is
/home/testuser/Downloads/rhel-10-x86_64-boot.iso, and the device name issdd:# dd if=/home/testuser/Downloads/rhel-10-x86_64-boot.iso of=/dev/sddPartition names are usually device names with a numerical suffix. For example,
sddis a device name, andsdd1is the name of a partition on the devicesdd.
-
Wait for the
ddcommand to finish writing the image to the device. Run thesynccommand to synchronize cached writes to the device. The data transfer is complete when the # shell prompt appears. When you see the prompt, log out of the root account and unplug the USB drive. The USB drive is now ready to use as a boot device.
4.4. Creating a bootable USB device on Windows Copia collegamentoCollegamento copiato negli appunti!
You can create a bootable USB device on a Windows system with various tools. You can use Fedora Media Writer, available for download at https://github.com/FedoraQt/MediaWriter/releases. Fedora Media Writer is a community product and is not supported by Red Hat. You can report any issues with the tool at https://github.com/FedoraQt/MediaWriter/issues.
Creating a bootable drive overwrites existing data on the USB drive without any warning. Back up any data or use an empty flash drive. A bootable USB drive cannot be used for storing data.
Prerequisites
- You have downloaded the full installation DVD ISO or minimal installation Boot ISO image from the Product Downloads page.
- You have a USB flash drive with enough capacity for the ISO image. The required size varies.
Procedure
- Download and install Fedora Media Writer from https://github.com/FedoraQt/MediaWriter/releases.
- Connect the USB flash drive to the system.
- Open Fedora Media Writer.
- From the main window, click and select the previously downloaded Red Hat Enterprise Linux ISO image.
- From the Write Custom Image window, select the drive that you want to use.
- Click . The boot media creation process starts. Do not unplug the drive until the operation completes. The operation may take several minutes, depending on the size of the ISO image, and the write speed of the USB drive.
- When the operation completes, unmount the USB drive. The USB drive is now ready to be used as a boot device.
4.5. Creating a bootable USB device on macOS Copia collegamentoCollegamento copiato negli appunti!
You can create a bootable USB device which you can then use to install Red Hat Enterprise Linux on other machines. Creating a bootable USB drive overwrites any data previously stored on the USB drive without any warning. Back up any data or use an empty flash drive. A bootable USB drive cannot be used for storing data.
Prerequisites
- You have downloaded the full installation DVD ISO or minimal installation Boot ISO image from the Product Downloads page.
- You have a USB flash drive with enough capacity for the ISO image. The required size varies.
Procedure
- Connect the USB flash drive to the system.
Identify the device path with the
diskutil listcommand. The device path has the format of/dev/disknumber, wherenumberis the number of the disk. The disks are numbered starting at zero (0). Typically,disk0is the OS X recovery disk, anddisk1is the main OS X installation. In the following example, the USB device isdisk2:$ diskutil list/dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage 400.0 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Apple_CoreStorage 98.8 GB disk0s4 5: Apple_Boot Recovery HD 650.0 MB disk0s5 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS YosemiteHD *399.6 GB disk1 Logical Volume on disk0s1 8A142795-8036-48DF-9FC5-84506DFBB7B2 Unlocked Encrypted /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *8.1 GB disk2 1: Windows_NTFS SanDisk USB 8.1 GB disk2s1- Identify your USB flash drive by comparing the NAME, TYPE and SIZE columns to your flash drive. For example, the NAME should be the title of the flash drive icon in the Finder tool. You can also compare these values to those in the information panel of the flash drive.
Unmount the flash drive’s file system volumes:
$ diskutil unmountDisk /dev/disknumberUnmount of all volumes on disknumber was successfulWhen the command completes, the icon for the flash drive disappears from your desktop. If the icon does not disappear, you may have selected the wrong disk. Attempting to unmount the system disk accidentally returns a failed to unmount error.
Write the ISO image to the flash drive. macOS provides both a block (
/dev/disk*) and character device (/dev/rdisk*) file for each storage device. Writing an image to the/dev/rdisknumbercharacter device is faster than writing to the/dev/disknumberblock device. For example, to write the/Users/user_name/Downloads/rhel-{ProductNumber}-x86_64-boot.isofile to the/dev/rdisk2device, enter the following command:# sudo dd if=/Users/user_name/Downloads/rhel-{ProductNumber}-x86_64-boot.iso of=/dev/rdisk2 bs=512K status=progress-
if=- Path to the installation image. -
of=- The raw disk device (/dev/rdisknumber) representing the target disk. -
bs=512K- Sets the block size to 512 KB for faster data transfer. -
status=progress- Displays a progress indicator during the operation.
-
-
Wait for the
ddcommand to finish writing the image to the device. The data transfer is complete when the # prompt appears. When the prompt is displayed, log out of the root account and unplug the USB drive. The USB drive is now ready to be used as a boot device.
Chapter 5. Creating a kernel-based virtual machine and booting the installation ISO in the VM Copia collegamentoCollegamento copiato negli appunti!
You can create a kernel-based virtual machine (KVM) and start the RHEL installation.
Prerequisites
- On the IBM Z platform, the KVM host runs RHEL installed in LPAR mode. See Installing in an LPAR.
Procedure
Create virtual machine with the instance of Red Hat Enterprise Linux as a KVM guest operating system, use the following
virt-installcommand on the KVM host:$ virt-install --name=<guest_name> --disk size=<disksize_in_GB> --memory=<memory_size_in_MB> --cdrom <filepath_to_iso> --graphics vnc
Chapter 6. Booting the installation media Copia collegamentoCollegamento copiato negli appunti!
You can boot the Red Hat Enterprise Linux installation by using a USB or DVD media and begin the installation process.
You can register RHEL by using the Red Hat Content Delivery Network (CDN). CDN is a geographically distributed series of web servers. These servers provide, for example, packages and updates to RHEL hosts with a valid subscription.
During the installation, registering and installing RHEL from the CDN offers the following benefits:
- Use the latest packages for an up-to-date system immediately after installation and
- Integrated support for connecting to Red Hat Lightspeed and enabling System Purpose.
In RHEL 10, the Defense Information Systems Agency (DISA) Security Technical Implementation Guide (STIG) and other security profiles do not automatically enable Federal Information Processing Standards (FIPS) mode at first boot. To remain FIPS compliant, you must manually enable FIPS mode before the installation begins, either by adding the fips=1 kernel boot option or by using a Kickstart configuration that explicitly enables FIPS. If FIPS is not enabled before installation, systems built using these security profiles might not be compliant, and users might unknowingly deploy non-compliant systems. To avoid compliance issues, ensure that FIPS is enabled during the boot phase, prior to launching the graphical or text-based installer. For more information, see Switching RHEL to FIPS mode.
Prerequisites
- You have created bootable installation media (USB or DVD).
Procedure
- Power off the system to which you are installing Red Hat Enterprise Linux.
- Disconnect any drives from the system.
- Power on the system.
- Insert the bootable installation media (USB or DVD).
- Power off the system but do not remove the boot media.
Power on the system.
You might need to press a specific key or combination of keys to boot from the media or configure the Basic Input/Output System (BIOS) of your system to boot from the media. For more information, see the documentation that came with your system.
The Red Hat Enterprise Linux boot window opens and displays information about a variety of available boot options.
Use the arrow keys on your keyboard to select the boot option that you require, and press Enter to select the boot option. The Welcome to Red Hat Enterprise Linux window opens and you can install Red Hat Enterprise Linux by using the graphical user interface.
The installation program automatically begins if no action is performed in the boot window within 60 seconds.
- Optional: Press e to enter the edit mode and change the predefined command line to add or remove boot options.
- Press Ctrl+X to confirm your choice.
Chapter 7. Optional: Customizing boot options Copia collegamentoCollegamento copiato negli appunti!
When you are installing RHEL on x86_64 or ARM64 architectures, you can edit the boot options to customize the installation process based on your specific environment.
7.1. Boot options Copia collegamentoCollegamento copiato negli appunti!
You can append multiple options separated by space to the boot command line. Boot options specific to the installation program always start with inst. The following are the available boot options:
- Options with an equals "=" sign
-
You must specify a value for boot options that use the
=symbol. For example, theinst.lang=option must contain a value, in this example, a language code. The correct syntax for this example isinst.lang=en_US. - Options without an equals "=" sign
-
This boot option does not accept any values or parameters. For example, the
rd.live.checkoption forces the installation program to verify the installation media before starting the installation. If this boot option is present, the installation program performs the verification and if the boot option is not present, the verification is skipped.
You can customize boot options for a particular menu entry by pressing the e key and adding custom boot options to the command line. When ready, press Ctrl+X to boot the modified option.
Chapter 8. Updating drivers during installation Copia collegamentoCollegamento copiato negli appunti!
You can update drivers during the Red Hat Enterprise Linux installation process. Updating drivers is completely optional. Do not perform a driver update unless it is necessary. Ensure you have been notified by Red Hat, your hardware vendor, or a trusted third-party vendor that a driver update is required during Red Hat Enterprise Linux installation.
8.1. Overview Copia collegamentoCollegamento copiato negli appunti!
Red Hat Enterprise Linux supports drivers for many hardware devices but some newly-released drivers may not be supported. A driver update should only be performed if an unsupported driver prevents the installation from completing. Updating drivers during installation is typically only required to support a particular configuration. For example, installing drivers for a storage adapter card that provides access to your system’s storage devices.
Driver update disks may disable conflicting kernel drivers. In rare cases, unloading a kernel module may cause installation errors.
8.2. Types of driver update Copia collegamentoCollegamento copiato negli appunti!
Red Hat, your hardware vendor, or a trusted third party provides the driver update as an ISO image file. Once you receive the ISO image file, choose the type of driver update.
- Types of driver update
-
Automatic: In this driver update method; a storage device (including a CD, DVD, or USB flash drive) labeled
OEMDRVis physically connected to the system. If theOEMDRVstorage device is present when the installation starts, it is treated as a driver update disk, and the installation program automatically loads its drivers. -
Assisted: The installation program prompts you to locate a driver update. You can use any local storage device with a label other than
OEMDRV. Theinst.ddboot option is specified when starting the installation. If you use this option without any parameters, the installation program displays all of the storage devices connected to the system, and prompts you to select a device that contains a driver update. -
Manual: Manually specify a path to a driver update image or an RPM package. You can use any local storage device with a label other than
OEMDRV, or a network location accessible from the installation system. Theinst.dd=locationboot option is specified when starting the installation, where location is the path to a driver update disk or ISO image. When you specify this option, the installation program attempts to load any driver updates found at the specified location. With manual driver updates, you can specify local storage devices or a network location (HTTP, HTTPS or FTP server). You can use bothinst.dd=locationandinst.ddsimultaneously, where location is the path to a driver update disk or ISO image. In this scenario, the installation program attempts to load any available driver updates from the location and also prompts you to select a device that contains the driver update.
-
Automatic: In this driver update method; a storage device (including a CD, DVD, or USB flash drive) labeled
- Limitations
- On UEFI systems with the Secure Boot technology enabled, all drivers must be signed with a valid certificate. Red Hat drivers are signed by one of Red Hat’s private keys and authenticated by its corresponding public key in the kernel. If you load additional, separate drivers, verify that they are signed.
8.3. Preparing a driver update CD or DVD Copia collegamentoCollegamento copiato negli appunti!
You can prepare a driver update on a CD or DVD to perform a driver update during installation.
Prerequisites
- You have received the driver update ISO image from Red Hat, your hardware vendor, or a trusted third-party vendor.
- You have burned the driver update ISO image to a CD or DVD.
If only a single ISO image file ending in .iso is available on the CD or DVD, the burn process has not been successful. See your system’s burning software documentation for instructions on how to burn ISO images to a CD or DVD.
Procedure
- Insert the driver update CD or DVD into your system’s CD/DVD drive, and browse it by using the system’s file manager tool.
-
Verify that a single file
rhdd3is available.rhdd3is a signature file that contains the driver description and a directory namedrpms, which contains the RPM packages with the actual drivers for various architectures.
8.4. Preparing a driver update USB drive Copia collegamentoCollegamento copiato negli appunti!
You can prepare a driver update on a USB flash drive to perform a driver update during installation.
Prerequisites
- You have received the driver update ISO image from Red Hat, your hardware vendor, or a trusted third-party vendor.
- You have prepared a USB flash drive with a file system compatible with RHEL to place the driver update ISO on.
Procedure
-
Connect the USB drive to your computer and find out what device it was assigned by the system. To find the assigned device, you can inspect the output of
dmesgorlsblk -o +MOUNTPOINTcommand. Find out if the drive has been mounted and what the mount point is (based on the output of
lsblkcommand). If it’s not mounted, mount it manually:Optional: Create a mount point directory:
mkdir /path/to/mountpointMount the USB device’s partition in the mount point directory. The following example assumes that the device’s partition that will be used for storing the driver update ISO file is
/dev/sdb1and the mount point is/mnt/usbdrive:sudo mount /dev/sdb1 /mnt/usbdrive
Copy the driver update ISO file on the USB drive.
The following example assumes that the mount point is
/mnt/usbdriveand the ISO file’s location is/home/user/driverdisk.iso:sudo cp /home/user/driverdisk.iso /mnt/usbdriveUnmount the USB device by using the
umountcommand.sudo umount /mnt/usbdrive
8.5. Performing an automatic driver update Copia collegamentoCollegamento copiato negli appunti!
You can perform an automatic driver update during installation.
Prerequisites
-
You have placed the driver update image on a standard disk partition with an
OEMDRVlabel or burnt theOEMDRVdriver update image to a CD or DVD or written it to a USB drive. Advanced storage, such as RAID or LVM volumes, may not be accessible during the driver update process. -
You have connected a block device with an
OEMDRVvolume label containing the driver update disk to your system, or inserted the prepared CD or DVD into your system’s CD/DVD drive or connected the prepared USB drive before starting the installation process.
Procedure
- When you complete the prerequisite steps, the drivers load automatically when the installation program starts and installs during the system’s installation process.
8.6. Performing an assisted driver update Copia collegamentoCollegamento copiato negli appunti!
You can perform an assisted driver update during installation to install necessary drivers for new or existing hardware.
Prerequisites
-
You have connected a block device without an
OEMDRVvolume label to your system and copied the driver disk image to this device, or you have prepared a driver update CD or DVD and inserted it into your system’s CD or DVD drive or you have prepared a USB device with the driver disk and connected it to your computer before starting the installation process.
If you burn an ISO image file to a CD or DVD or write an ISO image file to a USB drive but it does not have the OEMDRV volume label, you can use the inst.dd option with no arguments. The installation program provides an option to scan and select drivers from the CD, DVD or USB drive. In this scenario, the installation program does not prompt you to select a driver update ISO image. Another scenario is to use the CD, DVD or USB drive with the inst.dd=location boot option; this allows the installation program to automatically scan the CD, DVD or USB drive for driver updates. For more information, see Performing a driver update
Procedure
- From the boot menu window, press the E key on your keyboard to display the boot command line.
-
Append the
inst.ddboot option to the command line beginning withlinuxorlinuxefiand press Ctrl+X to execute the boot process. - From the menu, select a local disk partition or a CD, DVD, or USB device. The installation program scans for ISO files, or driver update RPM packages.
Optional: Select the driver update ISO file.
This step is not required if the selected device or partition contains driver update RPM packages rather than an ISO image file, for example, an optical drive containing a driver update CD, DVD or a USB drive that the ISO file has been written on.
Select the required drivers.
- Use the number keys on your keyboard followed by Enter key to toggle the driver selection.
- Press c followed by Enter to install the selected driver. The selected driver is loaded and after pressing c and Enter again to exit the driver disk device selection, the installation process starts.
8.7. Performing a manual driver update Copia collegamentoCollegamento copiato negli appunti!
You can perform a manual driver update during installation to install necessary drivers for new or existing hardware.
Prerequisites
- You have placed the driver update ISO image file on a USB flash drive or a web server and connected it to your computer.
Procedure
- From the boot menu window, press the E key on your keyboard to display the boot command line.
-
Append the
inst.dd=locationboot option to the command line, where location is a path to the driver update. Typically, the image file is located on a web server, for example, http://server.example.com/dd.iso, or on a USB flash drive, for example,/dev/sdb1. It is also possible to specify an RPM package containing the driver update, for example http://server.example.com/dd.rpm. - Press Ctrl+X to execute the boot process. The drivers available at the specified location are automatically loaded and the installation process starts.
8.8. Disabling a driver Copia collegamentoCollegamento copiato negli appunti!
You can disable a malfunctioning driver during the installation process.
Prerequisites
- You have booted into the installation media’s bootloader (GRUB) menu.
Procedure
- From the boot menu, press the E key on your keyboard to display the boot command line.
Append the
modprobe.blacklist=driver_nameboot option to the command line.Replace driver_name with the name of the driver or drivers you want to disable, for example:
modprobe.blacklist=ahciDrivers disabled by using the
modprobe.blacklist=boot option remain disabled on the installed system and appear in the/etc/modprobe.d/anaconda-blacklist.conffile.- Press Enter to execute the boot process.
Chapter 9. Consoles and logging during installation Copia collegamentoCollegamento copiato negli appunti!
The RHEL installer uses the tmux terminal multiplexer to display and control several windows in addition to the main interface. Each of these windows serves a different purpose; they display several different logs, which can be used to troubleshoot issues during the installation process. One window provides an interactive shell with root privileges, unless disabled using a boot option or a Kickstart command.
The terminal multiplexer is running in virtual console 1. To switch from the actual installation environment to tmux, press Ctrl+Alt+F1. To go back to the main installation interface which runs in virtual console 6, press Ctrl+Alt+F6. During the text mode, installation starts in virtual console 1 (tmux), and switching to console 6 will open a shell prompt instead of a graphical interface.
The console running tmux has five available windows; their contents are described in the following table, along with keyboard shortcuts. Note that the keyboard shortcuts are two-part: first press Ctrl+b, then release both keys, and press the number key for the window you want to use.
You can also use Ctrl+b n, Alt+ Tab, and Ctrl+b p to switch to the next or previous tmux window, respectively.
| Shortcut | Contents |
|---|---|
| Ctrl+b 1 | Main installation program window. Contains text-based prompts (used for text mode and also for interactive entry of RDP credentials), and also some debugging information. |
| Ctrl+b 2 |
Interactive shell with |
| Ctrl+b 3 |
Installation log; displays messages stored in |
| Ctrl+b 4 |
Storage log; displays messages related to storage devices and configuration, stored in |
| Ctrl+b 5 |
Program log; displays messages from utilities executed during the installation process, stored in |
| Ctrl+b 6 |
Packaging log; displays messages related to packages, stored in |
Chapter 10. Customizing the system in the installer Copia collegamentoCollegamento copiato negli appunti!
During the customization phase of the installation, you must perform certain configuration tasks to enable the installation of Red Hat Enterprise Linux. These tasks include:
- Configuring the storage and assigning mount points.
- Selecting a base environment with software to be installed.
- Setting a password for the root user or creating a local user.
Optionally, you can further customize the system, for example, by configuring system settings and connecting the host to a network.
10.1. Setting the installer language Copia collegamentoCollegamento copiato negli appunti!
You can select the language and regional settings for the RHEL installation program interface to ensure proper localization during the installation process. It affects the installer interface language and regional formatting conventions.
Prerequisites
- You have created installation media.
- You have specified an installation source if you are using the Boot ISO image file.
- You have booted from the media to the bootloader menu.
Procedure
- After you select the Red hat Enterprise Linux option from the boot menu, the installation program starts and Welcome to Red Hat Enterprise Screen appears.
From the left-hand pane of the Welcome to Red Hat Enterprise Linux window, select a language. Alternatively, search the preferred language by using the text box.
NoteA language is pre-selected by default. The pre-selected language is determined by the automatic location detection feature of the GeoIP module. If you use the
inst.lang=option on the boot command line, then the language that you define with the boot option is selected.- From the right-hand pane of the Welcome to Red Hat Enterprise Linux window, select a location specific to your region.
- Click to proceed to the graphical installation window.
If you are installing a pre-release version of Red Hat Enterprise Linux, a warning message is displayed about the pre-release status of the installation media.
- To continue with the installation, click , or
- To quit the installation and reboot the system, click .
10.2. Configuring the storage devices Copia collegamentoCollegamento copiato negli appunti!
You can install RHEL on a large variety of storage devices. You can configure basic, locally accessible, storage devices in the Installation Destination window. Basic storage devices directly connected to the local system, such as disks and solid-state drives, are displayed in the Local Standard Disks section of the window. On 64-bit IBM Z systems, this section contains activated Direct Access Storage Devices (DASDs).
10.2.1. Configuring installation destination Copia collegamentoCollegamento copiato negli appunti!
You can select and configure storage devices for RHEL installation the Installation Destination window, including disk selection, partitioning options, and encryption settings. It determines where the operating system is installed and how storage is managed on the target system.
Prerequisites
- The Installation Summary window is open.
- Ensure to back up your data if you plan to use a disk that already contains data. Manipulating partitions always carries a risk. For example, if the process is interrupted or fails for any reason data on the disk can be lost.
Procedure
From the Installation Summary window, click Installation Destination. Perform the following operations in the Installation Destination window that opens:
From the Local Standard Disks section, select the storage device that you require; a white check mark indicates your selection. Disks without a white check mark are not used during the installation process; they are ignored if you choose automatic partitioning, and they are not available in manual partitioning.
The Local Standard Disks shows all locally available storage devices. For example, SATA, NVMe™ and SCSI disks, USB flash and external disks. Storage devices connected post starting the installation program are not detected, unless you follow the step 2 below. If you use a removable drive to install RHEL, your system is unusable if you remove the device.
Optional: Click the Refresh link in the lower right-hand side of the window if you want to configure additional local storage devices connected after the installation program has started. The Rescan Disks dialog box opens.
Click and wait until the scanning process completes.
All storage changes that you make during the installation are lost when you click Rescan Disks.
- Click to return to the Installation Destination window. All detected disks including any new ones are displayed under the Local Standard Disks section.
Optional: Click to add a specialized storage device.
The Storage Device Selection window opens and lists all storage devices that the installation program has access to.
Optional: Under Storage Configuration, select the Automatic radio button for automatic partitioning.
You can also configure custom partitioning. For more details, see Configuring manual partitioning.
- Optional: Select Free up space by removing or shrinking existing partitions to reclaim space from an existing partitioning layout. For example, if a disk you want to use already has a different operating system and you want to make this system’s partitions smaller to allow more room for Red Hat Enterprise Linux.
Optional: Select Encrypt my data to encrypt all partitions except the ones needed to boot the system (such as
/boot) by using Linux Unified Key Setup (LUKS). Encrypting your disk adds an extra layer of security.Click . The Disk Encryption Passphrase dialog box opens.
- Type your passphrase in the Passphrase and Confirm fields.
Click to complete disk encryption.
WarningIf you lose the LUKS passphrase, any encrypted partitions and their data is completely inaccessible. There is no way to recover a lost passphrase. However, if you perform a Kickstart installation, you can save encryption passphrases and create backup encryption passphrases during the installation.
Optional: Click the Full disk summary and bootloader link in the lower left-hand side of the window to select which storage device contains the boot loader. For more information, see Configuring boot loader.
In most cases it is sufficient to leave the boot loader in the default location. Some configurations, for example, systems that require chain loading from another boot loader require the boot drive to be specified manually.
- Click .
Optional: The Reclaim Disk Space dialog box appears if you selected automatic partitioning and the Free up space by removing or shrinking existing partitions option, or if there is not enough free space on the selected disks to install Red Hat Enterprise Linux. It lists all configured disk devices and all partitions on those devices. The dialog box displays information about the minimal disk space the system needs for an installation with the currently selected package set and how much space you have reclaimed. To start the reclaiming process:
- Review the displayed list of available storage devices. The Reclaimable Space column shows how much space can be reclaimed from each entry.
- Select a disk or partition to reclaim space.
- Use the button to use free space on a partition while preserving the existing data.
- Use the button to delete that partition or all partitions on a selected disk including existing data.
- Use the button to delete all existing partitions on all disks including existing data and make this space available to install Red Hat Enterprise Linux.
Click to apply the changes and return to graphical installations.
No disk changes are made until you click on the Installation Summary window. The Reclaim Space dialog only marks partitions for resizing or deletion; no action is performed.
10.2.2. Advanced considerations for installation destination configuration Copia collegamentoCollegamento copiato negli appunti!
Following are some special cases to consider when you are configuring installation destinations:
-
Some BIOS types do not support booting from a RAID card. In these instances, the
/bootpartition must be created on a partition outside of the RAID array, such as on a separate disk. It is necessary to use an internal disk for partition creation with problematic RAID cards. A/bootpartition is also necessary for software RAID setups. If you choose to partition your system automatically, you should manually edit your/bootpartition. - To configure the Red Hat Enterprise Linux boot loader to chain load from a different boot loader, you must specify the boot drive manually by clicking the Full disk summary and bootloader link from the Installation Destination window.
- When you install Red Hat Enterprise Linux on a system with both multipath and non-multipath storage devices, the automatic partitioning layout in the installation program creates volume groups that contain a mix of multipath and non-multipath devices. This defeats the purpose of multipath storage. Select either multipath or non-multipath devices on the Installation Destination window. Alternatively, proceed to manual partitioning.
10.2.3. Configuring boot loader Copia collegamentoCollegamento copiato negli appunti!
RHEL uses GRand Unified Bootloader version 2 (GRUB2) as the boot loader for AMD64 and Intel 64, IBM Power Systems, and ARM. For 64-bit IBM Z, the zipl boot loader is used.
The boot loader is the first program that runs when the system starts and is responsible for loading and handing over control to an operating system. GRUB2 can boot any compatible operating system (including Microsoft Windows) and can also use chain loading to hand over control to other boot loaders for unsupported operating systems.
Installing GRUB2 may overwrite your existing boot loader.
If an operating system is already installed, the Red Hat Enterprise Linux installation program attempts to automatically detect and configure the boot loader to start the other operating system. If the boot loader is not detected, you can manually configure any additional operating systems after you finish the installation.
If you are installing a Red Hat Enterprise Linux system with more than one disk, you might want to manually specify the disk where you want to install the boot loader.
Procedure
From the Installation Destination window, click the Full disk summary and bootloader link. The Selected Disks dialog box opens.
The boot loader is installed on the device of your choice, or, on a UEFI system; the EFI system partition is created on the target device and used to store the boot loader files.
- To change the boot device, select a device from the list and click . You can set only one device as the boot device.
To disable a new boot loader installation, select the device currently marked for boot and click . This ensures GRUB2 is not installed on any device.
WarningIf you choose not to install a boot loader, you cannot boot the system directly and you must use another boot method, such as a standalone commercial boot loader application. Use this option only if you have another way to boot your system.
The boot loader may also require a special partition to be created, depending on if your system uses BIOS or UEFI firmware, or if the boot drive has a GUID Partition Table (GPT) or a Master Boot Record (MBR, also known as
msdos) label. If you use automatic partitioning, the installation program creates the partition.
10.2.4. Storage device selection Copia collegamentoCollegamento copiato negli appunti!
The storage device selection window lists all storage devices that the installation program can access. Depending on your system and available hardware, some tabs might not be displayed. The devices are grouped under the following tabs:
- Multipath Devices
- Storage devices accessible through more than one path, such as through multiple SCSI controllers or Fiber Channel ports on the same system. The installation program only detects multipath storage devices with serial numbers that are 16 or 32 characters long.
- Other SAN Devices
- Devices available on a Storage Area Network (SAN).
- Firmware RAID
- Storage devices attached to a firmware RAID controller.
- IBM Z Devices
- Storage devices, or Logical Units (LUNs), DASD, attached through the zSeries Linux FCP (Fiber Channel Protocol) driver.
10.2.5. Filtering storage devices Copia collegamentoCollegamento copiato negli appunti!
You can filter and select specific storage devices during RHEL installation by using WWID, port, target, or LUN identifiers. It helps identify and configure specialized storage devices for installation, ensuring proper device selection in complex storage environments.
Prerequisites
- The Installation Summary window is open.
Procedure
- From the Installation Summary window, click Installation Destination. The Installation Destination window opens, listing all available drives.
- Under the Specialized & Network Disks section, click . The storage devices selection window opens.
Click the Search by tab to search by port, target, LUN, or WWID.
Searching by WWID or LUN requires additional values in the corresponding input text fields.
- Select the option that you require from the Search drop-down menu.
- Click to start the search. Each device is presented on a separate row with a corresponding check box.
Select the check box to enable the device that you require during the installation process.
Later in the installation process you can choose to install Red Hat Enterprise Linux on any of the selected devices, and you can choose to mount any of the other selected devices as part of the installed system automatically. Selected devices are not automatically erased by the installation process and selecting a device does not put the data stored on the device at risk.
NoteYou can add devices to the system after installation by modifying the
/etc/fstabfile.Click to return to the Installation Destination window.
Any storage devices that you do not select are hidden from the installation program entirely. To chain load the boot loader from a different boot loader, select all the devices present.
10.3. Advanced storage options Copia collegamentoCollegamento copiato negli appunti!
To use an advanced storage device, you can configure an iSCSI (SCSI over TCP/IP) target or FCoE (Fibre Channel over Ethernet) SAN (Storage Area Network).
To use iSCSI storage devices for the installation, the installation program must be able to discover them as iSCSI targets and be able to create an iSCSI session to access them. Each of these steps might require a user name and password for Challenge Handshake Authentication Protocol (CHAP) authentication. Additionally, you can configure an iSCSI target to authenticate the iSCSI initiator on the system to which the target is attached (reverse CHAP), both for discovery and for the session. Used together, CHAP and reverse CHAP are called mutual CHAP or two-way CHAP. Mutual CHAP provides the greatest level of security for iSCSI connections, particularly if the user name and password are different for CHAP authentication and reverse CHAP authentication.
Repeat the iSCSI discovery and iSCSI login steps to add all required iSCSI storage. You cannot change the name of the iSCSI initiator after you attempt discovery for the first time. To change the iSCSI initiator name, you must restart the installation.
10.3.1. Discovering and starting an iSCSI session Copia collegamentoCollegamento copiato negli appunti!
You can discover and connect to iSCSI storage targets during RHEL installation to enable network-based storage for system installation. It allows you to use remote storage devices as installation targets, providing flexibility in storage configuration and enabling centralized storage management.
- iSCSI Boot Firmware Table (iBFT)
-
When the installer starts, it checks if the BIOS or add-on boot ROMs of the system support iBFT. It is a BIOS extension for systems that can boot from iSCSI. If the BIOS supports iBFT, the installer reads the iSCSI target information for the configured boot disk from the BIOS and logs in to this target, making it available as an installation target. To automatically connect to an iSCSI target, activate a network device for accessing the target. To do so, use the
ip=ibftboot option. For more information, see Network boot options. - Discover and add iSCSI targets manually
- You can discover and start an iSCSI session to identify available iSCSI targets (network storage devices) in the installer’s graphical user interface.
Prerequisites
- The Installation Summary window is open.
Procedure
- From the Installation Summary window, click Installation Destination. The Installation Destination window opens, listing all available drives.
- Under the Specialized & Network Disks section, click . The storage devices selection window opens.
Click . The Add iSCSI Storage Target window opens.
ImportantYou cannot place the
/bootpartition on iSCSI targets that you have manually added by using this method. An iSCSI target containing a/bootpartition must be configured for use with iBFT. However, in instances where the installed system is expected to boot from iSCSI with iBFT configuration provided by a method other than firmware iBFT. For example, by using iPXE, you can remove the/bootpartition restriction by using theinst.nonibftiscsibootinstaller boot option.- Enter the IP address of the iSCSI target in the Target IP Address field.
Type a name in the iSCSI Initiator Name field for the iSCSI initiator in iSCSI qualified name (IQN) format. A valid IQN entry contains the following information:
-
The string
iqn.(note the period). -
A date code that specifies the year and month in which your organization’s Internet domain or subdomain name was registered, represented as four digits for the year, a dash, and two digits for the month, followed by a period. For example, represent September 2010 as
2010-09. -
Your organization’s Internet domain or subdomain name, presented in reverse order with the top-level domain first. For example, represent the subdomain
storage.example.comascom.example.storage. A colon followed by a string that uniquely identifies this particular iSCSI initiator within your domain or subdomain. For example
:diskarrays-sn-a8675309.A complete IQN is as follows:
iqn.2010-09.storage.example.com:diskarrays-sn-a8675309. The installation program pre-populates theiSCSI Initiator Namefield with a name in this format to help you with the structure. For more information about IQNs, see 3.2.6. iSCSI Names in RFC 3720 - Internet Small Computer Systems Interface (iSCSI) available from tools.ietf.org and 1. iSCSI Names and Addresses in RFC 3721 - Internet Small Computer Systems Interface (iSCSI) Naming and Discovery available from tools.ietf.org.
-
The string
Select the
Discovery Authentication Typedrop-down menu to specify the type of authentication to use for iSCSI discovery. The following options are available:- No credentials
- CHAP pair
- CHAP pair and a reverse pair
Do one of the following:
-
If you selected the
CHAP pairas the authentication type, enter the user name and password for the iSCSI target in theCHAP UsernameandCHAP Passwordfields. -
If you selected the
CHAP pair and a reverse pairas the authentication type, enter the user name and password for the iSCSI target in theCHAP UsernameandCHAP Passwordfield, and the user name and password for the iSCSI initiator in theReverse CHAP UsernameandReverse CHAP Passwordfields.
-
If you selected the
-
Optional: Select the
Bind targets to network interfacescheck box. Click .
The installation program attempts to discover an iSCSI target based on the information provided. If discovery succeeds, the
Add iSCSI Storage Targetwindow displays a list of all iSCSI nodes discovered on the target.Select the check boxes for the node that you want to use for installation.
The
Node login authentication typemenu contains the same options as theDiscovery Authentication Typemenu. However, if you need credentials for discovery authentication, use the same credentials to log in to a discovered node.-
Click the additional
Use the credentials from discoverydrop-down menu. When you provide the proper credentials, the button becomes available. Click to initiate an iSCSI session.
While the installer uses
iscsiadmto find and log into iSCSI targets,iscsiadmautomatically stores any information about these targets in theiscsiadmiSCSI database. The installer then copies this database to the installed system and marks any iSCSI targets that are not used for root partition, so that the system automatically logs in to them when it starts. If the root partition is placed on an iSCSI target,initrdlogs into this target and the installer does not include this target in start up scripts to avoid multiple attempts to log into the same target.
10.3.2. Configuring FCoE parameters Copia collegamentoCollegamento copiato negli appunti!
You can discover the FCoE (Fibre Channel over Ethernet) devices from the Installation Destination window by configuring the FCoE parameters accordingly.
Prerequisites
- The Installation Summary window is open.
Procedure
- From the Installation Summary window, click Installation Destination. The Installation Destination window opens, listing all available drives.
- Under the Specialized & Network Disks section, click . The storage devices selection window opens.
- Click . A dialog box opens for you to configure network interfaces for discovering FCoE storage devices.
-
Select a network interface that is connected to an FCoE switch in the
NICdrop-down menu. - Click to scan the network for SAN devices.
Select the required check boxes:
- Use DCB:Data Center Bridging (DCB) is a set of enhancements to the Ethernet protocols designed to increase the efficiency of Ethernet connections in storage networks and clusters. Select the check box to enable or disable the installation program’s awareness of DCB. Enable this option only for network interfaces that require a host-based DCBX client. For configurations on interfaces that use a hardware DCBX client, disable the check box.
- Use auto vlan:Auto VLAN is enabled by default and indicates whether VLAN discovery should be performed. If this check box is enabled, then the FIP (FCoE Initiation Protocol) VLAN discovery protocol runs on the Ethernet interface when the link configuration has been validated. If they are not already configured, network interfaces for any discovered FCoE VLANs are automatically created and FCoE instances are created on the VLAN interfaces.
-
Discovered FCoE devices are displayed under the
Other SAN Devicestab in the Installation Destination window.
10.3.3. Configuring DASD storage devices Copia collegamentoCollegamento copiato negli appunti!
You can discover and configure the DASD storage devices from the Installation Destination window.
Prerequisites
- The Installation Summary window is open.
Procedure
- From the Installation Summary window, click Installation Destination. The Installation Destination window opens, listing all available drives.
- Under the Specialized & Network Disks section, click . The storage devices selection window opens.
- Click . The Add DASD Storage Target dialog box opens and prompts you to specify a device number, such as 0.0.0204, and attach additional DASDs that were not detected when the installation started.
- Type the device number of the DASD that you want to attach in the Device number field.
Click .
If a DASD with the specified device number is found and if it is not already attached, the dialog box closes and the newly-discovered drives appear in the list of drives. You can then select the check boxes for the required devices and click . The new DASDs are available for selection, marked as
DASD device 0.0.xxxxin the Local Standard Disks section of the Installation Destination window.If you entered an invalid device number, or if the DASD with the specified device number is already attached to the system, an error message appears in the dialog box, explaining the error and prompting you to try again with a different device number.
10.3.4. Configuring FCP devices Copia collegamentoCollegamento copiato negli appunti!
FCP devices enable 64-bit IBM Z to use SCSI devices rather than, or in addition to, Direct Access Storage Device (DASD) devices. FCP devices provide a switched fabric topology that enables 64-bit IBM Z systems to use SCSI LUNs as disk devices in addition to traditional DASD devices.
Prerequisites
- The Installation Summary window is open.
-
For an FCP-only installation, you have removed the
DASD=option from the CMS configuration file or therd.dasd=option from the parameter file to indicate that no DASD is present.
Procedure
- From the Installation Summary window, click Installation Destination. The Installation Destination window opens, listing all available drives.
- Under the Specialized & Network Disks section, click . The storage devices selection window opens.
Click . The Add zFCP Storage Target dialog box opens allowing you to add a FCP (Fibre Channel Protocol) storage device.
64-bit IBM Z requires that you enter any FCP device manually so that the installation program can activate FCP LUNs. You can enter FCP devices either in the graphical installation, or as a unique parameter entry in the parameter or CMS configuration file. The values that you enter must be unique to each site that you configure.
- Type the 4 digit hexadecimal device number in the Device number field.
Provide following details when the
zFCPdevice is not configured in NPIV mode orauto LUNscanning is disabled by thezfcp.allow_lun_scan=0kernel module parameter:- Type the 16 digit hexadecimal World Wide Port Number (WWPN) in the WWPN field.
- Type the 16 digit hexadecimal FCP LUN identifier in the LUN field.
Click to connect to the FCP device.
The newly-added devices are displayed in the IBM Z tab of the Installation Destination window.
Use only lower-case letters in hex values. If you enter an incorrect value and click , the installation program displays a warning. You can edit the configuration information and retry the discovery attempt. For more information about these values, consult the hardware documentation and check with your system administrator.
10.3.5. Configuring an NVMe fabrics devices using the graphical installation mode Copia collegamentoCollegamento copiato negli appunti!
Configure the Non-volatile Memory Express™ (NVMe™) over fabrics by using the graphical installation to use it as an installation target. Additionally, if the device meets the requirements for booting, you can also set the device as a boot device.
Prerequisites
- A NVMe™ over fabrics device is present on the system.
- The initial installation process has been completed and the Installation Summary window is open.
Procedure
From the Installation Summary window, click Installation Destination.
The Installation Destination window opens, listing all available devices. This includes local (PCI Express transport) NVMe™ devices.
Under the Specialized & Network Disks section, click Add a disk….
The storage devices selection window opens.
- Click the NVMe™ Fabrics Devices tab.
- Optional: If the device list is too long, use the Filter by option to view specific devices.
- Select the devices from the list by using check boxes.
Click Done to return to the Installation Destination window.
The NVMe™ device that you reconfigured is displayed in the Specialized & Network Disks section.
- Click Done to return to the Installation Summary window.
10.4. Configuring the root account and creating users Copia collegamentoCollegamento copiato negli appunti!
You can configure the root account and create users to access the system from the Installation Summary screen.
10.4.1. Configuring a root account Copia collegamentoCollegamento copiato negli appunti!
You can configure a root account during the installation process to log in to the administrator (also known as superuser or root) account for system administration tasks. These tasks include:
- Installing and updating software packages
- Changing system-wide configuration such as network and firewall settings, storage options
- Adding or modifying users, groups and file permissions.
To gain root privileges for the installed systems, you can either use a root account or create a user account with administrative privileges (member of the wheel group). The root account is always created during the installation. Switch to the administrator account only when you need administrator access for tasks.
The root account has complete control over the system. If unauthorized personnel gain access to the account, they can access or delete users' personal files.
Procedure
From the Installation Summary window, select User Settings > Root Account. The Root Account window opens.
By default, the Disable root account option is selected.
- To enable root account, select the Enable root account option.
Type your password in the Root Password field.
The root password is case-sensitive and must be at least eight characters long containing numbers, letters (upper and lower case) and symbols.
- Type the same password in the Confirm field.
-
Optional: Select the
Allow root SSH login with passwordoption to enable SSH access (with password) to this system as the root user. By default the password-based SSH root access is disabled. Click to confirm your root password and return to the Installation Summary window.
If you proceed with a weak password, you must click twice.
10.4.2. Creating a user account Copia collegamentoCollegamento copiato negli appunti!
Create a user account during RHEL installation to establish a non-root user for daily system operations from the Installation Summary window. It improves security by avoiding the use of the root account for regular tasks and provides proper user management from the start of system deployment.
You should only use the root account to perform privileged tasks. Using the root account instead of a non-privileged user account to perform regular tasks can introduce a security risk.
Procedure
- On the Installation Summary window, select User Settings > User Creation. The Create User window opens.
- Type the user account name into the Full name field, for example: John Smith.
Type the username into the User name field, for example: jsmith.
The User name is used to log in from a command line; if you install a graphical environment, then your graphical login manager uses the Full name.
The Add administrative privileges to this… option is selected by default. Deselect this option if you do not want to share administrative privileges to this account. By default, new users have administrative privileges to the system.
An administrator user can use the
sudocommand to perform tasks that are only available torootby using the user password, instead of therootpassword. Though it is more convenient, it can also introduce a security risk.The Require a password to use this account option is selected by default. Disable it if you want to use this account without a password.
If you give administrator privileges to a user, ensure the account is password protected. Never give a user administrator privileges without assigning a password to the account.
- Type a password into the Password field.
- Type the same password into the Confirm password field.
- Click to apply the changes and return to the Installation Summary window.
10.4.3. Editing advanced user settings Copia collegamentoCollegamento copiato negli appunti!
You can configure advanced user account settings during RHEL installation to customize home directories, user and group IDs, and group memberships. This provides fine-grained control over user account configuration and system security policies.
Procedure
- On the Create User window, click .
-
Edit the details in the Home directory field, if required. The field is populated by default with
/home/username. In the User and Groups IDs section you can:
Select the Specify a user ID manually check box and use or to enter the required value.
The default value is 1000. User IDs (UIDs) 0-999 are reserved by the system so they cannot be assigned to a user.
Select the Specify a group ID manually check box and use or to enter the required value.
The default group name is the same as the user name, and the default Group ID (GID) is 1000. GIDs 0-999 are reserved by the system so they cannot be assigned to a user group.
Specify additional groups as a comma-separated list in the Group Membership field. Groups that do not already exist are created; you can specify custom GIDs for additional groups in parentheses. If you do not specify a custom GID for a new group, the new group receives a GID automatically.
The user account created always has one default group membership (the user’s default group with an ID set in the Specify a group ID manually field).
- Click to apply the updates and return to the Create User window.
10.5. Configuring manual partitioning Copia collegamentoCollegamento copiato negli appunti!
You can use manual partitioning to configure your disk partitions and mount points and define the file system that Red Hat Enterprise Linux is installed on. Before installation, you should consider whether you want to use partitioned or unpartitioned disk devices.
You have different partitioning and storage options available, including Standard Partitions, LVM, and LVM thin provisioning. These options provide various benefits and configurations for managing your system’s storage effectively.
- Standard partition
-
A standard partition contains a file system or swap space. Standard partitions are most commonly used for
/bootand theBIOS BootandEFI System partitions. You can use the LVM logical volumes in most other uses. - LVM
-
Choosing
LVM(or Logical Volume Management) as the device type creates an LVM logical volume. LVM improves performance when using physical disks, and it allows for advanced setups such as using multiple physical disks for one mount point, and setting up software RAID for increased performance, reliability, or both. - LVM thin provisioning
- With thin provisioning, you can manage a storage pool of free space, known as a thin pool, which can be allocated to an arbitrary number of devices when needed by applications. You can dynamically expand the pool when needed for cost-effective allocation of storage space.
An installation of Red Hat Enterprise Linux requires a minimum of one partition but uses at least the following partitions or volumes: /, /home, /boot, and swap. You can also create additional partitions and volumes as you require.
To prevent data loss it is recommended that you backup your data before proceeding. If you are upgrading or creating a dual-boot system, you should back up any data you want to keep on your storage devices.
10.5.1. Recommended partitioning scheme Copia collegamentoCollegamento copiato negli appunti!
Create separate file systems at the following mount points. However, if required, you can also create the file systems at /usr, /var, and /tmp mount points.
-
/boot -
/(root) -
/home -
swap -
/boot/efi -
PReP
This partition scheme is recommended for bare metal deployments and it does not apply to virtual and cloud deployments.
/bootpartition - recommended size at least 1 GiBThe partition mounted on
/bootcontains the operating system kernel, which allows your system to boot Red Hat Enterprise Linux 10, along with files used during the bootstrap process. Due to the limitations of most firmwares, create a small partition to hold these. In most scenarios, a 1 GiB boot partition is adequate. However, in some cases 1 GiB might not be sufficient. Systems that require additional hardware firmware generate larger initramfs images because the firmware blobs are included. If the/bootpartition is too small, insufficient disk space can cause future kernel updates to fail. Consider allocating more than 1 GiB in environments with additional hardware drivers or firmware requirements. Unlike other mount points, using an LVM volume for/bootis not possible -/bootmust be located on a separate disk partition.If you have a RAID card, be aware that some BIOS types do not support booting from the RAID card. In such a case, the
/bootpartition must be created on a partition outside of the RAID array, such as on a separate disk.
-
Normally, the
/bootpartition is created automatically by the installation program. However, if the/(root) partition is larger than 2 TiB and (U)EFI is used for booting, you need to create a separate/bootpartition that is smaller than 2 TiB to boot the machine successfully. -
Ensure the
/bootpartition is located within the first 2 TB of the disk while manual partitioning. Placing the/bootpartition beyond the 2 TB boundary might result in a successful installation, but the system fails to boot because BIOS cannot read the/bootpartition beyond this limit.
root- recommended size of at least 10 GiBThis is where "
/", or the root directory, is located. The root directory is the top-level of the directory structure. By default, all files are written to this file system unless a different file system is mounted in the path being written to, for example,/bootor/home.While a 5 GiB root file system allows you to install a minimal installation, it is recommended to allocate at least 10 GiB so that you can install as many package groups as you want.
Do not confuse the / directory with the /root directory. The /root directory is the home directory of the root user. The /root directory is sometimes referred to as slash root to distinguish it from the root directory.
/home- recommended size at least 1 GiB-
To store user data separately from system data, create a dedicated file system for the
/homedirectory. Base the file system size on the amount of data that is stored locally, number of users, and so on. You can upgrade or reinstall Red Hat Enterprise Linux 10 without erasing user data files. If you select automatic partitioning, it is recommended to have at least 55 GiB of disk space available for the installation, to ensure that the/homefile system is created. swappartition - recommended size at least 1 GiBSwap file systems support virtual memory; data is written to a swap file system when there is not enough RAM to store the data your system is processing. Swap size is a function of system memory workload, not total system memory and therefore is not equal to the total system memory size. It is important to analyze what applications a system will be running and the load those applications will serve in order to determine the system memory workload. Application providers and developers can provide guidance.
When the system runs out of swap space, the kernel terminates processes as the system RAM memory is exhausted. Configuring too much swap space results in storage devices being allocated but idle and is a poor use of resources. Too much swap space can also hide memory leaks. The maximum size for a swap partition and other additional information can be found in the
mkswap(8)manual page.The following table provides the recommended size of a swap partition depending on the amount of RAM in your system and if you want sufficient memory for your system to hibernate. If you let the installation program partition your system automatically, the swap partition size is established using these guidelines. Automatic partitioning setup assumes hibernation is not in use. The maximum size of the swap partition is limited to 10 percent of the total size of the disk, and the installation program cannot create swap partitions more than 1TiB. To set up enough swap space to allow for hibernation, or if you want to set the swap partition size to more than 10 percent of the system’s storage space, or more than 1TiB, you must edit the partitioning layout manually.
| Amount of RAM in the system | Recommended swap space | Recommended swap space if allowing for hibernation |
|---|---|---|
| Less than 2 GiB | 2 times the amount of RAM | 3 times the amount of RAM |
| 2 GiB - 8 GiB | Equal to the amount of RAM | 2 times the amount of RAM |
| 8 GiB - 64 GiB | 4 GiB to 0.5 times the amount of RAM | 1.5 times the amount of RAM |
| More than 64 GiB | Workload dependent (at least 4GiB) | Hibernation not recommended |
/boot/efipartition - recommended size of 500 MiB- UEFI-based AMD64, Intel 64, and 64-bit ARM require a 500 MiB EFI system partition. The recommended minimum size is 500 MiB and the maximum size is 600 MiB. BIOS systems do not require an EFI system partition.
At the border between each range, for example, a system with 2 GiB, 8 GiB, or 64 GiB of system RAM, discretion can be exercised with regard to chosen swap space and hibernation support. If your system resources allow for it, increasing the swap space can lead to better performance.
Distributing swap space over multiple storage devices - particularly on systems with fast drives, controllers and interfaces - also improves swap space performance.
Many systems have more partitions and volumes than the minimum required. Choose partitions based on your particular system needs. If you are unsure about configuring partitions, accept the automatic default partition layout provided by the installation program.
PRePboot partition - recommended size of 4 to 8 MiB-
When installing Red Hat Enterprise Linux on IBM Power System servers, the first partition of the disk should include a
PRePboot partition. This contains the GRUB2 boot loader, which allows other IBM Power Systems servers to boot Red Hat Enterprise Linux. BIOSboot partition - recommended size of 1 MiB-
When installing Red Hat Enterprise Linux on a BIOS system with a disk partitioned using GPT (GUID Partition Table), which is the default, a separate partition is required in order to boot from the particular disk. This partition is called
BIOSboot and is used to store the boot loader.
Allocate storage capacity only to the partitions that are required immediately. Additional free space can be assigned at any time to address future requirements.
10.5.2. Supported hardware storage Copia collegamentoCollegamento copiato negli appunti!
It is important to understand how storage technologies are configured and how support for them may have changed between major versions of Red Hat Enterprise Linux.
- Hardware RAID
- Any RAID functions provided by the mainboard of your computer, or attached controller cards, need to be configured before you begin the installation process. Each active RAID array appears as one drive within Red Hat Enterprise Linux.
- Software RAID
On systems with more than one disk, you can use the Red Hat Enterprise Linux installation program to operate several of the drives as a Linux software RAID array. With a software RAID array, RAID functions are controlled by the operating system rather than the dedicated hardware.
NoteWhen pre-existing RAID array’s member devices are all unpartitioned disks/drives, the installation program treats the array as a disk and there is no method provided by the installation program to remove the array.
- USB Disks
- You can connect and configure external USB storage after installation. Most devices are recognized by the kernel, but some devices may not be recognized. If it is not a requirement to configure these disks during installation, disconnect them to avoid potential problems.
- Considerations for Intel BIOS RAID Sets
-
Red Hat Enterprise Linux uses
mdraidfor installing on Intel BIOS RAID sets. These sets are automatically detected during the boot process and their device node paths can change across several booting processes. Replace device node paths (such as/dev/sda) with file system labels or device UUIDs. You can find the file system labels and device UUIDs by using theblkidcommand.
10.5.3. Starting manual partitioning Copia collegamentoCollegamento copiato negli appunti!
You can configure custom disk partitioning during RHEL installation to create a storage layout that meets your specific requirements. Manual partitioning provides full control over disk usage, mount points, and file system types for optimized system performance and data organization.
Prerequisites
- The Installation Summary screen is open.
- All disks are available to the installation program.
Procedure
Select disks for installation:
- Click Installation Destination to open the Installation Destination window.
- Select the disks that you require for installation by clicking the corresponding icon. A selected disk has a check-mark displayed on it.
- Under Storage Configuration, select the Custom radio-button.
- Click Done.
Detected mount points are listed in the left-hand pane. The mount points are organized by detected operating system installations. As a result, some file systems may be displayed multiple times if a partition is shared among several installations.
- Select the mount points in the left pane; the options that can be customized are displayed in the right pane.
- Optional: If your system contains existing file systems, ensure that enough space is available for the installation. To remove any partitions, select them in the list and click the button. The dialog has a check box that you can use to remove all other partitions used by the system to which the deleted partition belongs.
Optional: If there are no existing partitions and you want to create a set of partitions as a starting point, select your preferred partitioning scheme from the left pane (default for Red Hat Enterprise Linux is LVM) and click the Click here to create them automatically link.
NoteA
/bootpartition, a/(root) volume, aswapvolume proportional to the size of the available storage and optionally some other partitions, depending on system properties, such as architecture, are created and listed in the left pane. These are the file systems for a typical installation, but you can add additional file systems and mount points.
- Optional: Continue with adding mount points and configuring the individual mount points.
- Click to confirm any changes and return to the Installation Summary window.
10.5.4. Supported file systems Copia collegamentoCollegamento copiato negli appunti!
When configuring manual partitioning, you can optimize performance, ensure compatibility, and effectively manage disk space by utilizing the various file systems and partition types available in Red Hat Enterprise Linux.
- xfs
-
The XFS file system is the default file system on Red Hat Enterprise Linux. It is a highly scalable, high-performance file system that supports file system size up to 16 exabytes (approximately 16 million terabytes), files up to 8 exabytes (approximately 8 million terabytes), and directory structures containing tens of millions of entries.
XFSalso supports metadata journaling, which facilitates quicker crash recovery. The maximum supported size of a single XFS file system is 1 PB. XFS cannot be shrunk to get free space. - ext4
-
The
ext4file system is based on theext3file system and features a number of improvements. These include support for larger file systems and larger files, faster and more efficient allocation of disk space, no limit on the number of subdirectories within a directory, faster file system checking, and more robust journaling. The maximum supported size of a singleext4file system is 50 TB. - ext3
-
The
ext3file system is based on theext2file system and has one main advantage - journaling. Using a journaling file system reduces the time spent recovering a file system after it terminates unexpectedly, as there is no need to check the file system for metadata consistency by running the fsck utility every time. - ext2
-
An
ext2file system supports standard Unix file types, including regular files, directories, or symbolic links. It provides the ability to assign long file names, up to 255 characters. - swap
- Swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing.
- vfat
The
VFATfile system is a Linux file system that is compatible with Microsoft Windows long file names on the FAT file system.NoteSupport for the
VFATfile system is not available for Linux system partitions. For example,/,/var,/usrand so on.- BIOS Boot
- A very small partition required for booting from a device with a GUID partition table (GPT) on BIOS systems and UEFI systems in BIOS compatibility mode.
- EFI System Partition
- A small partition required for booting a device with a GUID partition table (GPT) on a UEFI system.
- PReP
-
This small boot partition is located on the first partition of the disk. The
PRePboot partition contains the GRUB2 boot loader, which allows other IBM Power Systems servers to boot Red Hat Enterprise Linux.
10.5.5. Adding a file system mount point Copia collegamentoCollegamento copiato negli appunti!
You can add multiple file system mount points. You can use any of the file systems and partition types available, such as XFS, ext4, ext3, ext2, swap, and VFAT. You can also use specific partitions such as BIOS Boot, EFI System Partition, and PReP. It helps you to effectively configure your system’s storage.
Prerequisites
- You have planned your partitions.
-
Ensure you haven’t specified mount points at paths with symbolic links, such as
/var/mail,/usr/tmp,/lib,/sbin,/lib64, and/bin. The payload, including RPM packages, depends on creating symbolic links to specific directories.
Procedure
- Click to create a new file system and related mount point. The Add a New Mount Point dialog opens.
-
Select one of the preset paths from the Mount Point drop-down menu or type your own; for example, select
/for the root partition or/bootfor the boot partition. Enter the size of the file system into the Desired Capacity field; for example,
2GiB.If you do not specify a value in Desired Capacity, or if you specify a size bigger than available space, then all remaining free space is used.
- Click to create the partition and return to the Manual Partitioning window.
10.5.6. Configuring storage for a mount point file system Copia collegamentoCollegamento copiato negli appunti!
You can set the partitioning scheme for each mount point that was created manually. The available options are Standard Partition, LVM, and LVM Thin Provisioning. Btfrs support has been removed in Red Hat Enterprise Linux 10.
The /boot partition is always located on a standard partition, regardless of the value selected.
Procedure
- To change the devices that a single non-LVM mount point should be located on, select the required mount point from the left-hand pane.
- Under the Device(s) heading, click . The Configure Mount Point dialog opens.
- Select one or more devices and click to confirm your selection and return to the Manual Partitioning window.
- Click to apply the changes.
- In the lower left-hand side of the Manual Partitioning window, click the storage device selected link to open the Selected Disks dialog and review disk information.
- Optional: Click the button (circular arrow button) to refresh all local disks and partitions; this is only required after performing advanced partition configuration outside the installation program. Clicking the button resets all configuration changes made in the installation program.
10.5.7. Customizing a mount point file system Copia collegamentoCollegamento copiato negli appunti!
You can customize a partition or volume if you want to set specific settings. If /usr or /var is partitioned separately from the rest of the root volume, the boot process becomes complex. This is because critical components are located in these directories. In some situations, such as when these directories are placed on an iSCSI drive or an FCoE location, the system is unable to boot. Alternatively, the system may hung up with a Device is busy error when powering off or rebooting.
This limitation only applies to /usr or /var, not to directories below them. For example, a separate partition for /var/www works successfully.
Procedure
- From the left pane, select the mount point.
From the right-hand pane, you can customize the following options:
-
Enter the file system mount point into the Mount Point field. For example, if a file system is the root file system, enter
/; enter/bootfor the/bootfile system, and so on. For a swap file system, do not set the mount point as setting the file system type toswapis sufficient. - Enter the size of the file system in the Desired Capacity field. You can use common size units such as KiB or GiB. The default is MiB if you do not set any other unit.
Select the device type that you require from the drop-down Device Type menu:
Standard Partition,LVM, orLVM Thin Provisioning.NoteRAIDis available only if two or more disks are selected for partitioning. If you chooseRAID, you can also set theRAID Level. Similarly, if you selectLVM, you can specify theVolume Group.- Select the Encrypt check box to encrypt the partition or volume. You must set a password later in the installation program.
Select the appropriate file system type for this partition or volume from the File system drop-down menu.
NoteSupport for the
VFATfile system is not available for Linux system partitions. For example,/,/var,/usr, and so on.- Select the Reformat check box to format an existing partition, or clear the Reformat check box to retain your data. The newly-created partitions and volumes must be reformatted, and the check box cannot be cleared.
- Type a label for the partition in the Label field. Use labels to easily recognize and address individual partitions.
-
Type a name in the Name field. The standard partitions are named automatically when they are created and you cannot edit the names of standard partitions. For example, you cannot edit the
/bootnamesda1.
-
Enter the file system mount point into the Mount Point field. For example, if a file system is the root file system, enter
- Click to apply your changes and if required, select another partition to customize. Changes are not applied until you click from the Installation Summary window.
- Optional: Click to discard your partition changes.
Click when you have created and customized all file systems and mount points. If you choose to encrypt a file system, you are prompted to create a passphrase.
A Summary of Changes dialog box opens, displaying a summary of all storage actions for the installation program.
- Click to apply the changes and return to the Installation Summary window.
10.5.8. Preserving the /home directory Copia collegamentoCollegamento copiato negli appunti!
In a Red Hat Enterprise Linux 10 graphical installation, you can preserve the /home directory that was used on your RHEL 9 system. Preserving /home is only possible if the /home directory is located on a separate /home partition on your RHEL 9 system.
Preserving the /home directory that includes various configuration settings, makes it possible that the GNOME Shell environment on the new Red Hat Enterprise Linux 10 system is set in the same way as it was on your RHEL 9 system. Note that this applies only for users on Red Hat Enterprise Linux 10 with the same user name and ID as on the previous RHEL 9 system.
Prerequisites
- You have RHEL 9 installed on your computer.
-
The
/homedirectory is located on a separate/homepartition on your RHEL 9 system. -
The Red Hat Enterprise Linux 10
Installation Summarywindow is open.
Procedure
- Click Installation Destination to open the Installation Destination window.
- Under Storage Configuration, select the Custom radio button. Click Done.
- Click , the Manual Partitioning window opens.
Choose the
/homepartition, fill in/homeunderMount Point:and clear the Reformat check box.Figure 10.1. Ensuring that /home is not formatted
-
Optional: You can also customize various aspects of the
/homepartition required for your Red Hat Enterprise Linux 10 system as described in Customizing a mount point file system. However, to preserve/homefrom your RHEL 9 system, it is necessary to clear the Reformat check box. - After you customized all partitions according to your requirements, click . The Summary of changes dialog box opens.
-
Verify that the Summary of changes dialog box does not show any change for
/home. This means that the/homepartition is preserved. - Click to apply the changes, and return to the Installation Summary window.
10.5.9. Creating a software RAID during the installation Copia collegamentoCollegamento copiato negli appunti!
Redundant Arrays of Independent Disks (RAID) devices are constructed from multiple storage devices. These devices are arranged to provide increased performance and, in some configurations, greater fault tolerance. A RAID device is created in one step and disks are added or removed as necessary. \
You can configure one RAID partition for each physical disk in your system. The number of disks available to the installation program determines the levels of RAID device available. For example, if your system has two disks, you cannot create a RAID 10 device, as it requires a minimum of three separate disks. To optimize your system’s storage performance and reliability, RHEL supports software RAID 0, RAID 1, RAID 4, RAID 5, RAID 6, and RAID 10 types with LVM and LVM Thin Provisioning to set up storage on the installed system.
On 64-bit IBM Z, the storage subsystem uses RAID transparently. You do not have to configure software RAID manually.
Prerequisites
- You have selected two or more disks for installation before RAID configuration options are visible. Depending on the RAID type you want to create, at least two disks are required.
- You have selected the radio button on the Installation Destination window and you have entered the Manual Partitioning window by clicking on the Done button.
- You have created a mount point. By configuring a mount point, you can configure the RAID device.
Procedure
- From the left pane of the Manual Partitioning window, select the required partition.
- Click the Device Type drop-down menu and select RAID.
- Under the Device(s) section, click . The Configure Mount Point dialog box opens.
- Select the disks that you want to include in the RAID device and click to close the dialog box.
- Click the File System drop-down menu and select your preferred file system type.
- Click the RAID Level drop-down menu and select your preferred level of RAID.
- Click to save your changes.
- Click to apply the settings to return to the Installation Summary window.
10.5.10. Creating an LVM logical volume Copia collegamentoCollegamento copiato negli appunti!
Logical Volume Management (LVM) presents a logical view of underlying physical storage space, such as disks or LUNs. Partitions on physical storage are represented as physical volumes that you can group together into volume groups. You can divide each volume group into multiple logical volumes, each of which is similar to a standard disk partition. Therefore, LVM logical volumes function as partitions that can span multiple physical disks.
- LVM configuration is available only in the graphical and the Kickstart installation. During text-mode installation, LVM configuration is not available.
-
To create an LVM configuration in the text mode, press Ctrl+Alt+F2 to use a shell prompt in a different virtual console. You can run
vgcreateandlvmcommands in this shell. To return to the text-mode installation, press Ctrl+Alt+F1.
Procedure
From the Manual Partitioning window, create a new mount point by using any of the following options:
- Use the Click here to create them automatically option or click the + button.
- Select Mount Point from the drop-down list or enter manually.
Enter the size of the file system in to the Desired Capacity field; for example, 70 GiB for
/, 1 GiB for/boot.Note: Skip this step to use the existing mount point.
- Select the mount point.
Select
LVMin the drop-down menu. The Volume Group drop-down menu is displayed with the newly-created volume group name.NoteYou cannot specify the size of the volume group’s physical extents in the configuration dialog. The size is always set to the default value of 4 MiB. If you want to create a volume group with different physical extents, you must create it manually by switching to an interactive shell and by using the
vgcreatecommand, or use a Kickstart file with thevolgroup --pesize=sizecommand.- Click to return to the Installation Summary window.
10.5.11. Configuring an LVM logical volume Copia collegamentoCollegamento copiato negli appunti!
You can configure a newly-created LVM logical volume based on your requirements.
Placing the /boot partition on an LVM volume is not supported.
Procedure
From the Manual Partitioning window, create a mount point by using any of the following options:
- Use the Click here to create them automatically option or click the + button.
- Select Mount Point from the drop-down list or enter manually.
Enter the size of the file system in to the Desired Capacity field; for example, 70 GiB for
/, 1 GiB for/boot.Skip this step to use the existing mount point.
- Select the mount point.
-
Click the Device Type drop-down menu and select
LVM. The Volume Group drop-down menu is displayed with the newly-created volume group name. Click to configure the newly-created volume group. The Configure Volume Group dialog box opens.
NoteYou cannot specify the size of the volume group’s physical extents in the configuration dialog. The size is always set to the default value of 4 MiB. If you want to create a volume group with different physical extents, you must create it manually by switching to an interactive shell and by using the
vgcreatecommand, or use a Kickstart file with thevolgroup --pesize=sizecommand. For more information, see the Automatically installing RHEL document.Optional: From the RAID Level drop-down menu, select the RAID level that you require.
The available RAID levels are the same as with actual RAID devices.
- Select the Encrypt check box to mark the volume group for encryption.
From the Size policy drop-down menu, select any of the following size policies for the volume group:
The available policy options are:
- Automatic
- The size of the volume group is set automatically so that it is large enough to contain the configured logical volumes. This is optimal if you do not need free space within the volume group.
- As large as possible
- The volume group is created with maximum size, regardless of the size of the configured logical volumes it contains. This is optimal if you plan to keep most of your data on LVM and later need to increase the size of some existing logical volumes, or if you need to create additional logical volumes within this group.
- Fixed
- You can set an exact size of the volume group. Any configured logical volumes must then fit within this fixed size. This is useful if you know exactly how large you need the volume group to be.
- Click to apply the settings and return to the Manual Partitioning window.
- Click to save your changes.
- Click to return to the Installation Summary window.
10.5.12. Understanding disk partitioning strategies Copia collegamentoCollegamento copiato negli appunti!
There is no best way to partition every system; the optimal setup depends on how you plan to use the system being installed. However, the following tips may help you find the optimal layout for your needs:
- Create partitions that have specific requirements first, for example, if a particular partition must be on a specific disk.
-
Consider encrypting any partitions and volumes which might contain sensitive data. Encryption prevents unauthorized people from accessing the data on the partitions, even if they have access to the physical storage device. In most cases, you should at least encrypt the
/homepartition, which contains user data. -
In some cases, creating separate mount points for directories other than
/,/bootand/homemay be useful. For example, on a server running aMySQLdatabase, having a separate mount point for/var/lib/mysqlallows you to preserve the database during a reinstallation without having to restore it from backup afterward. However, having unnecessary separate mount points will make storage administration more difficult. -
Some special restrictions apply to certain directories with regards to which partitioning layouts can be placed. Notably, the
/bootdirectory must always be on a physical partition (not on an LVM volume). - Each kernel requires approximately: 60MiB (initrd 28MiB, 16MiB vmlinuz, and 9MiB System.map)
- For rescue mode: 100MiB (initrd 56MiB, 16MiB vmlinuz, and 9MiB System map)
When
kdumpis enabled in system it will take approximately another 40MiB (another initrd with 33MiB)The default partition size of 1 GiB for
/bootshould suffice for most common use cases. However, increase the size of this partition if you are planning on retaining multiple kernel releases or errata kernels.-
The
/vardirectory holds content for a number of applications, including the Apache web server, and is used by the DNF package manager to temporarily store downloaded package updates. Make sure that the partition or volume containing/varhas at least 5 GiB. -
The
/usrdirectory holds the majority of software on a typical Red Hat Enterprise Linux installation. The partition or volume containing this directory should therefore be at least 5 GiB for minimal installations, and at least 10 GiB for installations with a graphical environment. If
/usror/varis partitioned separately from the rest of the root volume, the boot process becomes much more complex because these directories contain boot-critical components. In some situations, such as when these directories are placed on an iSCSI drive or an FCoE location, the system may either be unable to boot, or it may hang with aDevice is busyerror when powering off or rebooting.This limitation only applies to
/usror/var, not to directories under them. For example, a separate partition for/var/wwwworks without issues.ImportantSome security policies require the separation of
/usrand/var, even though it makes administration more complex.-
Consider leaving a portion of the space in an LVM volume group unallocated. This unallocated space gives you flexibility if your space requirements change but you do not wish to remove data from other volumes. You can also select the
LVM Thin Provisioningdevice type for the partition to have the unused space handled automatically by the volume. -
The size of an XFS file system cannot be reduced - if you need to make a partition or volume with this file system smaller, you must back up your data, destroy the file system, and create a new, smaller one in its place. Therefore, if you plan to alter your partitioning layout later, you should use the
ext4file system instead. -
Use Logical Volume Management (LVM) if you anticipate expanding your storage by adding more disks or expanding virtual machine disks after the installation. With LVM, you can create physical volumes on the new drives, and then assign them to any volume group and logical volume as you see fit - for example, you can easily expand your system’s
/home(or any other directory residing on a logical volume). - Creating a BIOS Boot partition or an EFI System Partition may be necessary, depending on your system’s firmware, boot drive size, and boot drive disk label. Note that you cannot create a BIOS Boot or EFI System Partition in graphical installation if your system does not require one - in that case, they are hidden from the menu.
10.6. Selecting the base environment and additional software Copia collegamentoCollegamento copiato negli appunti!
You can choose the appropriate base environment and additional software packages during RHEL installation from the Software Selection window to customize your system for specific use cases. It determines the software stack that will be installed and affects system performance, security, and functionality.
- Base Environment contains predefined packages. You can select only one base environment, for example, Server with GUI (default), Server, Minimal Install, Workstation, Custom operating system, Virtualization Host. The availability is dependent on the installation ISO image that is used as the installation source.
- Additional Software for Selected Environment contains additional software packages for the base environment. You can select multiple software packages.
Use a predefined environment and additional software to customize your system. However, in a standard installation, you cannot select individual packages to install. To view the packages contained in a specific environment, see the repository/repodata/*-comps-repository.architecture.xml file on your installation source media (DVD, CD, USB). The XML file contains details of the packages installed as part of a base environment. Available environments are marked by the <environment> tag, and additional software packages are marked by the <group> tag.
If you are unsure about which packages to install, select the Minimal Install base environment. Minimal install installs a basic version of Red Hat Enterprise Linux with only a minimal amount of additional software. After the system finishes installing and you log in for the first time, you can use the DNF package manager to install additional software.
-
Use the
dnf group listcommand from any RHEL 10 system to view the list of packages being installed on the system as a part of software selection. -
If you need to control which packages are installed, you can use a Kickstart file and define the packages in the
%packagessection. For more information, see the Automatically installing RHEL document. -
By default, RHEL 10 does not install the TuneD package. You can manually install the TuneD package by using the
dnf install tunedcommand.
Prerequisites
- You have configured the installation source.
- The installation program has downloaded package metadata.
- The Installation Summary window is open.
Procedure
- From the Installation Summary window, click Software Selection. The Software Selection window opens.
- From the Base Environment pane, select a base environment. You can select only one base environment, for example, Server with GUI (default), Server, Minimal Install, Workstation, Custom Operating System, Virtualization Host. By default, the Server with GUI base environment is selected.
Optional: For installations on ARM based systems, select desired Page size from Kernel Options.
By default, Kernel with a 4k page size is selected.
- From the Additional Software for Selected Environment pane, select one or more options.
- Click to apply the settings and return to graphical installations.
10.7. Optional: Configuring the network and host name Copia collegamentoCollegamento copiato negli appunti!
You can use the Network and Host name window to configure network interfaces. Options that you select here are available both during the installation for tasks such as downloading packages from a remote location, and on the installed system.
10.7.1. Configuring network and host name Copia collegamentoCollegamento copiato negli appunti!
You can configure network interfaces and set the system hostname during RHEL installation from the Network and Hostname section. It enables network connectivity for package downloads, remote installations, and ensures proper system identification on your network infrastructure.
Procedure
- From the Installation Summary window, click .
- From the list in the left-hand pane, select an interface. The details are displayed in the right-hand pane.
Toggle the switch to enable or disable the selected interface.
You cannot add or remove interfaces manually.
- Click to add a virtual network interface, which can be either: Bond, Bridge, or VLAN.
- Click to remove a virtual interface.
- Click to change settings such as IP addresses, DNS servers, or routing configuration for an existing interface (both virtual and physical).
Type a host name for your system in the Host Name field.
The host name can either be a fully qualified domain name (FQDN) in the format
hostname.domainname, or a short hostname without the domain. Many networks have a Dynamic Host Configuration Protocol (DHCP) service that automatically supplies connected systems with a domain name. To allow the DHCP service to assign the domain name to this system, specify only the short host name.Host names can only contain alphanumeric characters and
-or.. Host name should be equal to or less than 64 characters. Host names cannot start or end with-and.. To be compliant with DNS, each part of a FQDN should be equal to or less than 63 characters and the FQDN total length, including dots, should not exceed 255 characters.The value
localhostmeans that no specific static host name for the target system is configured, and the actual host name of the installed system is configured during the processing of the network configuration, for example, by NetworkManager using DHCP or DNS.When using static IP and host name configuration, it depends on the planned system use case whether to use a short name or FQDN. Red Hat Identity Management configures FQDN during provisioning but some 3rd party software products may require a short name. In either case, to ensure availability of both forms in all situations, add an entry for the host in
/etc/hostsin the formatIP FQDN short-alias.- Click to apply the host name to the installer environment.
- Alternatively, in the Network and Hostname window, you can choose the Wireless option. Click in the right-hand pane to select your wifi connection, enter the password if required, and click .
10.7.2. Adding a virtual network interface Copia collegamentoCollegamento copiato negli appunti!
You can add virtual network interfaces during RHEL installation to configure advanced networking features such as bonding, bridging, and VLANs. It enables high availability, load balancing, and network segmentation for improved network performance and reliability.
Procedure
- From the Network & Host name window, click the button to add a virtual network interface. The Add a device dialog opens.
Select one of the four available types of virtual interfaces:
- Bond: NIC (Network Interface Controller) Bonding, a method to bind multiple physical network interfaces together into a single bonded channel.
- Bridge: Represents NIC Bridging, a method to connect multiple separate networks into one aggregate network.
- Vlan (Virtual LAN): A method to create multiple distinct broadcast domains which are mutually isolated.
- Select the interface type and click . An editing interface dialog box opens, allowing you to edit any available settings for your chosen interface type. For more information, see Editing network interface.
- Click to confirm the virtual interface settings and return to the Network & Host name window.
- Optional: To change the settings of a virtual interface, select the interface and click .
10.7.3. Editing network interface configuration Copia collegamentoCollegamento copiato negli appunti!
You can edit network interface configuration during RHEL installation to customize network settings for wired and wireless connections. This enables configuration of IP addresses, DNS settings, routing, and other network parameters to meet specific network requirements.
On 64-bit IBM Z, you cannot add a new connection as the network subchannels need to be grouped and set online beforehand, and this is currently done only in the booting phase.
Procedure
To configure a network connection manually, select the interface from the Network and Host name window and click .
An editing dialog specific to the selected interface opens. The options present depend on the connection type - the available options are slightly different depending on whether the connection type is a physical interface (wired or wireless network interface controller) or a virtual interface (Bond, Bridge, Team (deprecated), or Vlan) that was previously configured in Adding a virtual interface.
10.7.4. Enabling or Disabling the Interface Connection Copia collegamentoCollegamento copiato negli appunti!
You can enable or disable network interface connections during RHEL installation to control network access and connectivity. This configuration determines which network interfaces are active and how they connect automatically, affecting system network behavior and security.
Procedure
- Click the General tab.
-
Select the Connect automatically with priority check box to enable connection by default. Keep the default priority setting at
0. Optional: Enable or disable all users on the system from connecting to this network by using the All users may connect to this network option. If you disable this option, only
rootwill be able to connect to this network.ImportantWhen enabled on a wired connection, the system automatically connects during startup or reboot. On a wireless connection, the interface attempts to connect to any known wireless networks in range. For further information about NetworkManager, including the
nm-connection-editortool, see the Configuring and managing networking document.Click to apply the changes and return to the Network and Host name window.
It is not possible to only allow a specific user other than
rootto use this interface, as no other users are created at this point during the installation. If you need a connection for a different user, you must configure it after the installation.
10.7.5. Setting up Static IPv4 or IPv6 Settings Copia collegamentoCollegamento copiato negli appunti!
By default, both IPv4 and IPv6 use automatic configuration. This means when the interface is connected, IP addresses, DNS, and other settings are set automatically. In many cases, this is sufficient, but you can also provide static configuration in the IPv4 Settings and IPv6 Settings tabs.
Procedure
- To set static network configuration, navigate to one of the IPv Settings tabs and from the Method drop-down menu, select a method other than Automatic, for example, Manual. The Addresses pane is enabled.
- Optional: In the IPv6 Settings tab, you can also set the method to Ignore to disable IPv6 on this interface.
- Click and enter your address settings.
-
Type the IP addresses in the Additional DNS servers field; it accepts one or more IP addresses of DNS servers, for example,
10.0.0.1,10.0.0.8. Select the Require IPvX addressing for this connection to complete check box.
Selecting this option in the IPv4 Settings or IPv6 Settings tabs allow this connection only if IPv4 or IPv6 was successful. If this option remains disabled for both IPv4 and IPv6, the interface is able to connect if configuration succeeds on either IP protocol.
- Click to apply the changes and return to the Network & Host name window.
10.7.6. Configuring Routes Copia collegamentoCollegamento copiato negli appunti!
You can control the access of specific connections by configuring routes.
Procedure
- In the IPv4 Settings and IPv6 Settings tabs, click to configure routing settings for a specific IP protocol on an interface. An editing routes dialog specific to the interface opens.
- Click to add a route.
- Select the Ignore automatically obtained routes check box to configure at least one static route and to disable all routes not specifically configured.
Select the Use this connection only for resources on its network check box to prevent the connection from becoming the default route.
This option can be selected even if you did not configure any static routes. This route is used only to access certain resources, such as intranet pages that require a local or VPN connection. Another (default) route is used for publicly available resources. Unlike the additional routes configured, this setting is transferred to the installed system. This option is useful only when you configure more than one interface.
- Click to save your settings and return to the editing routes dialog that is specific to the interface.
- Click to apply the settings and return to the Network and Host Name window.
10.8. Optional: Configuring the keyboard layout Copia collegamentoCollegamento copiato negli appunti!
You can configure keyboard layouts during RHEL installation from the Installation Summary screen to support different languages and regional input methods. It ensures proper character input, special symbols, and keyboard shortcuts for international users and multilingual environments.
If you use a keyboard layout without Latin characters (for example, Russian), add the English (United States) layout too. You need Latin characters to enter paraphrases or user credentials during the installation process.
Procedure
- From the Installation Summary window, click Keyboard.
- Click to open the Add a Keyboard Layout window to change to a different layout.
- Select a layout by browsing the list or use the Search field.
- Select the required layout and click . The new layout appears under the default layout.
Optional: Click to configure a keyboard switch that you can use to cycle between available layouts in the installed system (this is not used during the installation). The Layout Switching Options window opens.
- To configure key combinations for switching, select one or more key combinations and click to confirm your selection.
- Optional: When you select a layout, click the Keyboard button to open a new dialog box displaying a visual representation of the selected layout.
- Click to apply the settings and return to graphical installations.
10.9. Optional: Configuring the language support Copia collegamentoCollegamento copiato negli appunti!
You can configure additional language support during RHEL installation from the Installation Summary screen to enable localization for specific regions and languages. It ensures proper character encoding, date formats, and cultural conventions for international deployments and multilingual environments.
Procedure
- From the Installation Summary window, click Language Support. The Language Support window opens. The left pane lists the available language groups. If at least one language from a group is configured, a check mark is displayed and the supported language is highlighted.
- From the left pane, click a group to select additional languages, and from the right pane, select regional options. Repeat this process for all the languages that you want to configure.
- Optional: Search the language group by typing in the text box, if required.
- Click to apply the settings and return to graphical installations.
10.11. Optional: Subscribing the system and activating Red Hat Lightspeed Copia collegamentoCollegamento copiato negli appunti!
Red Hat Lightspeed is a Software-as-a-Service (SaaS) offering that provides continuous, in-depth analysis of registered Red Hat-based systems to proactively identify threats to security, performance and stability across physical, virtual and cloud environments, and container deployments. By registering your RHEL system in Red Hat Lightspeed, you gain access to predictive analytics, security alerts, and performance optimization tools, enabling you to maintain a secure, efficient, and stable IT environment.
You can register to Red Hat by using either your Red Hat account or your activation key details. You can connect your system to Red Hat Lightspeed by using the Connect to Red Hat option.
Procedure
- From the Installation Summary screen, under Software, click Connect to Red Hat.
Select Account or Activation Key.
- If you select Account, enter your Red Hat Customer Portal username and password details.
If you select Activation Key, enter your organization ID and activation key.
You can enter more than one activation key, separated by a comma, as long as the activation keys are registered to your subscription.
- Select the Set System Purpose check box. Setting system purpose values are important for accurate reporting of consumption in the subscription services.
- Select the required Role, SLA, and Usage from the corresponding drop-down lists.
- The Connect to Red Hat Lightspeed check box is enabled by default. Clear the check box if you do not want to connect to Red Hat Lightspeed.
Optional: Expand Options.
- Select the Use HTTP proxy check box if your network environment only allows external Internet access or access to content servers through an HTTP proxy. Clear the Use HTTP proxy check box if an HTTP proxy is not used.
Click to register the system. When the system is successfully registered and subscriptions are attached, the Connect to Red Hat window displays the attached subscription details.
Depending on the amount of subscriptions, the registration and attachment process might take up to a minute to complete.
Click to return to the Installation Summary window.
A Registered message is displayed under Connect to Red Hat.
10.12. Optional: Using network-based repositories for the installation Copia collegamentoCollegamento copiato negli appunti!
You can configure an installation source from auto-detected media, Red Hat CDN, or the network. When the Installation Summary window opens, the installation source is set based on the boot media. The full Red Hat Enterprise Linux Server DVD configures the source as local media.
Prerequisites
- You have downloaded the full installation DVD ISO or minimal installation Boot ISO image from the Product Downloads page.
- You have created bootable installation media.
- The Installation Summary window is open.
Procedure
From the Installation Summary window, click Installation Source. The Installation Source window opens.
The Auto-detected installation media option is selected by default if you started the installation program from media containing an installation source, for example, a DVD.
- Optional: Select the Red Hat CDN option to register your system, attach RHEL subscriptions, and install RHEL from the Red Hat Content Delivery Network (CDN).
Optional: Select the On the network option to download and install packages from a network location instead of local media. This option is available only when a network connection is active. See Configuring network and host name options for information about how to configure network connections in the GUI.
- Select the On the network drop-down menu to specify the protocol for downloading packages. This setting depends on the server that you want to use.
-
Type the server address (without the protocol) into the address field. If you choose NFS, a second input field opens where you can specify custom NFS mount options. This field accepts options listed in the
nfs(5)man page on your system. When selecting an NFS installation source, specify the address with a colon (
:) character separating the host name from the path. For example,server.example.com:/path/to/directory.The following steps are optional and are only required if you use a proxy for network access.
Click to configure a proxy for an HTTP or HTTPS source.
- Select the Enable HTTP proxy check box and type the URL into the Proxy Host field.
- Select the Use Authentication check box if the proxy server requires authentication.
- Type in your user name and password.
- Click to finish the configuration and exit the Proxy Setup… dialog box.
- Optional: If your HTTP or HTTPS URL refers to a repository mirror, select the required option from the URL type drop-down list. All environments and additional software packages are available for selection when you finish configuring the sources.
- Click to apply the settings and return to the Installation Summary window.
10.13. Optional: Configuring Kdump kernel crash-dumping mechanism Copia collegamentoCollegamento copiato negli appunti!
Kdump is a kernel crash-dumping mechanism. In the event of a system crash, Kdump captures the contents of the system memory at the moment of failure. The captured memory can be analyzed to find the cause of the crash. If Kdump is enabled, it must have a small portion of the system’s memory (RAM) reserved to itself. This reserved memory is not accessible to the main kernel.
Procedure
- From the Installation Summary window, click Kdump. The Kdump window opens.
- Select the Enable kdump check box.
- Select either the Automatic or Manual memory reservation setting.
- If you select Manual, enter the amount of memory (in megabytes) that you want to reserve in the Memory to be reserved field using the + and - buttons. The Usable System Memory readout below the reservation input field shows how much memory is accessible to your main system after reserving the amount of RAM that you select.
Click to apply the settings and return to graphical installations.
The amount of memory that you reserve is determined by your system architecture (AMD64 and Intel 64 have different requirements than IBM Power) as well as the total amount of system memory. In most cases, automatic reservation is satisfactory.
Additional settings, such as the location where kernel crash dumps will be saved, can only be configured after the installation using either the system-config-kdump graphical interface, or manually in the
/etc/kdump.confconfiguration file.
Chapter 11. Registering your RHEL system Copia collegamentoCollegamento copiato negli appunti!
After installing RHEL, register your system to receive updates and to access Red Hat services. You can register your system by using various methods:
- RHC client
- Graphical user interface
- Subscription manager
- Registration assistant
The RHC client provides the following flexible features to register your RHEL system and manage the extent of data collection:
- Access to Red Hat content: Provides access to Red Hat CDN repositories.
- Analytics for Red Hat Lightspeed: Enables data collection for Red Hat Lightspeed.
- Remote management: Establishes an additional MQTT network connection to Red Hat services for remote execution of certain actions from console.redhat.com.
By default, the RHC client enables all available features. However, you can override this behavior by enabling or disabling specific features based on your connectivity requirements. Review the available options and select the appropriate features based on your internal policies on data and network connectivity.
Use the RHC client only for systems directly connecting to Hybrid Cloud Console, the RHC client currently does not support Satellite.
11.1. Registering a system by using the RHC client Copia collegamentoCollegamento copiato negli appunti!
Register your RHEL system by using the RHC client to connect to Red Hat services with the default feature levels. This enables all available features: access to Red Hat content, analytics for Red Hat Lightspeed, and remote management.
Prerequisites
- You have an activation key and an organization ID to register your system.
Procedure
- Open the terminal window.
Do one of the following:
To register the system with the default feature level and ensure system executes the Remediation and Tasks from Red Hat Lightspeed:
# rhc connect --activation-key=<activation_key> --organization=<organization_ID># dnf install -y rhc-worker-playbookTo disable any of the features while registering your system:
# rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature <feature>Where feature can be replaced with:
- content - Provides access to Red Hat CDN repositories.
- analytics - Enables data collection for Red Hat Lightspeed.
remote-management - Establishes an additional MQTT network connection to Red Hat services for remote execution of certain actions from console.redhat.com.
For example, if you want to register your system with a remote management feature disabled so that your system cannot be managed remotely but the system has access to RHEL content and collects data for Red Hat Lightspeed analytics, enter:
# rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature remote-management
Verification
Confirm the active features when registering with default options:
# rhc statusConnection status: ✓ Connected to Red Hat Subscription Management ✓ Connected to Red Hat Lightspeed ✓ The yggdrasil service is active Manage your connected systems: https://red.ht/connectorConfirm the active features with remote-management disabled:
# rhc statusConnection status: ✓ Connected to Red Hat Subscription Management ✓ Connected to Red Hat Lightspeed ● The yggdrasil service is inactive
11.2. Registering your system using the subscription manager Copia collegamentoCollegamento copiato negli appunti!
You can register your Red Hat Enterprise Linux subscription by using the command line to get software updates and access Red Hat services.
For an improved and simplified experience registering your hosts to Red Hat, use the RHC client. The RHC client registers your system to Red Hat making your system ready for Red Hat Lightspeed data collection and enabling direct issue remediation from Red Hat Lightspeed for Red Hat Enterprise Linux. For more information, see information, see RHC registration.
Prerequisites
- You have an active, non-evaluation Red Hat Enterprise Linux subscription.
- Your Red Hat subscription status is verified.
- You have successfully installed Red Hat Enterprise Linux and logged into the system as root.
Procedure
- Open a terminal window as a root user.
Register your Red Hat Enterprise Linux system by using the activation key:
# subscription-manager register --activationkey=<activation_key_name> --org=<organization_ID>When the system is successfully registered, an output similar to the following is displayed:
The system has been registered with ID: 62edc0f8-855b-4184-b1b8-72a9dc793b96
11.3. Registering RHEL 10 using the installer GUI Copia collegamentoCollegamento copiato negli appunti!
You can register a Red Hat Enterprise Linux by using the RHEL installer GUI to get software updates and access Red Hat services.
Prerequisites
- You have a valid user account on the Red Hat Customer Portal. See the Create a Red Hat Login page.
- You have a valid Activation Key and Organization ID.
Procedure
- From the Installation Summary screen, under Software, click Connect to Red Hat.
- Authenticate your Red Hat account using the Account or Activation Key option.
Optional: In the Set System Purpose field select the Role, SLA, and Usage attribute that you want to set from the drop-down menu.
At this point, your Red Hat Enterprise Linux system has been successfully registered.
11.4. Registration Assistant Copia collegamentoCollegamento copiato negli appunti!
Registration Assistant is designed to help you choose the most suitable registration option for your Red Hat Enterprise Linux environment:
- For assistance with using a username and password to register RHEL with the Subscription Manager client, see the RHEL registration assistant on the Customer Portal.
- For assistance with registering your RHEL system to Red Hat Lightspeed, see the Red Hat Lightspeed registration assistant on the Hybrid Cloud Console.
Chapter 12. Configuring System Purpose by using the subscription-manager command-line tool Copia collegamentoCollegamento copiato negli appunti!
System purpose is a feature of the Red Hat Enterprise Linux installation to help RHEL customers get the benefit of our subscription experience and services offered in the Red Hat Hybrid Cloud Console, a dashboard-based, Software-as-a-Service (SaaS) application that enables you to view subscription usage in your Red Hat account.
You can configure system purpose attributes either on the activation keys or by using the subscription manager tool.
Prerequisites
- You have installed and registered your Red Hat Enterprise Linux 10 system, but system purpose is not configured.
-
You are logged in as a
rootuser.
Procedure
From the command line, run the following command to set the intended role of the system:
# subscription-manager syspurpose role --set VALUEReplace
VALUEwith the role that you want to assign:-
Red Hat Enterprise Linux Server -
Red Hat Enterprise Linux Workstation -
Red Hat Enterprise Linux Compute Node
For example:
# subscription-manager syspurpose role --set Red Hat Enterprise Linux ServerOptional: Before setting a value, see the available roles supported by the subscriptions for your organization:
# subscription-manager syspurpose role --listOptional: Run the following command to unset the role:
# subscription-manager syspurpose role --unset
-
Run the following command to set the intended Service Level Agreement (SLA) of the system:
# subscription-manager syspurpose service-level --set VALUEReplace
VALUEwith the SLA that you want to assign:-
Premium -
Standard -
Self-Support
For example:
# subscription-manager syspurpose service-level --set "Standard"Optional: Before setting a value, see the available service-levels supported by the subscriptions for your organization:
# subscription-manager syspurpose service-level --listOptional: Run the following command to unset the SLA:
# subscription-manager syspurpose service-level --unset
-
Run the following command to set the intended usage of the system:
# subscription-manager syspurpose usage --set "VALUE"Replace
VALUEwith the usage that you want to assign:-
Production -
Disaster Recovery -
Development/Test
For example:
# subscription-manager syspurpose usage --set "Production"Optional: Before setting a value, see the available usages supported by the subscriptions for your organization:
# subscription-manager syspurpose usage --listOptional: Run the following command to unset the usage:
# subscription-manager syspurpose usage --unset
-
Run the following command to show the current system purpose properties:
# subscription-manager syspurpose --showOptional: For more detailed syntax information run the following command to access the
subscription-managerman page and browse to the SYSPURPOSE OPTIONS:# man subscription-manager
Verification
To verify the system’s subscription status:
# subscription-manager status+-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: RegisteredFor more information about the subscriptions services, see the Getting Started with the Subscriptions Service guide.
Chapter 13. Post-installation security hardening Copia collegamentoCollegamento copiato negli appunti!
RHEL is designed with robust security features enabled by default. However, you can enhance its security further through additional hardening measures.
For more information about:
- Processes and practices for securing RHEL servers and workstations against local and remote intrusion, exploitation, and malicious activity, see Security hardening.
- Control how users and processes interact with the files on the system or control which users can perform which actions by mapping them to specific SELinux confined users, see Using SELinux.
- Tools and techniques to improve the security of your networks and lower the risks of data breaches and intrusions, see Securing networks.
- Packet filters, such as firewalls, that use rules to control incoming, outgoing, and forwarded network traffic, see Configuring firewalls and packet filters.
Chapter 14. Changing a subscription service Copia collegamentoCollegamento copiato negli appunti!
To manage the subscriptions, you can register a RHEL system with either Red Hat Subscription Management Server or Red Hat Satellite Server. If required, you can change the subscription service at a later point. To change the subscription service under which you are registered, unregister the system from the current service and then register it with a new service.
To receive the system updates, register your system with either of the management servers.
This section contains information about how to unregister your RHEL system from the Red Hat Subscription Management Server and Red Hat Satellite Server.
14.1. Prerequisites Copia collegamentoCollegamento copiato negli appunti!
You have registered your system with any one of the following:
- Red Hat Subscription Management Server
- Red Hat Satellite Server version 6.17
To receive the system updates, register your system with either of the management servers.
14.2. Unregistering from Subscription Management Server Copia collegamentoCollegamento copiato negli appunti!
You can unregister a RHEL system from Red Hat Subscription Management Server by using a command line and the Subscription Manager user interface.
14.2.1. Unregistering using command line Copia collegamentoCollegamento copiato negli appunti!
Use the unregister command to unregister a RHEL system from Red Hat Subscription Management Server.
Procedure
Run the unregister command as a root user or
sudo, without any additional parameters.# subscription-manager unregisterThe system is unregistered from the Subscription Management Server, and the status 'System Not Registered' is displayed with the button enabled.
To continue uninterrupted services, re-register the system with either of the management services. If you do not register the system with a management service, you may fail to receive the system updates.
14.2.2. Unregistering by using Subscription Manager user interface Copia collegamentoCollegamento copiato negli appunti!
You can unregister a RHEL system from Red Hat Subscription Management Server by using the Subscription Manager user interface.
Procedure
- Log in to your system.
- From the top left-hand side of the window, click Activities.
- From the menu options, click the Show Applications icon.
- Click the Settings icon, or enter Settings Manager in the search.
In the left side column, select the System options, then on the new screen select Registration.
The Registration screen displays the current status of your Subscription.
- Click the Remove Registration… button and confirm your choice.
Enter your administrator password in the Authentication Required dialog box. The system is unregistered from the Subscription Management Server, and the status System Not Registered is displayed with the Register System… button enabled.
To continue uninterrupted services, re-register the system with either of the management services. If you do not register the system with a management service, you may fail to receive the system updates.
14.3. Unregistering from Satellite Server Copia collegamentoCollegamento copiato negli appunti!
Removing a Red Hat Enterprise Linux (RHEL) system from Satellite Server updates the system’s status on the server side. However, the system’s local registration remains unchanged. To ensure a complete transition to Red Hat Subscription Management (RHSM), manually unregister the system and restore the default configuration in the /etc/rhsm/rhsm.conf file.
Procedure
- Remove the host from the Satellite server.
Unregister the system:
# subscription-manager unregisterRevert the
/etc/rhsm/rhsm.confconfiguration file to its default values:# cd /etc/rhsm/# mv rhsm.conf.bak rhsm.confNoteYou can restore this file only if the original content of the file was backed up earlier. Otherwise, you must manually restore the file from a non-modified RHEL machine.
Verify that the
/etc/rhsm/rhsm.conffile has been reverted to default values:# subscription-manager config --list[server] hostname = [subscription.rhsm.redhat.com] insecure = [0] no_proxy = [] port = [443] prefix = [/subscription] proxy_hostname = [] proxy_password = [] proxy_port = [] proxy_scheme = [http] proxy_user = [] server_timeout = [180] ssl_verify_depth = [3] [rhsm] auto_enable_yum_plugins = [1] baseurl = [https://cdn.redhat.com] ca_cert_dir = [/etc/rhsm/ca/] consumercertdir = [/etc/pki/consumer] entitlementcertdir = [/etc/pki/entitlement] full_refresh_on_yum = [0] inotify = [1] manage_repos = [1] package_profile_on_trans = [0] pluginconfdir = [/etc/rhsm/pluginconf.d] plugindir = [/usr/share/rhsm-plugins] productcertdir = [/etc/pki/product] repo_ca_cert = /etc/rhsm/ca/redhat-uep.pem repomd_gpg_url = [] report_package_profile = [1] [rhsmcertd] auto_registration = [0] auto_registration_interval = [60] autoattachinterval = [1440] certcheckinterval = [240] disable = [0] splay = [1] [logging] default_log_level = [INFO] [] - Default value in useRegister the system:
# subscription-manager registerUsername: <_redhat_portal_admin_username_> Password:Enable the required repositories:
# subscription-manager repos --disable "*"# subscription-manager repos# subscription-manager repos --enable=<repo-id>
Chapter 15. Changing basic environment settings Copia collegamentoCollegamento copiato negli appunti!
If your requirements change after installation, you can update the basic system settings accordingly. This includes the following settings:
- Keyboard layout
- Date and time
- System locale
15.1. Configuring the keyboard layout Copia collegamentoCollegamento copiato negli appunti!
The keyboard layout settings control the layout used on the text console. If RHEL was installed with a different keyboard layout than the one you use after the installation, you can change the layout.
Procedure
To list available keymaps:
$ localectl list-keymapsANSI-dvorak al al-plisi amiga-de de de-nodeadkeys ...Optional: Display the current keymap settings:
$ localectl status... VC Keymap: us ...Change the system keymap, for example:
# localectl set-keymap de-nodeadkeysFor more information, see the
localectl(1),locale(7), andlocale.conf(5)man pages on your system.
15.2. Manually configuring the date, time and timezone settings Copia collegamentoCollegamento copiato negli appunti!
You can manually configure date, time, and timezone settings on RHEL systems to ensure accurate timekeeping across your environment. Proper time configuration is essential for authentication, logging, troubleshooting, and maintaining consistency with other systems in your infrastructure.
Note, prefer time synchronization by using chrony.
Procedure
Optional: List the timezones:
# timedatectl list-timezonesEurope/BerlinSet the time zone:
# timedatectl set-timezone <time_zone>Set the date and time:
# timedatectl set-time <YYYY-mm-dd HH:MM-SS>
Verification
Display the date, time, and timezone:
# dateMon May 5 09:11:55 CEST 2025To see more details, use the timedatectl command:
# timedatectlLocal time: Mon 2025-05-05 09:11:55 CEST Universal time: Mon 2025-05-05 07:11:55 UTC RTC time: Mon 2025-05-05 07:11:55 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: no NTP service: inactive RTC in local TZ: noFor more information, see the
date(1)andtimedatectl(1)man pages on your system.
15.3. Configuring the system locale Copia collegamentoCollegamento copiato negli appunti!
The system locale specifies the language settings of system services and user interfaces. System-wide locale settings determine the language, region, and formatting conventions used by an operating system and its applications. System-wide locale settings are stored in the /etc/locale.conf file that is read at early boot by the systemd daemon.
Every service or user inherits the locale settings configured in /etc/locale.conf, unless individual programs or individual users override them.
Procedure
Optional: Display the current system locales settings:
# localectl statusSystem Locale: LANG=C.UTF-8 VC Keymap: de-nodeadkeys X11 Layout: deList available system locale settings:
$ localectl list-localesC.UTF-8 ... en_US.UTF-8 en_ZA.UTF-8 en_ZW.UTF-8 ...Update the syste locale setting, for example::
# localectl set-locale LANG=en_US.UTF-8For more information, see the
localectl(1),locale(7), andlocale.conf(5)man pages on your system.
Chapter 16. Tools and tips for troubleshooting and bug reporting Copia collegamentoCollegamento copiato negli appunti!
The troubleshooting information in the following sections might be helpful when diagnosing issues at the start of the installation process. The following sections are for all supported architectures. However, if an issue is for a particular architecture, it is specified at the start of the section.
16.1. Dracut Copia collegamentoCollegamento copiato negli appunti!
Dracut is a tool that manages the initramfs image during the Linux operating system boot process. The dracut emergency shell is an interactive mode that can be initiated while the initramfs image is loaded. You can run basic troubleshooting commands from the dracut emergency shell. For more information, see the Troubleshooting section of the dracut man page on your system.
16.2. Using installation log files Copia collegamentoCollegamento copiato negli appunti!
For debugging purposes, the installation program logs installation actions in files that are located in the /tmp directory. These log files are listed in the following table.
| Log file | Contents |
|---|---|
|
| General messages. |
|
| All external programs run during the installation. |
|
| Extensive storage module information. |
|
| dnf and rpm package installation messages. |
|
|
Information about the |
|
| Configuration information that is not part of other logs and not copied to the installed system. |
|
| Hardware-related system messages. This file contains messages from other Anaconda files. |
If the installation fails, the messages are consolidated into /tmp/anaconda-tb-identifier, where identifier is a random string. After a successful installation, these files are copied to the installed system under the directory /var/log/anaconda/. However, if the installation is unsuccessful, or if the inst.nosave=all or inst.nosave=logs options are used when booting the installation system, these logs only exist in the installation program’s RAM disk. This means that the logs are not saved permanently and are lost when the system is powered down. To store them permanently, copy the files to another system on the network or copy them to a mounted storage device such as a USB flash drive.
16.2.1. Creating pre-installation log files Copia collegamentoCollegamento copiato negli appunti!
You can set the inst.debug option to create log files before the installation process starts. These log files contain, for example, the current storage configuration.
Prerequisites
- The Red Hat Enterprise Linux boot menu is open.
Procedure
- Select the Install Red Hat Enterprise Linux option from the boot menu.
- Press the Tab key on BIOS-based systems or the e key on UEFI-based systems to edit the selected boot options.
Append
inst.debugto the options. For example:vmlinuz ... inst.debug-
Press the Enter key on your keyboard. The system stores the pre-installation log files in the
/tmp/pre-anaconda-logs/directory before the installation program starts. - Press Ctrl + Alt + F2 to switch to the console and access the log files.
Change to the
/tmp/pre-anaconda-logs/directory:# cd /tmp/pre-anaconda-logs/
16.2.2. Transferring installation log files to a USB drive Copia collegamentoCollegamento copiato negli appunti!
You can transfer installation log files to a USB drive to share it further.
Prerequisites
- You have backed up data from the USB drive.
- You are logged into a root account and you have access to the installation program’s temporary file system.
Procedure
- Press Ctrl + Alt + F2 to access a shell prompt on the system you are installing.
Connect a USB flash drive to the system and run the
dmesgcommand:# dmesgA log detailing all recent events is displayed. At the end of this log, a set of messages is displayed. For example:
[ 170.171135] sd 5:0:0:0: [sdb] Attached SCSI removable disk-
Note the name of the connected device. In the above example, it is
sdb. Navigate to the
/mntdirectory and create a new directory that serves as the mount target for the USB drive. This example uses the nameusb:# mkdir usbMount the USB flash drive onto the newly created directory. In most cases, you do not want to mount the whole drive, but a partition on it. Do not use the name
sdb, use the name of the partition you want to write the log files to. In this example, the namesdb1is used:# mount /dev/sdb1 /mnt/usbVerify that you mounted the correct device and partition by accessing it and listing its contents:
# cd /mnt/usb# lsCopy the log files to the mounted device.
# cp /tmp/*log /mnt/usbUnmount the USB flash drive. If you receive an error message that the target is busy, change your working directory to outside the mount (for example, /).
# umount /mnt/usb
16.2.3. Transferring installation log files over the network Copia collegamentoCollegamento copiato negli appunti!
Transfer RHEL installation log files over the network to analyze installation issues and troubleshoot problems. By using this method, you can collect diagnostic information from systems where local access is limited or when you need to share logs with support teams.
Prerequisites
- You are logged into a root account and you have access to the installation program’s temporary file system.
Procedure
- Press Ctrl + Alt + F2 to access a shell prompt on the system you are installing.
Switch to the
/tmpdirectory where the log files are located:# cd /tmpCopy the log files onto another system on the network using the
scpcommand:# scp *log user@address:pathReplace user with a valid user name on the target system, address with the target system’s address or host name, and path with the path to the directory where you want to save the log files. For example, if you want to log in as
johnon a system with an IP address of 192.168.0.122 and place the log files into the/home/john/logs/directory on that system, the command is as follows:# scp *log john@192.168.0.122:/home/john/logs/When connecting to the target system for the first time, the SSH client asks you to confirm that the fingerprint of the remote system is correct and that you want to continue:
The authenticity of host '192.168.0.122 (192.168.0.122)' can't be established. ECDSA key fingerprint is a4:60:76:eb:b2:d0:aa:23:af:3d:59:5c:de:bb:c4:42. Are you sure you want to continue connecting (yes/no)?- Type yes and press Enter to continue. Provide a valid password when prompted. The files are transferred to the specified directory on the target system.
16.3. Verifying boot media Copia collegamentoCollegamento copiato negli appunti!
Verifying ISO images helps to avoid problems that are sometimes encountered during installation. These sources include DVD and ISO images stored on a disk or NFS server. You can test the integrity of an ISO-based installation source before using it to install Red Hat Enterprise Linux.
Prerequisites
- You have accessed the Red Hat Enterprise Linux boot menu.
Procedure
- From the boot menu, select Test this media & install Red Hat Enterprise Linux 10 to test the boot media.
- The boot process tests the media and highlights any issues.
-
Optional: You can start the verification process by appending
rd.live.checkto the boot command line. For more information, see Customizing boot options.
16.4. Display settings and device drivers Copia collegamentoCollegamento copiato negli appunti!
Some video cards have trouble booting into the Red Hat Enterprise Linux graphical installation program. If the installation program does not run using its default settings, it attempts to run in a lower resolution mode. If that fails, the installation program attempts to run in text mode.
There are several possible solutions to resolve display issues, most of which involve specifying custom boot options:
For more information, see Console boot options.
| Solution | Description |
|---|---|
| Use the basic graphics mode | You can attempt to perform the installation using the basic graphics driver. To do this, either select Troubleshooting > Install Red Hat Enterprise Linux in basic graphics mode from the boot menu. |
| Use the text mode | You can attempt to perform the installation using the text mode. For details, refer to Installing RHEL in text mode. |
| Specify the display resolution manually | If the installation program fails to detect your screen resolution, you can override the automatic detection and specify it manually. To do this, append the inst.resolution=x option at the boot menu, where x is your display’s resolution, for example, 1024x768. For more information, see Customizing boot options. |
| Use an alternate video driver | You can attempt to specify a custom video driver, overriding the installation program’s automatic detection. |
| Perform the installation using RDP | If the above options fail, you can use a separate system to access the graphical installation over the network, using the Remote Desktop Protocol (RDP). |
- If specifying a custom video driver solves your problem, you should report it as a bug in Jira. The installation program should be able to detect your hardware automatically and use the appropriate driver without intervention.
Chapter 17. Troubleshooting after installation Copia collegamentoCollegamento copiato negli appunti!
The troubleshooting information in the following sections might be helpful when diagnosing issues after the installation process. The following sections are for all supported architectures. However, if an issue is for a particular architecture, it is specified at the start of the section.
17.1. Resuming an interrupted download attempt Copia collegamentoCollegamento copiato negli appunti!
You can resume interrupted RHEL ISO image downloads using the curl command to avoid re-downloading large files from the beginning. It saves time and bandwidth when network interruptions occur during the download process, ensuring efficient acquisition of installation media.
Prerequisites
- You have navigated to the Product Downloads section of the Red Hat Customer Portal at https://access.redhat.com/downloads, and selected the required variant, version, and architecture.
- You have right-clicked on the required ISO file, and selected Copy Link Location to copy the URL of the ISO image file to your clipboard.
Procedure
Download the ISO image from the new link. Add the
--continue-at -option to automatically resume the download:$ curl --output directory-path/filename.iso 'new_copied_link_location' --continue-at -Use a checksum utility such as sha256sum to verify the integrity of the image file after the download finishes:
$ sha256sum rhel-x.x-x86_64-dvd.iso `85a...46c rhel-x.x-x86_64-dvd.iso`Compare the output with reference checksums provided on the Red Hat Enterprise Linux Product Download web page.
- Resuming an interrupted download attempt
The following is an example of a
curlcommand for a partially downloaded ISO image:$ curl --output _rhel-x.x-x86_64-dvd.iso 'https://access.cdn.redhat.com//content/origin/files/sha256/85/85a...46c/rhel-x.x-x86_64-dvd.iso?_auth=141...963' --continue-at -
17.2. Disks are not detected Copia collegamentoCollegamento copiato negli appunti!
If the installation program cannot find a writable storage device to install to, it returns the following error message in the Installation Destination window: No disks detected. Please shut down the computer, connect at least one disk, and restart to complete installation.
Check the following items:
- Your system has at least one storage device attached.
- If your system uses a hardware RAID controller; verify that the controller is properly configured and working as expected. See your controller’s documentation for instructions.
- If you are installing into one or more iSCSI devices and there is no local storage present on the system, verify that all required LUNs are presented to the appropriate Host Bus Adapter (HBA).
If the error message is still displayed after rebooting the system and starting the installation process, the installation program failed to detect the storage. In many cases the error message is a result of attempting to install on an iSCSI device that is not recognized by the installation program.
In this scenario, you must perform a driver update before starting the installation. Check your hardware vendor’s website to determine if a driver update is available.
For more general information about driver updates, see the Updating drivers during installation.
You can also consult the Red Hat Hardware Compatibility List, available at https://access.redhat.com/ecosystem/search/#/category/Server.
17.3. Cannot boot with a RAID card Copia collegamentoCollegamento copiato negli appunti!
If you cannot boot your system after the installation, you might need to reinstall and repartition your system’s storage. Some BIOS types do not support booting from RAID cards. After you finish the installation and reboot the system for the first time, a text-based screen displays the boot loader prompt (for example, grub>) and a flashing cursor might be displayed. If this is the case, you must repartition your system and move your /boot partition and the boot loader outside of the RAID array. The /boot partition and the boot loader must be on the same drive. Once these changes have been made, you should be able to finish your installation and boot the system properly.
17.4. Graphical boot sequence is not responding Copia collegamentoCollegamento copiato negli appunti!
When rebooting your system for the first time after installation, the system might be unresponsive during the graphical boot sequence. If this occurs, a reset is required. In this scenario, the boot loader menu is displayed successfully, but selecting any entry and attempting to boot the system results in a halt. This usually indicates that there is a problem with the graphical boot sequence. To resolve the issue, you must disable the graphical boot by temporarily altering the setting at boot time before changing it permanently.
17.4.1. Disabling the graphical boot permanently Copia collegamentoCollegamento copiato negli appunti!
You can disable the graphical boot permanantly.
Procedure
- Log in to the root account on your system.
Use the grubby tool to find the default GRUB2 kernel:
# grubby --default-kernel/boot/vmlinuz-6.12.0-0.el10_0.x86_64Use the grubby tool to remove the
rhgbboot option from the default kernel in your GRUB2 configuration. For example:# grubby --remove-args="rhgb" --update-kernel /boot/vmlinuz-6.12.0-0.el10_0.x86_64-
Reboot the system. The graphical boot sequence is no longer used. If you want to enable the graphical boot sequence, follow the same procedure, replacing the
--remove-args="rhgb"parameter with the--args="rhgb"parameter. This restores therhgbboot option to the default kernel in your GRUB2 configuration.
17.4.2. Disabling the graphical boot temporarily Copia collegamentoCollegamento copiato negli appunti!
You can disable the graphical boot temporarily.
Procedure
-
Start your system and wait until the boot loader menu is displayed. If you set your boot timeout period to
0, press the Esc key to access it. - From the boot loader menu, use your cursor keys to highlight the entry you want to boot. Press the Tab key on BIOS-based systems or the e key on UEFI-based systems to edit the selected entry options.
-
In the list of options, find the kernel line - that is, the line beginning with the keyword linux. On this line, locate and delete
rhgb. Press F10 or Ctrl+X to boot your system with the edited options.
If the system started successfully, you can log in normally. However, if you do not disable graphical boot permanently, you must perform this procedure every time the system boots.
17.5. Setting the amount of memory manually if RAM is not recognized Copia collegamentoCollegamento copiato negli appunti!
In some scenarios, the kernel does not recognize all memory (RAM), which causes the system to use less memory than is installed. If the total amount of memory that your system reports does not match your expectations, it is likely that at least one of your memory modules is faulty. On BIOS-based systems, you can use the Memtest86+ utility to test your system’s memory.
Some hardware configurations have part of the system’s RAM reserved, and as a result, it is unavailable to the system. Some laptop computers with integrated graphics cards reserve a portion of memory for the GPU. For example, a laptop with 4 GiB of RAM and an integrated Intel graphics card shows roughly 3.7 GiB of available memory. Additionally, the kdump crash kernel dumping mechanism, which is enabled by default on most Red Hat Enterprise Linux systems, reserves some memory for the secondary kernel used in case of a primary kernel failure. This reserved memory is not displayed as available.
You can manually set the amount of memory.
Procedure
Check the amount of memory that your system currently reports in MiB:
$ free -mReboot your system and wait until the boot loader menu is displayed.
If your boot timeout period is set to
0, press the Esc key to access the menu.- From the boot loader menu, use your cursor keys to highlight the entry you want to boot, and press the Tab key on BIOS-based systems or the e key on UEFI-based systems to edit the selected entry options.
In the list of options, find the kernel line: that is, the line beginning with the keyword
linux. Append the following option to the end of this line:mem=xxM-
Replace
xxwith the amount of RAM you have in MiB. - Press F10 or Ctrl+X to boot your system with the edited options.
- Wait for the system to boot, log in, and open a command line.
Check the amount of memory that your system reports in MiB:
$ free -mIf the total amount of RAM displayed by the command now matches your expectations, make the change permanent:
# grubby --update-kernel=ALL --args="mem=xxM"
17.6. System is displaying signal 11 errors Copia collegamentoCollegamento copiato negli appunti!
A signal 11 error, commonly known as a segmentation fault, means that a program accessed a memory location that it was not assigned. A signal 11 error can occur due to a bug in one of the software programs that are installed, or faulty hardware. If you receive a signal 11 error during the installation process, verify that you are using the most recent installation images and prompt the installation program to verify them to ensure they are not corrupt.
For more information, see Verifying Boot media.
Faulty installation media (such as an improperly burned or scratched optical disk) are a common cause of signal 11 errors. Verify the integrity of the installation media before every installation. For information about obtaining the most recent installation media, refer to the Product Downloads page.
To perform a media check before the installation starts, append the rd.live.check boot option at the boot menu. If you performed a media check without any errors and you still have issues with segmentation faults, it usually indicates that your system encountered a hardware error. In this scenario, the problem is most likely in the system’s memory (RAM). This can be a problem even if you previously used a different operating system on the same computer without any errors.
For AMD and Intel 64-bit and 64-bit ARM architectures: On BIOS-based systems, you can use the Memtest86+ memory testing module included on the installation media to perform a thorough test of your system’s memory.
Other possible causes are beyond this document’s scope. Consult your hardware manufacturer’s documentation and also see the Red Hat Hardware Compatibility List, available online at https://access.redhat.com/ecosystem/search/#/category/Server.
17.7. Unable to IPL from network storage space on IBM Power Systems Copia collegamentoCollegamento copiato negli appunti!
If you experience difficulties when trying to IPL from Network Storage Space (NWSSTG), it is most likely due to a missing PReP partition. In this scenario, you must reinstall the system and create this partition during the partitioning phase or in the Kickstart file.
17.8. Using rescue mode Copia collegamentoCollegamento copiato negli appunti!
The installation program’s rescue mode is a minimal Linux environment that can be booted from the Red Hat Enterprise Linux DVD or other boot media. It contains command-line utilities for repairing a wide variety of issues. Rescue mode can be accessed from the Troubleshooting menu of the boot menu. In this mode, you can mount file systems as read-only, blacklist or add a driver provided on a driver disc, install or upgrade system packages, or manage partitions.
The installation program’s rescue mode is different from rescue mode (an equivalent to single-user mode) and emergency mode, which are provided as parts of the systemd system and service manager.
To boot into rescue mode, you must be able to boot the system using one of the Red Hat Enterprise Linux boot media, such as a minimal boot disc or USB drive, or a full installation DVD.
Advanced storage, such as iSCSI or zFCP devices, must be configured either using dracut boot options such as rd.zfcp= or root=iscsi: options, or in the CMS configuration file on 64-bit IBM Z. It is not possible to configure these storage devices interactively after booting into rescue mode. For information about dracut boot options, see the dracut.cmdline(7) man page on your system.
17.8.1. Booting into rescue mode Copia collegamentoCollegamento copiato negli appunti!
Boot your RHEL system into rescue mode to troubleshoot and repair system issues when the normal boot process fails. Rescue mode provides a minimal environment to diagnose problems, recover data, and fix configuration issues that prevent normal system operation.
Procedure
- Boot the system from either minimal boot media, or a full installation DVD or USB drive, and wait for the boot menu to be displayed.
-
From the boot menu, either select Troubleshooting > Rescue a Red Hat Enterprise Linux system option, or append the
inst.rescueoption to the boot command line. To enter the boot command line, press the Tab key on BIOS-based systems or the e key on UEFI-based systems. Optional: If your system requires a third-party driver provided on a driver disc to boot, append the
inst.dd=driver_nameto the boot command line:inst.rescue inst.dd=driver_nameOptional: If a driver that is part of the Red Hat Enterprise Linux distribution prevents the system from booting, append the
modprobe.blacklist=option to the boot command line:inst.rescue modprobe.blacklist=driver_namePress Enter (BIOS-based systems) or Ctrl+X (UEFI-based systems) to boot the modified option. Wait until the following message is displayed:
The rescue environment will now attempt to find your Linux installation and mount it under the directory: /mnt/sysroot/. You can then make any changes required to your system. Choose 1 to proceed with this step. You can choose to mount your file systems read-only instead of read-write by choosing 2. If for some reason this process does not work choose 3 to skip directly to a shell. 1) Continue 2) Read-only mount 3) Skip to shell 4) Quit (Reboot)If you select 1, the installation program attempts to mount your file system under the directory
/mnt/sysroot/. You are notified if it fails to mount a partition. If you select 2, it attempts to mount your file system under the directory/mnt/sysroot/, but in read-only mode. If you select 3, your file system is not mounted.For the system root, the installer supports two mount points
/mnt/sysimageand/mnt/sysroot. The/mnt/sysrootpath is used to mount/of the target system. Usually, the physical root and the system root are the same, so/mnt/sysrootis attached to the same file system as/mnt/sysimage. The only exceptions are rpm-ostree systems, where the system root changes based on the deployment. Then,/mnt/sysrootis attached to a subdirectory of/mnt/sysimage. Use/mnt/sysrootfor chroot.Select 1 to continue. Once your system is in rescue mode, a prompt appears on VC (virtual console) 1 and VC 2. Use the
Ctrl+Alt+F1key combination to access VC 1 andCtrl+Alt+F2to access VC 2:sh-4.2#Even if your file system is mounted, the default root partition while in rescue mode is a temporary root partition, not the root partition of the file system used during normal user mode (
multi-user.targetorgraphical.target). If you selected to mount your file system and it mounted successfully, you can change the root partition of the rescue mode environment to the root partition of your file system by executing the following command:sh-4.2# chroot /mnt/sysrootThis is useful if you need to run commands, such as
rpm, that require your root partition to be mounted as/. To exit the chroot environment, type exit to return to the prompt.If you selected 3, you can still try to mount a partition or LVM2 logical volume manually inside rescue mode by creating a directory, such as
/directory/, and typing the following command:sh-4.2# mount -t xfs /dev/mapper/VolGroup00-LogVol02 /directoryIn the above command,
/directory/is the directory that you created and/dev/mapper/VolGroup00-LogVol02is the LVM2 logical volume you want to mount. If the partition is a different type than XFS, replace the xfs string with the correct type (such as ext4).If you do not know the names of all physical partitions, use the following command to list them:
sh-4.2# fdisk -lIf you do not know the names of all LVM2 physical volumes, volume groups, or logical volumes, use the
pvdisplay,vgdisplayorlvdisplaycommands.
17.8.2. Using an SOS report in rescue mode Copia collegamentoCollegamento copiato negli appunti!
The sos report command-line utility collects configuration and diagnostic information, such as the kernel version, loaded modules, and system and service configuration files from the system. The utility output is stored in a tar archive in the /var/tmp/ directory. The sos report utility is useful for analyzing system errors and troubleshooting. You can capture an sos report output in rescue mode.
Prerequisites
- You have booted into rescue mode.
-
You have mounted the installed system
/ (root)partition in read-write mode. - You have contacted Red Hat Support about your case and received a case number.
Procedure
Change the root directory to the
/mnt/sysroot/directory:sh-4.2# chroot /mnt/sysroot/Execute
sos reportto generate an archive with system configuration and diagnostic information:sh-4.2# sos reportsos reportprompts you to enter your name and the case number you received from Red Hat Support. Use only letters and numbers because adding any of the following characters or spaces could render the report unusable:# % & { } \ < > > * ? / $ ~ ' " : @ + ` | =Optional: If you want to transfer the generated archive to a new location by using the network, it is necessary to have a network interface configured. In this scenario, use the dynamic IP addressing as no other steps are required. However, when using static addressing, enter the following command to assign an IP address (for example 10.13.153.64/23) to a network interface, for example dev eth0:
bash-4.2# ip addr add 10.13.153.64/23 dev eth0Exit the chroot environment:
sh-4.2# exitStore the generated archive in a new location, from where it can be easily accessible:
sh-4.2# cp /mnt/sysroot/var/tmp/sos report new_locationFor transferring the archive through the network, use the
scputility:sh-4.2# scp /mnt/sysroot/var/tmp/sos report username@hostname:sos report
17.8.3. Reinstalling the GRUB2 boot loader Copia collegamentoCollegamento copiato negli appunti!
In some scenarios, the GRUB2 boot loader is mistakenly deleted, corrupted, or replaced by other operating systems. You can reinstall GRUB2 on the master boot record (MBR) on AMD64 and Intel 64 systems with BIOS.
Prerequisites
- You have booted into rescue mode.
-
You have mounted the installed system
/ (root)partition in read-write mode. -
You have mounted the
/bootmount point in read-write mode.
Procedure
Change the root partition:
sh-4.2# chroot /mnt/sysroot/Reinstall the GRUB2 boot loader, where the
install_deviceblock device was installed:sh-4.2# /sbin/grub2-install install_deviceImportantRunning the
grub2-installcommand could lead to the machine being unbootable if all the following conditions apply:- The system is an AMD64 or Intel 64 with Extensible Firmware Interface (EFI).
- Secure Boot is enabled.
After you run the
grub2-installcommand, you cannot boot the AMD64 or Intel 64 systems that have Extensible Firmware Interface (EFI) and Secure Boot enabled. This issue occurs because thegrub2-installcommand installs an unsigned GRUB2 image that boots directly instead of using the shim application. When the system boots, the shim application validates the image signature, which when not found fails to boot the system.- Reboot the system.
17.8.4. Using dnf to add or remove a driver Copia collegamentoCollegamento copiato negli appunti!
Missing or malfunctioning drivers cause problems when booting the system. Rescue mode provides an environment in which you can add or remove a driver even when the system fails to boot. Wherever possible, use the dnf package manager to remove malfunctioning drivers or to add updated or missing drivers.
When you install a driver from a driver disc, the driver disc updates all initramfs images on the system to use this driver. If a problem with a driver prevents a system from booting, you cannot rely on booting the system from another initramfs image.
Prerequisites
- You have booted into rescue mode.
- You have mounted the installed system in read-write mode.
Procedure
To add a new driver using
dnf:-
Make the RPM package that contains the driver available. For example, mount a CD or USB flash drive and copy the RPM package to a location of your choice under
/mnt/sysroot/, for example:/mnt/sysroot/root/drivers/. Change the root directory to
/mnt/sysroot/:sh-4.2# chroot /mnt/sysroot/Use the
dnf installcommand to install the driver package. For example, run the following command to install thexorg-x11-drv-wacomdriver package from/root/drivers/:sh-4.2# dnf install /root/drivers/xorg-x11-drv-wacom-0.23.0-6.el7.x86_64.rpmNoteThe
/root/drivers/directory in this chroot environment is the/mnt/sysroot/root/drivers/directory in the original rescue environment.Exit the chroot environment:
sh-4.2# exit
-
Make the RPM package that contains the driver available. For example, mount a CD or USB flash drive and copy the RPM package to a location of your choice under
To remove a driver by using
dnf:Change the root directory to the
/mnt/sysroot/directory:sh-4.2# chroot /mnt/sysroot/Use the
dnf removecommand to remove the driver package. For example, to remove thexorg-x11-drv-wacomdriver package, run:sh-4.2# dnf remove xorg-x11-drv-wacomExit the chroot environment:
sh-4.2# exitIf you cannot remove a malfunctioning driver for some reason, you can instead blocklist the driver so that it does not load at boot time.
- When you have finished removing drivers, reboot the system.
17.9. ip= boot option returns an error Copia collegamentoCollegamento copiato negli appunti!
Using the ip= boot option format ip=[ip address] for example, ip=192.168.1.1 returns the error message Fatal for argument 'ip=[insert ip here]'\n sorry, unknown value [ip address] refusing to continue.
In previous releases of Red Hat Enterprise Linux, the boot option format was:
ip=192.168.1.15 netmask=255.255.255.0 gateway=192.168.1.254 nameserver=192.168.1.250 hostname=myhost1
However, in Red Hat Enterprise Linux 10, the boot option format is:
ip=192.168.1.15::192.168.1.254:255.255.255.0:myhost1::none: nameserver=192.168.1.250
To resolve the issue, use the format: ip=ip::gateway:netmask:hostname:interface:none where:
-
ipspecifies the client ip address. You can specify IPv6 addresses in square brackets, for example,[2001:DB8::1]. -
gatewayis the default gateway. IPv6 addresses are also accepted. -
netmaskis the netmask to be used. This can be either a full netmask, for example, 255.255.255.0, or a prefix, for example,64. -
hostnameis the host name of the client system. This parameter is optional.
17.10. Cannot boot into the graphical installation on iLO or iDRAC devices Copia collegamentoCollegamento copiato negli appunti!
The graphical installer for a remote ISO installation on Integrated Lights-Out (iLO) or Integrated Dell Remote Access Controller (iDRAC) devices may not be available due to a slow internet connection. To proceed with the installation, you can choose one of the following ways:
Procedure
Avoid the timeout. To do so:
- Press the key in case of BIOS usage, or the key in case of UEFI usage when booting from an installation media. That will allow you to modify the kernel command line arguments.
To proceed with the installation, append the
rd.live.ram=1and press in case of BIOS usage, or in case of UEFI usage.This might take longer to load the installation program.
Another option to extend the loading time for the graphical installer is to set the
inst.xtimeoutkernel argument in seconds.inst.xtimeout=N- You can install the system in text mode. For more details, see Installing RHEL in text mode.
- In the remote management console, such as iLO or iDRAC, instead of a local media source, use the direct URL to the installation ISO file from the Download center on the Red Hat Customer Portal. You must be logged in to access this section.
17.11. Rootfs image is not initramfs Copia collegamentoCollegamento copiato negli appunti!
If you get the following message on the console during booting the installer, the transfer of the installer initrd.img might have had errors:
[ ...] rootfs image is not initramfs
To resolve this issue, download initrd again or run the sha256sum with initrd.img and compare it with the checksum stored in the .treeinfo file on the installation medium, for example,
$ sha256sum dvd/images/pxeboot/initrd.img
fdb1a70321c06e25a1ed6bf3d8779371b768d5972078eb72b2c78c925067b5d8 dvd/images/pxeboot/initrd.img
To view the checksum in .treeinfo:
$ grep sha256 dvd/.treeinfo
images/efiboot.img = sha256:d357d5063b96226d643c41c9025529554a422acb43a4394e4ebcaa779cc7a917
images/install.img = sha256:8c0323572f7fc04e34dd81c97d008a2ddfc2cfc525aef8c31459e21bf3397514
images/pxeboot/initrd.img = sha256:fdb1a70321c06e25a1ed6bf3d8779371b768d5972078eb72b2c78c925067b5d8
images/pxeboot/vmlinuz = sha256:b9510ea4212220e85351cbb7f2ebc2b1b0804a6d40ccb93307c165e16d1095db
Despite having correct initrd.img, if you get the following kernel messages during booting the installer, often a boot parameter is missing or mis-spelled, and the installer could not load stage2, typically referred to by the inst.repo= parameter, providing the full installer initial ramdisk for its in-memory root file system:
[ ...] No file system could mount root, tried:
[ ...] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[ ...] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.0.el10_0.s390x #1
[ ...] ...
[ ...] Call Trace:
[ ...] ([<...>] show_trace+0x.../0x...)
[ ...] [<...>] show_stack+0x.../0x...
[ ...] [<...>] panic+0x.../0x...
[ ...] [<...>] mount_block_root+0x.../0x...
[ ...] [<...>] prepare_namespace+0x.../0x...
[ ...] [<...>] kernel_init_freeable+0x.../0x...
[ ...] [<...>] kernel_init+0x.../0x...
[ ...] [<...>] kernel_thread_starter+0x.../0x...
[ ...] [<...>] kernel_thread_starter+0x.../0x…
To resolve this issue, check
-
if the installation source specified is correct on the kernel command line (
inst.repo=) or in the kickstart file - the network configuration is specified on the kernel command line (if the installation source is specified as network)
- the network installation source is accessible from another system
Chapter 18. Boot options reference Copia collegamentoCollegamento copiato negli appunti!
You can use the boot options to modify the default behavior of the installation program.
18.1. Installation source boot options Copia collegamentoCollegamento copiato negli appunti!
You can configure installation source boot options to specify where RHEL installation files are located. These options enable installations from various sources including local media, network servers, and additional repositories, providing flexibility in deployment scenarios.
- inst.repo=
The
inst.repo=boot option specifies the installation source, that is, the location providing the package repositories and a valid.treeinfofile that describes them. For example:inst.repo=cdrom. The target of theinst.repo=option must be one of the following installation media:-
an installable tree, which is a directory structure containing the installation program images, packages, and repository data as well as a valid
.treeinfofile - a DVD (a physical disk present in the system DVD drive)
an ISO image of the full Red Hat Enterprise Linux installation DVD, placed on a disk or a network location accessible to the system.
Use the
inst.repo=boot option to configure different installation methods by using different formats. The following table contains details of theinst.repo=boot option syntax:Expand Table 18.1. Types and format for the inst.repo= boot option and installation source Source type Boot option format Source format CD/DVD drive
inst.repo=cdrom:<device>Installation DVD as a physical disk. [a]
Mountable device (HDD and USB stick)
inst.repo=hd:<device>:/<path>Image file of the installation DVD.
NFS Server
inst.repo=nfs:[options:]<server>:/<path>Image file of the installation DVD, or an installation tree, which is a complete copy of the directories and files on the installation DVD. [b]
HTTP Server
inst.repo=http://<host>/<path>Installation tree that is a complete copy of the directories and files on the installation DVD.
HTTPS Server
inst.repo=https://<host>/<path>FTP Server
inst.repo=ftp://<username>:<password>@<host>/<path>HMC
inst.repo=hmc[a] If device is left out, installation program automatically searches for a drive containing the installation DVD.[b] The NFS Server option uses NFS protocol version 3 by default. To use a different version, addnfsvers=Xto options, replacing X with the version number that you want to use.
-
an installable tree, which is a directory structure containing the installation program images, packages, and repository data as well as a valid
Set disk device names with the following formats:
-
Kernel device name, for example
/dev/sda1orsdb2 -
File system label, for example
LABEL=FlashorLABEL=RHEL8 File system UUID, for example
UUID=8176c7bf-04ff-403a-a832-9557f94e61dbNon-alphanumeric characters must be represented as
\xNN, where NN is the hexadecimal representation of the character. For example,\x20is a white space(" ").- inst.addrepo=
Use the
inst.addrepo=boot option to add an additional repository that you can use as another installation source along with the main repository (inst.repo=). You can use theinst.addrepo=boot option multiple times during one boot. The following table contains details of theinst.addrepo=boot option syntax.NoteThe
REPO_NAMEis the name of the repository and is required in the installation process. These repositories are only used during the installation process; they are not installed on the installed system.Expand Table 18.2. Installation sources and boot option format Installation source Boot option format Additional information Installable tree at a URL
inst.addrepo=REPO_NAME,[http,https,ftp]://<host>/<path>Looks for the installable tree at a given URL.
Installable tree at an NFS path
inst.addrepo=REPO_NAME,nfs://<server>:/<path>Looks for the installable tree at a given NFS path. A colon is required after the host. The installation program passes everything after
nfs://directly to the mount command instead of parsing URLs according to RFC 2224.Installable tree in the installation environment
inst.addrepo=REPO_NAME,file://<path>Looks for the installable tree at the given location in the installation environment. To use this option, the repository must be mounted before the installation program attempts to load the available software groups. The benefit of this option is that you can have multiple repositories on one bootable ISO, and you can install both the main repository and additional repositories from the ISO. The path to the additional repositories is
/run/install/source/REPO_ISO_PATH. Additionally, you can mount the repository directory in the%presection in the Kickstart file. The path must be absolute and start with/, for exampleinst.addrepo=REPO_NAME,file:///<path>Disk
inst.addrepo=REPO_NAME,hd:<device>:<path>Mounts the given <device> partition and installs from the ISO that is specified by the <path>. If the <path> is not specified, the installation program looks for a valid installation ISO on the <device>. This installation method requires an ISO with a valid installable tree.
- inst.stage2=
The
inst.stage2=boot option specifies the location of the installation program’s runtime image. This option expects the path to a directory that contains a valid.treeinfofile and reads the runtime image location from the.treeinfofile. If the.treeinfofile is not available, the installation program attempts to load the image fromimages/install.img.When you do not specify the
inst.stage2option, the installation program attempts to use the location specified with theinst.repooption.You can use this option when you want to manually specify the installation source in the installation program at a later time. For example, when you want to select the Content Delivery Network (CDN) as an installation source. The installation DVD and Boot ISO already contain a suitable
inst.stage2option to boot the installation program from the respective ISO.If you want to specify an installation source, use the
inst.repo=option instead.NoteBy default, the
inst.stage2=boot option is used on the installation media and is set to a specific label; for example,inst.stage2=hd:LABEL=RHEL-x-0-0-BaseOS-x86_64. If you modify the default label of the file system that contains the runtime image, or if you use a customized procedure to boot the installation system, verify that theinst.stage2=boot option is set to the correct value.- inst.noverifyssl
Use the
inst.noverifysslboot option to prevent the installer from verifying SSL certificates for all HTTPS connections with the exception of additional Kickstart repositories, where--noverifysslcan be set per repository.For example, if your remote installation source is using self-signed SSL certificates, the
inst.noverifysslboot option enables the installer to complete the installation without verifying the SSL certificates. For example, when specifying the source by usinginst.stage2=:inst.stage2=https://hostname/path_to_install_image/ inst.noverifysslAnd for example when specifying the source by using
inst.repo=:inst.repo=https://hostname/path_to_install_repository/ inst.noverifyssl- inst.stage2.all
Use the
inst.stage2.allboot option to specify several HTTP, HTTPS, or FTP sources. You can use theinst.stage2=boot option multiple times with theinst.stage2.alloption to fetch the image from the sources sequentially until one succeeds. For example:inst.stage2.all inst.stage2=http://hostname1/path_to_install_tree/ inst.stage2=http://hostname2/path_to_install_tree/ inst.stage2=http://hostname3/path_to_install_tree/- inst.dd=
-
The
inst.dd=boot option is used to perform a driver update during the installation. - inst.repo=hmc
This option eliminates the requirement of an external network setup and expands the installation options. When booting from a Binary DVD, the installation program prompts you to enter additional kernel parameters. To set the DVD as an installation source, append the
inst.repo=hmcoption to the kernel parameters. The installation program then enables support element (SE) and hardware management console (HMC) file access, fetches the images for stage2 from the DVD, and provides access to the packages on the DVD for software selection.ImportantTo use the
inst.repoboot option, ensure the user is configured with a minimum of Privilege Class B.- inst.proxy=
This boot option is used when performing an installation from a HTTP, HTTPS, and FTP protocol in the following form:
[PROTOCOL://][USERNAME[:PASSWORD]@]HOST[:PORT] For example: http://proxyuser:proxypassword@10.1.2.3:3128- inst.nosave=
Use the
inst.nosave=boot option to control the installation logs and related files that are not saved to the installed system, for exampleinput_ks,output_ks,all_ks,logsandall. You can combine multiple values separated by a comma. For example,inst.nosave=input_ks,logs
NoteThe
inst.nosaveboot option is used for excluding files from the installed system that cannot be removed by a Kickstart %post script, such as logs and input/output Kickstart results.input_ks- Disables the ability to save the input Kickstart results.
output_ks- Disables the ability to save the output Kickstart results generated by the installation program.
all_ks- Disables the ability to save the input and output Kickstart results.
logs- Disables the ability to save all installation logs.
all- Disables the ability to save all Kickstart results, and all logs.
- inst.multilib
-
Use the
inst.multilibboot option to set DNF’smultilib_policyto all, instead of best. - inst.memcheck
-
The
inst.memcheckboot option performs a check to verify that the system has enough RAM to complete the installation. If there is not enough RAM, the installation process is stopped. The system check is approximate and memory usage during installation depends on the package selection, user interface, for example graphical or text, and other parameters. - inst.nomemcheck
-
The
inst.nomemcheckboot option does not perform a check to verify if the system has enough RAM to complete the installation. Any attempt to perform the installation with less than the minimum amount of memory is unsupported, and might result in the installation process failing.
18.2. Network boot options Copia collegamentoCollegamento copiato negli appunti!
You can configure network boot options to enable RHEL installation over network connections. These options allow you to set up network interfaces, specify IP addresses, configure bonding, bridging, and VLANs for network-based installations and remote system deployment.
Initialize the network with the dracut tool. For a complete list of dracut options, see the dracut.cmdline(7) man page on your system.
- ip=
Use the
ip=boot option to configure one or more network interfaces. To configure multiple interfaces, use one of the following methods-
use the
ipoption multiple times, once for each interface; to do so, use therd.neednet=1option, and specify a primary boot interface using thebootdevoption. use the
ipoption once, and then use Kickstart to set up further interfaces. While the configuration with ip= option is applied early in the installation process, the configuration defined in kickstart is applied at a later stage of installation, after the start of the installation program.This option accepts several different formats. The following tables contain information about the most common options. In the following tables:
-
The
ipparameter specifies the client IP address andIPv6requires square brackets, for example 192.0.2.1 or [2001:db8::99]. -
The
gatewayparameter is the default gateway.IPv6requires square brackets. -
The
netmaskparameter is the netmask to be used. This can be either a full netmask (for example, 255.255.255.0) or a prefix (for example, 64). The
hostnameparameter is the host name of the client system. This parameter is optional.Expand Table 18.3. Boot option formats to configure the network interface Boot option format Configuration method ip=methodAutomatic configuration of all interfaces.
ip=interface:methodAutomatic configuration of a specific interface
ip=ip::gateway:netmask:hostname:interface:noneStatic configuration, for example, IPv4:
ip=192.0.2.1::192.0.2.254:255.255.255.0:server.example.com:enp1s0:noneIPv6:
ip=[2001:db8::1]::[2001:db8::fffe]:64:server.example.com:enp1s0:noneip=ip::gateway:netmask:hostname:interface:method:mtuAutomatic configuration of a specific interface with an override
-
use the
- Configuration methods for the automatic interface
The method
automatic configuration of a specific interface with an overrideopens the interface by using the specified method of automatic configuration, such asdhcp, but overrides the automatically obtained IP address, gateway, netmask, host name or other specified parameters. All parameters are optional, so specify only the parameters that you want to override. For the values of themethodparameter, see thedracut.cmdline(7)man page on your system.Note-
If you use a boot option that requires network access, such as
inst.ks=http://host/path, without specifying theipoption, the default value of theipoption isip=dhcp.. -
To connect to an iSCSI target automatically, activate a network device for accessing the target by using the
ip=ibftboot option.
nameserver=- Thenameserver=option specifies the address of the name server. You can use this option multiple times.NoteThe
ip=parameter requires square brackets. However, an IPv6 address does not work with square brackets. An example of the correct syntax to use for an IPv6 address isnameserver=2001:db8::1.-
bootdev=- Thebootdev=option specifies the boot interface. This option is mandatory if you use more than oneipoption. ifname=- Theifname=options assigns an interface name to a network device with a given MAC address. You can use this option multiple times. The syntax isifname=interface:MAC. For example:ifname=eth0:01:23:45:67:89:abNoteThe
ifname=option is the only supported way to set custom network interface names during installation.-
inst.dhcpclass=- Theinst.dhcpclass=option specifies the DHCP vendor class identifier. Thedhcpdservice recognizes this value asvendor-class-identifier. The default value isanaconda-$(uname -srm). To ensure theinst.dhcpclass=option is applied correctly, request network activation during the early stage of installation by also adding theipoption. -
inst.waitfornet=- Using theinst.waitfornet=SECONDSboot option causes the installation system to wait for network connectivity before installation. The value given in theSECONDSargument specifies the maximum amount of time to wait for network connectivity before timing out and continuing the installation process even if network connectivity is not present. vlan=- Use thevlan=option to configure a Virtual LAN (VLAN) device on a specified interface with a given name. The syntax isvlan=name:interface. For example:vlan=vlan5:enp0s1This configures a VLAN device named
vlan5on theenp0s1interface. The name can take the following forms:-
VLAN_PLUS_VID:
vlan0005 -
VLAN_PLUS_VID_NO_PAD:
vlan5 -
DEV_PLUS_VID:
enp0s1.0005 -
DEV_PLUS_VID_NO_PAD:
enp0s1.5
-
VLAN_PLUS_VID:
bond=- Use thebond=option to configure a bonding device with the following syntax:bond=name[:interfaces][:options]. Replace name with the bonding device name, interfaces with a comma-separated list of physical (Ethernet) interfaces, and options with a comma-separated list of bonding options. For example:bond=bond0:enp0s1,enp0s2:mode=active-backup,tx_queues=32,downdelay=5000For a list of available options, execute the
modinfo bondingcommand.bridge=- Use thebridge=option to configure a bridge device with the following syntax:bridge=name:interfaces. Replace name with the desired name of the bridge device and interfaces with a comma-separated list of physical (Ethernet) devices to be used as underlying interfaces in the bridge device. For example:bridge=bridge0:enp0s1,enp0s2
-
If you use a boot option that requires network access, such as
18.3. Console boot options Copia collegamentoCollegamento copiato negli appunti!
You can configure boot options for your console, monitor display, and keyboard to customize the installation process.
- console=
-
Use the
console=option to specify a device that you want to use as the primary console. For example, to use a console on the first serial port, useconsole=ttyS0. When using theconsole=argument, the installation starts with a text UI. If you must use theconsole=option multiple times, the boot message is displayed on all specified consoles. However, the installation program uses only the last specified console. For example, if you specifyconsole=ttyS0 console=ttyS1, the installation program usesttyS1. - inst.lang=
-
Use the
inst.lang=option to set the language that you want to use during the installation. To view the list of locales, enter the commandlocale -a | grep _or thelocalectl list-locales | grep _command. - inst.geoloc=
Use the
inst.geoloc=option to configure geolocation usage in the installation program. Geolocation is used to preset the language and time zone, and uses the following syntax:inst.geoloc=value. Thevaluecan be any of the following parameters:-
Disable geolocation:
inst.geoloc=0 -
Use the Fedora GeoIP API:
inst.geoloc=provider_fedora_geoip. This option is deprecated. -
Use the Hostip.info GeoIP API:
inst.geoloc=provider_hostip. This option is deprecated.
-
Disable geolocation:
- inst.keymap=
-
Use the
inst.keymap=option to specify the keyboard layout to use for the installation. - inst.cmdline
-
Use the
inst.cmdlineoption to force the installation program to run in command-line mode. This mode does not allow any interaction, and you must specify all options in a Kickstart file or on the command line. - inst.graphical
-
Use the
inst.graphicaloption to force the installation program to run in graphical mode. The graphical mode is the default. - inst.text
-
Use the
inst.textoption to force the installation program to run in text mode instead of graphical mode. - inst.noninteractive
-
Use the
inst.noninteractiveboot option to run the installation program in a non-interactive mode. User interaction is not permitted in the non-interactive mode, andinst.noninteractiveyou can use theinst.nointeractiveoption with a graphical or text installation. When you use theinst.noninteractiveoption in text mode, it behaves the same as theinst.cmdlineoption.
It only makes sense to use the inst.noninteractive option when performing a Kickstart installation.
- inst.resolution=
-
Use the
inst.resolution=option to specify the screen resolution in graphical mode. The format isNxM, where N is the screen width and M is the screen height (in pixels). The recommended resolution is 1024x768. - inst.rdp
-
Use the
inst.rdpoption to run the graphical installation using remote desktop protocol. If no RDP username (by usinginst.rdpuser=) or password (by usinginst.rdp.password=) are specified, the installation program asks users to provide interactively. This option only applies if used together with theinst.rdpoption. - inst.rdp.password=
-
Use the
inst.rdp.password=option to set a password on the RDP server that is used by the installation program. - modprobe.blacklist=
Use the
modprobe.blacklist=option to blocklist or completely disable one or more drivers. Drivers (modules) that you disable using this option cannot load when the installation starts. After the installation finishes, the installed system retains these settings. You can find a list of the blocklisted drivers in the/etc/modprobe.d/directory. Use a comma-separated list to disable multiple drivers. For example:modprobe.blacklist=ahci,firewire_ohciNoteYou can use
modprobe.blacklistin combination with the different command line options. For example, use it with theinst.ddoption to ensure that an updated version of an existing driver is loaded from a driver update disc:modprobe.blacklist=virtio_blk- inst.sshd
Use the
inst.sshdoption to start thesshdservice during installation, so that you can connect to the system during the installation using SSH, and monitor the installation progress. For more information about SSH, see thessh(1)man page on your system. By default, thesshdservice is automatically started only on the 64-bit IBM Z architecture. On other architectures,sshdis not started unless you use theinst.sshdoption.NoteDuring installation, the root account has no password by default. You can set a root password during installation with the
sshpwKickstart command.- inst.kdump_addon=
-
Use the
inst.kdump_addon=option to enable or disable the Kdump configuration screen (add-on) in the installation program. This screen is enabled by default; useinst.kdump_addon=offto disable it. Disabling the add-on disables the Kdump screens in both the graphical and text-based interface as well as the%addon com_redhat_kdumpKickstart command.
18.4. Debug boot options Copia collegamentoCollegamento copiato negli appunti!
You can use the following options when debugging issues to troubleshoot and fix issues.
- inst.rescue
-
Use the
inst.rescueoption to run the rescue environment for diagnosing and fixing systems. - inst.updates=
Use the
inst.updates=option to specify the location of theupdates.imgfile that you want to apply during installation. Theupdates.imgfile can be derived from one of several sources.Expand Table 18.4. updates.img file sources Source Description Example Updates from a network
Specify the network location of
updates.img. This does not require any modification to the installation tree. To use this method, edit the kernel command line to includeinst.updates.inst.updates=http://website.com/path/to/updates.img.Updates from a disk image
Save an
updates.imgon a USB key.inst.updates=sda1:/images/updates.imgfor an updates image located in theimagesdirectory on thesda1device orinst.updates=UUID=b4234403-dafb-44c1-b878-4d57b40c9843:/updates.imgfor an update image located in the root directory of a partition identified by its UUID.Updates from an installation tree
If you are using a CD, disk, HTTP, HTTPS, or FTP installation, save the
updates.imgin the installation tree so that all installations can detect the.imgfile. The file name must beupdates.img.For NFS installs, save the file in the
images/directory, or in theRHupdates/directory.- inst.syslog=
-
Sends log messages to the
syslogprocess on the specified host when the installation starts. You can useinst.syslog=<host>[:port]only if the remotesyslogprocess is configured to accept incoming connections. - inst.virtiolog=
-
Use the
inst.virtiolog=<name>option to specify which virtio port (a character device at/dev/virtio-ports/<name>) to use for forwarding logs. The default value isorg.fedoraproject.anaconda.log.0. - rd.live.ram
-
Copies the stage 2 image in
images/install.imginto RAM. Note that this increases the memory required for installation by the size of the image, which may result in an additional requirement of approximately 1 GiB of RAM or more. - inst.nokill
- Prevent the installation program from rebooting when a fatal error occurs, or at the end of the installation process. Use it capture installation logs which would be otherwise lost upon reboot.
- inst.noshell
- Prevent a shell on terminal session 2 (tty2) including tmux window 2, during installation.
- inst.notmux
- Prevent the use of tmux during installation. The output is generated without terminal control characters and is meant for non-interactive uses.
18.5. Storage boot options Copia collegamentoCollegamento copiato negli appunti!
You can specify the following options to customize booting from a storage device.
- inst.nompath
Disables support for multipath devices. Use this option only if your system has a false-positive that incorrectly identifies a normal block device as a multipath device.
WarningUse this option with caution. Do not use this option with multipath hardware. Using this option to install to a single path of a multipath device is not supported.
- inst.gpt
-
Prefer creation of GPT disk labels. This option is deprecated and will be removed in future releases. Use
inst.disklabel=gptinstead. - inst.disklabel=
-
Prefer creation of the specified disk label type. Specify
gptto prefer creation of GPT disk labels (default). Specifymbrto prefer creation of MBR disk labels if supported. - inst.wait_for_disks=
-
Use the
inst.wait_for_disks=option to specify the number of seconds installation program to wait for disk devices to appear at the beginning of the installation. Use this option when you use theOEMDRV-labeleddevice to automatically load the Kickstart file or the kernel drivers but the device takes a longer time to appear during the boot process. By default, the installation program waits for5seconds. Use0seconds to minimize the delay. - inst.nonibftiscsiboot
-
The
inst.nonibftiscsibootoption enables placement of the boot loader oniSCSIdevices that are not configured through theiSCSIboot firmware table (iBFT).