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. Downloading Red Hat Enterprise Linux
2. Making Media
2.1. Making an Installation CD or DVD
2.2. Making Installation USB Media
2.2.1. Making Installation USB Media on Linux
2.2.2. Making Installation USB Media on Windows
2.2.3. Making Installation USB Media on Mac OS X
2.3. Preparing Installation Sources
2.3.1. Installation Source on a DVD
2.3.2. Installation Source on a Hard Drive
2.3.3. Installation Source on a Network
I. AMD64 and Intel 64 - Installation and Booting
3. Planning for Installation on AMD64 and Intel 64 Systems
3.1. Upgrade or Install?
3.2. Is Your Hardware Compatible?
3.3. Supported Installation Targets
3.4. System Specifications List
3.5. Disk Space and Memory Requirements
3.6. RAID and Other Disk Devices
3.6.1. Hardware RAID
3.6.2. Software RAID
3.6.3. USB Disks
3.6.4. Considerations for Intel BIOS RAID Sets
3.6.5. Considerations for Intel BIOS iSCSI Remote Boot
3.7. Choose an Installation Boot Method
3.8. Automating the Installation with Kickstart
4. Updating Drivers During Installation on AMD64 and Intel 64 Systems
4.1. Limitations of Driver Updates During Installation
4.2. Preparing for a Driver Update During Installation
4.2.1. Preparing to Use a Driver Update Image File on Local Storage
4.2.2. Preparing a Driver Disc
4.3. Performing a Driver Update During Installation
4.3.1. Automatic Driver Update
4.3.2. Assisted Driver Update
4.3.3. Manual Driver Update
4.3.4. Blacklisting a Driver
5. Booting the Installation on AMD64 and Intel 64 Systems
5.1. Starting the Installation Program
5.1.1. Booting the Installation on AMD64 and Intel 64 Systems from Physical Media
5.1.2. Booting the Installation on AMD64 and Intel 64 Systems from the Network Using PXE
5.2. The Boot Menu
6. Installing Using Anaconda
6.1. Introduction to Anaconda
6.2. Consoles and Logging During the Installation
6.2.1. Accessing Consoles
6.2.2. Saving Screenshots
6.3. Installing in Text Mode
6.4. Installing in the Graphical User Interface
6.5. Welcome Screen and Language Selection
6.6. The Installation Summary Screen
6.7. Date & Time
6.8. Language Support
6.9. Keyboard Configuration
6.10. Security Policy
6.11. Installation Source
6.12. Network & Hostname
6.12.1. Edit Network Connections
6.12.2. Advanced Network Interfaces
6.13. Software Selection
6.13.1. Core Network Services
6.14. Installation Destination
6.14.1. Boot Loader Installation
6.14.2. Encrypt Partitions
6.14.3. Reclaim Disk Space
6.14.4. Manual Partitioning
6.15. Storage Devices
6.15.1. The Storage Devices Selection Screen
6.16. Kdump
6.17. Begin Installation
6.18. The Configuration Menu and Progress Screen
6.18.1. Set the Root Password
6.18.2. Create a User Account
6.19. Installation Complete
7. Troubleshooting Installation on AMD64 and Intel 64 Systems
7.1. Trouble Beginning the Installation
7.1.1. Problems with Booting into the Graphical Installation
7.1.2. Serial Console Not Detected
7.2. Trouble During the Installation
7.2.1. No Disks Detected
7.2.2. Reporting Traceback Messages
7.3. Problems After Installation
7.3.1. Are You Unable to Boot With Your RAID Card?
7.3.2. Trouble With the Graphical Boot Sequence
7.3.3. Booting into a Graphical Environment
7.3.4. No Graphical User Interface Present
7.3.5. X Server Crashing After User Logs In
7.3.6. Is Your RAM Not Being Recognized?
7.3.7. Is Your System Displaying Signal 11 Errors?
II. IBM Power Systems - Installation and Booting
8. Planning for Installation on IBM Power Systems
8.1. Upgrade or Install?
8.2. Is Your Hardware Compatible?
8.3. IBM Installation Tools
8.4. Preparation for IBM Power Systems Servers
8.5. Supported Installation Targets
8.6. System Specifications List
8.7. Disk Space and Memory Requirements
8.8. RAID and Other Disk Devices
8.8.1. Hardware RAID
8.8.2. Software RAID
8.8.3. USB Disks
8.9. Choose an Installation Boot Method
8.10. Automating the Installation with Kickstart
9. Updating Drivers During Installation on IBM Power Systems
9.1. Preparing for a Driver Update During Installation
9.1.1. Preparing to Use a Driver Update Image File on Local Storage
9.1.2. Preparing a Driver Disc
9.2. Performing a Driver Update During Installation
9.2.1. Automatic Driver Update
9.2.2. Assisted Driver Update
9.2.3. Manual Driver Update
9.2.4. Blacklisting a Driver
10. Booting the Installation on IBM Power Systems
10.1. The Boot Menu
10.2. Installing from a Different Source
10.3. Booting from the Network Using an Installation Server
11. Installing Using Anaconda
11.1. Introduction to Anaconda
11.2. Consoles and Logging During the Installation
11.2.1. Accessing Consoles
11.2.2. Saving Screenshots
11.3. Installing in Text Mode
11.4. Using the HMC vterm
11.5. Installing in the Graphical User Interface
11.6. Welcome Screen and Language Selection
11.7. The Installation Summary Screen
11.8. Date & Time
11.9. Language Support
11.10. Keyboard Configuration
11.11. Security Policy
11.12. Installation Source
11.13. Network & Hostname
11.13.1. Edit Network Connections
11.13.2. Advanced Network Interfaces
11.14. Software Selection
11.14.1. Core Network Services
11.15. Installation Destination
11.15.1. Boot Loader Installation
11.15.2. Encrypt Partitions
11.15.3. Reclaim Disk Space
11.15.4. Manual Partitioning
11.16. Storage Devices
11.16.1. The Storage Devices Selection Screen
11.17. Kdump
11.18. Begin Installation
11.19. The Configuration Menu and Progress Screen
11.19.1. Set the Root Password
11.19.2. Create a User Account
11.20. Installation Complete
12. Troubleshooting Installation on IBM Power Systems
12.1. Trouble Beginning the Installation
12.1.1. Problems with Booting into the Graphical Installation
12.1.2. Serial Console Not Detected
12.2. Trouble During the Installation
12.2.1. No Disks Detected
12.2.2. Reporting Traceback Messages
12.2.3. Other Partitioning Problems for IBM Power Systems Users
12.3. Problems After Installation
12.3.1. Trouble With the Graphical Boot Sequence
12.3.2. Booting into a Graphical Environment
12.3.3. No Graphical User Interface Present
12.3.4. X Server Crashing After User Logs In
12.3.5. Is Your System Displaying Signal 11 Errors?
12.3.6. Unable to IPL from Network Storage Space (*NWSSTG)
12.3.7. The GRUB2 next_entry variable can behave unexpectedly in a virtualized environment
III. IBM System z Architecture - Installation and Booting
13. Planning for Installation on IBM System z
13.1. Pre-installation
13.2. Overview of the System z Installation Procedure
13.2.1. Booting the Installation
13.2.2. Installation using Anaconda
14. Booting the Installation on IBM System z
14.1. Customizing boot parameters
14.2. Considerations for Hard Drive Installation on IBM System z
14.3. Installing under z/VM
14.3.1. Using the z/VM Reader
14.3.2. Using a Prepared DASD
14.3.3. Using a Prepared FCP-attached SCSI Disk
14.3.4. Using an FCP-attached SCSI DVD Drive
14.4. Installing in an LPAR
14.4.1. Using an FTP Server
14.4.2. Using a Prepared DASD
14.4.3. Using a Prepared FCP-attached SCSI Disk
14.4.4. Using an FCP-attached SCSI DVD Drive
15. Installing Using Anaconda
15.1. Introduction to Anaconda
15.2. Consoles and Logging During the Installation
15.2.1. Accessing Consoles
15.2.2. Saving Screenshots
15.3. Installation in Non-Interactive Line Mode
15.4. Installing in Text Mode
15.5. Installing in the Graphical User Interface
15.6. Welcome Screen and Language Selection
15.7. The Installation Summary Screen
15.8. Date & Time
15.9. Language Support
15.10. Keyboard Configuration
15.11. Security Policy
15.12. Installation Source
15.13. Network & Hostname
15.13.1. Edit Network Connections
15.13.2. Advanced Network Interfaces
15.14. Software Selection
15.14.1. Core Network Services
15.15. Installation Destination
15.15.1. Encrypt Partitions
15.15.2. Reclaim Disk Space
15.15.3. Manual Partitioning
15.16. Storage Devices
15.16.1. The Storage Devices Selection Screen
15.17. Kdump
15.18. Begin Installation
15.19. The Configuration Menu and Progress Screen
15.19.1. Set the Root Password
15.19.2. Create a User Account
15.20. Installation Complete
15.20.1. IPL under z/VM
15.20.2. IPL on an LPAR
15.20.3. Continuing after Reboot (re-IPL)
16. Troubleshooting Installation on IBM System z
16.1. Trouble During the Installation
16.1.1. No Disks Detected
16.1.2. Installer Crashes when Reinstalling on an FBA DASD
16.1.3. Reporting Traceback Messages
16.2. Problems After Installation
16.2.1. Remote Graphical Desktops and XDMCP
16.2.2. Is Your System Displaying Signal 11 Errors?
17. Configuring an Installed Linux on IBM System z Instance
17.1. Adding DASDs
17.1.1. Dynamically Setting DASDs Online
17.1.2. Preparing a New DASD with Low-level Formatting
17.1.3. Persistently Setting DASDs Online
17.2. Adding FCP-attached Logical Units (LUNs)
17.2.1. Dynamically Activating an FCP LUN
17.2.2. Persistently activating FCP LUNs
17.3. Adding a Network Device
17.3.1. Adding a qeth Device
17.3.2. Adding an LCS Device
17.3.3. Configuring a System z Network Device for Network Root File System
18. Parameter and Configuration Files on IBM System z
18.1. Required Parameters
18.2. The z/VM Configuration File
18.3. Installation Network Parameters
18.4. Parameters for Kickstart Installations
18.5. Miscellaneous Parameters
18.6. Sample Parameter File and CMS Configuration File
19. IBM System z References
19.1. IBM System z Publications
19.2. IBM Redbooks Publications for System z
19.3. Online Resources
IV. Advanced Installation Options
20. Boot Options
20.1. Configuring the Installation System at the Boot Menu
20.1.1. Deprecated and Removed Boot Options
20.2. Using the Maintenance Boot Modes
20.2.1. Loading the Memory (RAM) Testing Mode
20.2.2. Verifying Boot Media
20.2.3. Booting Your Computer in Rescue Mode
21. Preparing for a Network Installation
21.1. Configuring Network Boot
21.1.1. Configuring a PXE Server for BIOS-based AMD64 and Intel 64 Clients
21.1.2. Configuring a PXE Server for UEFI-based AMD64 and Intel 64 Clients
21.1.3. Configuring Network Boot for IBM Power Systems Using GRUB2
22. Installing Using VNC
22.1. Installing a VNC Viewer
22.2. Performing a VNC Installation
22.2.1. Installing in VNC Direct Mode
22.2.2. Installing in VNC Connect Mode
22.3. Kickstart Considerations
23. Headless Systems
24. Kickstart Installations
24.1. What are Kickstart Installations?
24.2. How Do You Perform a Kickstart Installation?
24.2.1. Creating a Kickstart File
24.2.2. Verifying the Kickstart File
24.2.3. Making the Kickstart File Available
24.2.4. Making the Installation Source Available
24.2.5. Starting the Kickstart Installation
24.3. Kickstart Syntax Reference
24.3.1. Changes in Kickstart Syntax
24.3.2. Kickstart Commands and Options
24.3.3. Package Selection
24.3.4. Pre-installation Script
24.3.5. Anaconda configuration
24.3.6. Post-installation Script
24.3.7. Kickstart error handling
24.3.8. Kickstart Add-ons
24.4. Sample Kickstart Configurations
24.4.1. Advanced Partitioning Example
24.4.2. User Input Example
24.4.3. Example Kickstart file for installing and starting the RNG daemon
25. Installing into a Disk Image
25.1. Manual Disk Image Installation
25.1.1. Preparing a Disk Image
25.1.2. Installing Red Hat Enterprise Linux into a Disk Image
25.2. Automatic Disk Image Installation
25.2.1. Overview of livemedia-creator
25.2.2. Installing livemedia-creator
25.2.3. Sample Kickstart Files
25.2.4. Creating Custom Images
25.2.5. Troubleshooting livemedia-creator Problems
26. Upgrading Your Current System
V. After Installation
27. Initial Setup
27.1. Subscription Manager
27.2. Text Mode
28. Your Next Steps
29. Basic System Recovery
29.1. Common Problems
29.1.1. Unable to Boot into Red Hat Enterprise Linux
29.1.2. Hardware/Software Problems
29.1.3. Resetting the Root Password
29.2. Anaconda Rescue Mode
29.2.1. Capturing an sosreport
29.2.2. Reinstalling the Boot Loader
29.2.3. Using RPM to Add, Remove, or Replace a Driver
30. Unregistering from Red Hat Subscription Management Services
30.1. Systems Registered with Red Hat Subscription Management
30.2. Systems Registered with Red Hat Satellite
31. Uninstalling Red Hat Enterprise Linux
31.1. Removing Red Hat Enterprise Linux from AMD64 and Intel 64 Systems
31.1.1. Only Red Hat Enterprise Linux is Installed
31.1.2. Red Hat Enterprise Linux installed with a Different Linux Distribution
31.1.3. Red Hat Enterprise Linux installed with a Microsoft Windows Operating System
31.2. Removing Red Hat Enterprise Linux from IBM System z
31.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