Professional Documents
Culture Documents
• Boot into BIOS by pressing the function F1 key at the Lenovo splash screen.
• Select the “Restart” menu tab and set “OS Optimized Defaults” to “Disabled”.
2
• Switching the “OS Optimized Defaults” settings may give a warning message. Select “Yes” to
continue to disable OS Optimized Defaults.
• Select the “Startup” menu tab. Pressing F9 function key will allow Legacy and UEFI bootable
devices by setting “UEFI/Legacy Boot” to “Both”; otherwise, it will be an unchangeable setting to
“UEFI only”.
3
• Press the function F10 key to save and exit BIOS setup.
4
Section 2 – Discrete vs Hybrid Graphics
The Thinkpad P1 Gen2 offers both Nvidia and Intel graphics. To run exclusively Nvidia graphics, use
the discrete graphics mode highlighted below.
• Boot into BIOS, tab over to the “Config” menu option, and select the “Display” option.
5
• By default, the “Graphics Device” will likely be set to “Hybrid Graphics”. To run exclusively Nvidia
graphics, set the “Graphics Device” to “Discrete Graphics”.
6
Section 3 – Installing Red Hat Enterprise Linux 8
Please refer to the following instructions and screenshots on how to install RHEL 8 on the Lenovo
Thinkpad P1 Gen2.
• Power on the system and press the F12 function key whenever the following Lenovo splash
screen appears.
• Select the Linux bootable installation media from the F12 boot menu list.
7
• Highlight “Install Red Hat Enterprise Linux 8.x” from the GRUB boot menu and press enter.
• The Red Hat Enterprise Linux Welcome Screen should appear. Select the appropriate language
and “Continue”.
8
• Adjust the “Keyboard”, “Language Support”, and “Time & Date” accordingly by selecting each
one.
9
• Select the type of “Base Environment” as well as each “Add-Ons” to install. In this example,
“Workstation” was selected for the “Base Environment” and all “Add-Ons” were selected.
10
• Select the device on where to install the operating system and “Done” in the upper left.
• For storage devices with previous partitions created, select “Reclaim space”.
11
• Select “Delete all” to delete all the previously created partitions or select each partition to delete
and select the “Delete” option. When done, select “Reclaim space” at the bottom.
12
• Select “Root Password”.
• Enter a root password in both of the boxes below and select “Done” in the upper left.
13
• Select “User Creation”.
• Fill in the appropriate boxes below and select “Done” in the upper left.
14
• Once the installation completes, select “Reboot” at the bottom right.
15
• Check the box at the bottom left and “Done” at the upper left.
16
• Log in to the Linux Desktop using the login credentials created above.
17
Section 4 – Wireless Network Driver
The wireless network driver isn’t native to the Red Hat Enterprise Linux 8.0 kernel. Therefore, the
wireless device will not work following the RHEL 8.0 installation by default. However, here’s a driver
update package to get the wireless network working on the Thinkpad P53 and P73.
***Note: The driver update package (DUP) will likely be integrated in to RHEL 8.1.
dd-iwlwifi-4.18.0_107_dup8.0-3-btusb-0.8_4.18.0_80.23_dup8.0-2.el8.iso
Step 2: As superuser (root), browse to the /rpms/x86_64 from the extracted ISO and install the following
rpms:
18
Section 5 – Installing the Nvidia Graphics Driver
In order to get optimal performance out of the Nvidia GPU, it’s a good idea to install the Nvidia graphics
driver.
Before install the latest Nvidia graphics driver, it’ll be a good idea to update the Linux Plymouth driver to
version 0.9.4.1.
https://kojipkgs.fedoraproject.org/packages/plymouth/0.9.4/1.fc29/x86_64/plymouth-0.9.4-
1.fc29.x86_64.rpm
- Rebuild initramfs.
# dracut -f
- Reboot
# reboot
19
To install the latest Nvidia graphics driver, follow the steps below:
Step 1: Download the latest Nvidia graphics driver for the appropriate Nvidia GPU from
nvidia.com/drivers.
Note: If you don’t have a valid RHEL subscription, install the packages above from the installation
media. This will require manual intervention steps to modify the yum repository.
Here’s how to manually update the yum repository to use the RHEL installation media:
***Yellow highlighted text signifies directory path to installation media.
[InstallMedia-BaseOS]
name=Red Hat Enterprise Linux 8 – BaseOS
metadata_expire=-1
gpgcheck=1
enabled=1
baseurl=file:///run/media/lenovo/RHEL-8-0-0-/BaseOS/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[InstallMedia-AppStream]
name=Red Hat Enterprise Linux 8 – BaseOS
metadata_expire=-1
gpgcheck=1
enabled=1
baseurl=file:///run/media/lenovo/RHEL-8-0-0-/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
- Update yum.
# yum update
20
Step 3: Open a terminal window and stop x-windows by using the following command.
# init 3
Step 3: Login as root and browse to the directory location to where the Nvidia driver installer is.
21
Step 4: Make the Nvidia installer an executable by using the following command.
# chmod +x NVIDIA-Linux-x86-64-*
Step 5: Run the Nvidia driver executable by using the following command.
# ./NVIDIA-Linux-x86_64*
22
Step 6: Follow the Nvidia driver installation steps.
23
Step 8: Nvidia driver installing progress bar may appear.
Step 9: Select “Yes” to update the X-configuration file to use the Nvidia X driver.
24
Step 10: Select “OK” to acknowledge the driver installation is complete.
Step 11: Execute the following command to verify the Nvidia driver is loaded.
# nvidia-smi
25
Section 6 – Revision History
26