Red Hat Enterprise Linux 7

Installation Guide

Installing Red Hat Enterprise Linux 7 on all architectures

Red Hat Customer Content Services

Petr Bokoč

Red Hat Customer Content Services

Clayton Spicer

Red Hat Customer Content Services

Tomáš Čapek

Red Hat Customer Content Services

Barbora Ančincová

Red Hat Customer Content Services

Yoana Ruseva

Red Hat Customer Content Services

Brian Exelbierd

Red Hat Customer Content Services

Jack Reed

Red Hat Customer Content Services

Radek Bíba

Red Hat Customer Content Services

Zac Dover

Red Hat Customer Content Services

Abstract

This manual explains how to boot the Red Hat Enterprise Linux 7 installation program (Anaconda) and how to install Red Hat Enterprise Linux 7 on AMD64 and Intel 64 systems, 64-bit IBM Power Systems servers, and IBM System z. It also covers advanced installation methods such as Kickstart installations, PXE installations, and installations over VNC. Finally, it describes common post-installation tasks and explains how to troubleshoot installation problems.
Information on installing Red Hat Enterprise Linux Atomic Host can be found in the Red Hat Enterprise Linux Atomic Host Installation and Configuration Guide.
1. Getting Started
1.1. Graphical Installation
1.2. Remote Installation
1.3. Automated Installation
2. Downloading Red Hat Enterprise Linux
3. Making Media
3.1. Making an Installation CD or DVD
3.2. Making Installation USB Media
3.2.1. Making Installation USB Media on Linux
3.2.2. Making Installation USB Media on Windows
3.2.3. Making Installation USB Media on Mac OS X
3.3. Preparing Installation Sources
3.3.1. Installation Source on a DVD
3.3.2. Installation Source on a Hard Drive
3.3.3. Installation Source on a Network
I. AMD64 and Intel 64 - Installation and Booting
4. Quick Installation Guide
4.1. Interactive Installation
4.2. Automatic Installation
5. Planning for Installation on AMD64 and Intel 64 Systems
5.1. Upgrade or Install?
5.2. Is Your Hardware Compatible?
5.3. Supported Installation Targets
5.4. System Specifications List
5.5. Disk Space and Memory Requirements
5.6. RAID and Other Disk Devices
5.6.1. Hardware RAID
5.6.2. Software RAID
5.6.3. USB Disks
5.6.4. Considerations for Intel BIOS RAID Sets
5.6.5. Considerations for Intel BIOS iSCSI Remote Boot
5.7. Choose an Installation Boot Method
5.8. Automating the Installation with Kickstart
5.9. Using a Beta Release with UEFI Secure Boot
6. Updating Drivers During Installation on AMD64 and Intel 64 Systems
6.1. Limitations of Driver Updates During Installation
6.2. Preparing for a Driver Update During Installation
6.2.1. Preparing to Use a Driver Update Image File on Local Storage
6.2.2. Preparing a Driver Disc
6.3. Performing a Driver Update During Installation
6.3.1. Automatic Driver Update
6.3.2. Assisted Driver Update
6.3.3. Manual Driver Update
6.3.4. Blacklisting a Driver
7. Booting the Installation on AMD64 and Intel 64 Systems
7.1. Starting the Installation Program
7.1.1. Booting the Installation on AMD64 and Intel 64 Systems from Physical Media
7.1.2. Booting the Installation on AMD64 and Intel 64 Systems from the Network Using PXE
7.2. The Boot Menu
8. Installing Using Anaconda
8.1. Introduction to Anaconda
8.2. Consoles and Logging During the Installation
8.2.1. Accessing Consoles
8.2.2. Saving Screenshots
8.3. Installing in Text Mode
8.4. Installing in the Graphical User Interface
8.5. Welcome Screen and Language Selection
8.6. The Installation Summary Screen
8.7. Date & Time
8.8. Language Support
8.9. Keyboard Configuration
8.10. Security Policy
8.11. Installation Source
8.12. Network & Hostname
8.12.1. Edit Network Connections
8.12.2. Advanced Network Interfaces
8.13. Software Selection
8.13.1. Core Network Services
8.14. Installation Destination
8.14.1. Boot Loader Installation
8.14.2. Encrypt Partitions
8.14.3. Reclaim Disk Space
8.14.4. Manual Partitioning
8.15. Storage Devices
8.15.1. The Storage Devices Selection Screen
8.16. Kdump
8.17. Begin Installation
8.18. The Configuration Menu and Progress Screen
8.18.1. Set the Root Password
8.18.2. Create a User Account
8.19. Installation Complete
9. Troubleshooting Installation on AMD64 and Intel 64 Systems
9.1. Trouble Beginning the Installation
9.1.1. System Does Not Boot When UEFI Secure Boot Is Enabled
9.1.2. Problems with Booting into the Graphical Installation
9.1.3. Serial Console Not Detected
9.2. Trouble During the Installation
9.2.1. No Disks Detected
9.2.2. Reporting Traceback Messages
9.2.3. Creating Pre-installation Log Files
9.3. Problems After Installation
9.3.1. Are You Unable to Boot With Your RAID Card?
9.3.2. Trouble With the Graphical Boot Sequence
9.3.3. Booting into a Graphical Environment
9.3.4. No Graphical User Interface Present
9.3.5. X Server Crashing After User Logs In
9.3.6. Is Your RAM Not Being Recognized?
9.3.7. Is Your System Displaying Signal 11 Errors?
II. IBM Power Systems - Installation and Booting
10. Planning for Installation on IBM Power Systems
10.1. Upgrade or Install?
10.2. Is Your Hardware Compatible?
10.3. IBM Installation Tools
10.4. Preparation for IBM Power Systems Servers
10.5. Supported Installation Targets
10.6. System Specifications List
10.7. Disk Space and Memory Requirements
10.8. RAID and Other Disk Devices
10.8.1. Hardware RAID
10.8.2. Software RAID
10.8.3. USB Disks
10.9. Choose an Installation Boot Method
10.10. Automating the Installation with Kickstart
11. Updating Drivers During Installation on IBM Power Systems
11.1. Preparing for a Driver Update During Installation
11.1.1. Preparing to Use a Driver Update Image File on Local Storage
11.1.2. Preparing a Driver Disc
11.2. Performing a Driver Update During Installation
11.2.1. Automatic Driver Update
11.2.2. Assisted Driver Update
11.2.3. Manual Driver Update
11.2.4. Blacklisting a Driver
12. Booting the Installation on IBM Power Systems
12.1. The Boot Menu
12.2. Installing from a Different Source
12.3. Booting from the Network Using an Installation Server
13. Installing Using Anaconda
13.1. Introduction to Anaconda
13.2. Consoles and Logging During the Installation
13.2.1. Accessing Consoles
13.2.2. Saving Screenshots
13.3. Installing in Text Mode
13.4. Using the HMC vterm
13.5. Installing in the Graphical User Interface
13.6. Welcome Screen and Language Selection
13.7. The Installation Summary Screen
13.8. Date & Time
13.9. Language Support
13.10. Keyboard Configuration
13.11. Security Policy
13.12. Installation Source
13.13. Network & Hostname
13.13.1. Edit Network Connections
13.13.2. Advanced Network Interfaces
13.14. Software Selection
13.14.1. Core Network Services
13.15. Installation Destination
13.15.1. Boot Loader Installation
13.15.2. Encrypt Partitions
13.15.3. Reclaim Disk Space
13.15.4. Manual Partitioning
13.16. Storage Devices
13.16.1. The Storage Devices Selection Screen
13.17. Kdump
13.18. Begin Installation
13.19. The Configuration Menu and Progress Screen
13.19.1. Set the Root Password
13.19.2. Create a User Account
13.20. Installation Complete
14. Troubleshooting Installation on IBM Power Systems
14.1. Trouble Beginning the Installation
14.1.1. Problems with Booting into the Graphical Installation
14.1.2. Serial Console Not Detected
14.2. Trouble During the Installation
14.2.1. No Disks Detected
14.2.2. Reporting Traceback Messages
14.2.3. Creating Pre-installation Log Files
14.2.4. Other Partitioning Problems for IBM Power Systems Users
14.3. Problems After Installation
14.3.1. Trouble With the Graphical Boot Sequence
14.3.2. Booting into a Graphical Environment
14.3.3. No Graphical User Interface Present
14.3.4. X Server Crashing After User Logs In
14.3.5. Is Your System Displaying Signal 11 Errors?
14.3.6. Unable to IPL from Network Storage Space (*NWSSTG)
14.3.7. The GRUB2 next_entry variable can behave unexpectedly in a virtualized environment
III. IBM System z Architecture - Installation and Booting
15. Planning for Installation on IBM System z
15.1. Pre-installation
15.2. Overview of the System z Installation Procedure
15.2.1. Booting the Installation
15.2.2. Installation using Anaconda
16. Booting the Installation on IBM System z
16.1. Customizing boot parameters
16.2. Considerations for Hard Drive Installation on IBM System z
16.3. Installing under z/VM
16.3.1. Using the z/VM Reader
16.3.2. Using a Prepared DASD
16.3.3. Using a Prepared FCP-attached SCSI Disk
16.3.4. Using an FCP-attached SCSI DVD Drive
16.4. Installing in an LPAR
16.4.1. Using an FTP Server
16.4.2. Using a Prepared DASD
16.4.3. Using a Prepared FCP-attached SCSI Disk
16.4.4. Using an FCP-attached SCSI DVD Drive
17. Installing Using Anaconda
17.1. Introduction to Anaconda
17.2. Consoles and Logging During the Installation
17.2.1. Accessing Consoles
17.2.2. Saving Screenshots
17.3. Installation in Non-Interactive Line Mode
17.4. Installing in Text Mode
17.5. Installing in the Graphical User Interface
17.6. Welcome Screen and Language Selection
17.7. The Installation Summary Screen
17.8. Date & Time
17.9. Language Support
17.10. Keyboard Configuration
17.11. Security Policy
17.12. Installation Source
17.13. Network & Hostname
17.13.1. Edit Network Connections
17.13.2. Advanced Network Interfaces
17.14. Software Selection
17.14.1. Core Network Services
17.15. Installation Destination
17.15.1. Encrypt Partitions
17.15.2. Reclaim Disk Space
17.15.3. Manual Partitioning
17.16. Storage Devices
17.16.1. The Storage Devices Selection Screen
17.17. Kdump
17.18. Begin Installation
17.19. The Configuration Menu and Progress Screen
17.19.1. Set the Root Password
17.19.2. Create a User Account
17.20. Installation Complete
17.20.1. IPL under z/VM
17.20.2. IPL on an LPAR
17.20.3. Continuing after Reboot (re-IPL)
18. Troubleshooting Installation on IBM System z
18.1. Trouble During the Installation
18.1.1. No Disks Detected
18.1.2. Reporting Traceback Messages
18.1.3. Creating Pre-installation Log Files
18.2. Problems After Installation
18.2.1. Remote Graphical Desktops and XDMCP
18.2.2. Is Your System Displaying Signal 11 Errors?
19. Configuring an Installed Linux on IBM System z Instance
19.1. Adding DASDs
19.1.1. Dynamically Setting DASDs Online
19.1.2. Preparing a New DASD with Low-level Formatting
19.1.3. Persistently Setting DASDs Online
19.2. Adding FCP-attached Logical Units (LUNs)
19.2.1. Dynamically Activating an FCP LUN
19.2.2. Persistently activating FCP LUNs
19.3. Adding a Network Device
19.3.1. Adding a qeth Device
19.3.2. Adding an LCS Device
19.3.3. Configuring a System z Network Device for Network Root File System
20. Parameter and Configuration Files on IBM System z
20.1. Required Parameters
20.2. The z/VM Configuration File
20.3. Installation Network Parameters
20.4. Parameters for Kickstart Installations
20.5. Miscellaneous Parameters
20.6. Sample Parameter File and CMS Configuration File
21. IBM System z References
21.1. IBM System z Publications
21.2. IBM Redbooks Publications for System z
21.3. Online Resources
IV. Advanced Installation Options
22. Boot Options
22.1. Configuring the Installation System at the Boot Menu
22.1.1. Deprecated and Removed Boot Options
22.2. Using the Maintenance Boot Modes
22.2.1. Loading the Memory (RAM) Testing Mode
22.2.2. Verifying Boot Media
22.2.3. Booting Your Computer in Rescue Mode
23. Preparing for a Network Installation
23.1. Configuring Network Boot Services
23.1.1. Configuring a TFTP Server for BIOS-based AMD64 and Intel 64 Clients
23.1.2. Configuring a TFTP Server for UEFI-based AMD64 and Intel 64 Clients
23.1.3. Configuring Network Boot for IBM Power Systems Using GRUB2
24. Using VNC
24.1. Installing a VNC Viewer
24.2. Performing a VNC Installation
24.2.1. Installing in VNC Direct Mode
24.2.2. Installing in VNC Connect Mode
24.3. Kickstart Considerations
25. Headless Systems
26. Kickstart Installations
26.1. What are Kickstart Installations?
26.2. How Do You Perform a Kickstart Installation?
26.2.1. Creating a Kickstart File
26.2.2. Maintaining the Kickstart File
26.2.3. Making the Kickstart File Available
26.2.4. Making the Installation Source Available
26.2.5. Starting the Kickstart Installation
26.3. Kickstart Syntax Reference
26.3.1. Kickstart Commands and Options
26.3.2. Package Selection
26.3.3. Pre-installation Script
26.3.4. Anaconda configuration
26.3.5. Post-installation Script
26.3.6. Kickstart error handling
26.3.7. Kickstart Add-ons
26.4. Sample Kickstart Configurations
26.4.1. Advanced Partitioning Example
26.4.2. User Input Example
26.4.3. Example Kickstart file for installing and starting the RNG daemon
27. Installing into a Disk Image
27.1. Manual Disk Image Installation
27.1.1. Preparing a Disk Image
27.1.2. Installing Red Hat Enterprise Linux into a Disk Image
27.2. Automatic Disk Image Installation
27.2.1. Overview of livemedia-creator
27.2.2. Installing livemedia-creator
27.2.3. Sample Kickstart Files
27.2.4. Creating Custom Images
27.2.5. Troubleshooting livemedia-creator Problems
28. Upgrading Your Current System
V. After Installation
29. Initial Setup
29.1. Graphical Mode
29.1.1. Subscription Manager
29.2. Text Mode
29.3. Starting Initial Setup Manually
30. Your Next Steps
31. Basic System Recovery
31.1. Common Problems
31.1.1. Unable to Boot into Red Hat Enterprise Linux
31.1.2. Hardware and Software Problems
31.1.3. Resetting the Root Password
31.2. Anaconda Rescue Mode
31.2.1. Capturing an sosreport
31.2.2. Reinstalling the Boot Loader
31.2.3. Using RPM to Add, Remove, or Replace a Driver
32. Unregistering from Red Hat Subscription Management Services
32.1. Systems Registered with Red Hat Subscription Management
32.2. Systems Registered with Red Hat Satellite
33. Uninstalling Red Hat Enterprise Linux
33.1. Removing Red Hat Enterprise Linux from AMD64 and Intel 64 Systems
33.1.1. Only Red Hat Enterprise Linux is Installed
33.1.2. Red Hat Enterprise Linux installed with a Different Linux Distribution
33.1.3. Red Hat Enterprise Linux installed with a Microsoft Windows Operating System
33.2. Removing Red Hat Enterprise Linux from IBM System z
33.2.1. Running a Different Operating System on Your z/VM Guest or LPAR
VI. Technical Appendixes
A. An Introduction to Disk Partitions
A.1. Hard Disk Basic Concepts
A.1.1. File Systems
A.1.2. Partitions: Turning One Drive Into Many
A.1.3. Partitions Within Partitions - An Overview of Extended Partitions
A.1.4. GUID Partition Table (GPT)
A.2. Strategies for Disk Repartitioning
A.2.1. Using Unpartitioned Free Space
A.2.2. Using Space from an Unused Partition
A.2.3. Using Free Space from an Active Partition
A.3. Partition Naming Schemes and Mount Points
A.3.1. Partition Naming Scheme
A.3.2. Disk Partitions and Mount Points
A.3.3. How Many Partitions?
B. iSCSI Disks
B.1. iSCSI Disks in Anaconda
B.2. iSCSI Disks During Start Up
C. Understanding LVM
D. Other Technical Documentation
E. Reference Table for ext4 and XFS Commands
F. Data Size Terminology Reference Table
G. Revision History
Index