Ubuntu 22.
04 Linux Setup Guide
For ThinkStation P360 Tower, Tiny, Ultra
Table of Contents
Section 1 – BIOS Configuration .............................................................................. 3
Section 2 – Installing Ubuntu Linux 22.04 LTS ........................................................ 6
Section 3 – Installing the Nvidia Graphics Driver .................................................. 14
Revision History .................................................................................................... 26
2
Section 1 – BIOS Configuration
The first step before installing Linux is to make sure the system BIOS is setup
correctly.
• Boot into BIOS by pressing the function F1 key at the “Lenovo” splash
screen.
3
• Tab over to the Security tab and select “Secure Boot”.
• Check whether Secure Boot is disabled. If found enabled, disable it.
4
• Save changes by pressing F10 function key.
5
Section 2 – Installing Ubuntu Linux 22.04
LTS
Please refer to the following instructions and screenshots on how to install Ubuntu
22.04 LTS on the Lenovo ThinkStation P360.
• Insert the Ubuntu 22.04 LTS installation media (either through USB or
CD/DVD)
• Power on the system and press the F12 function key whenever the
following Lenovo splash screen appears.
6
• Select the Linux bootable installation media from the F12 boot menu list.
• Select “Ubuntu” from the GRUB boot menu and press enter.
7
• Select the “Install Ubuntu” option on the welcome screen.
• Select the appropriate keyboard layout and language and press “Continue”.
8
• Select “Normal Installation” and press “Continue”.
Optional: “Install third-part software…”
• Choose the installation type. For simplicity, this guide was done using
“Erase disk and install Ubuntu”
9
• Select “Continue” to confirm changes will be made to the disk.
• Choose the appropriate geographical location and select “Continue”.
10
• Fill out the appropriate information and select “Continue”.
• Ubuntu installation progress bar will be shown.
11
• Once the installation completes, select “Restart now”.
• Remove the installation media and press enter.
12
• User will land on the Ubuntu Desktop Screen.
13
Section 3 – Installing the Nvidia Graphics
Driver
To get optimal performance out of the Nvidia GPU, it is a good idea to install the
Nvidia graphics driver.
• To make sure the Nvidia GPU is working, open the terminal and write the
command nvidia-smi.
In case Nvidia GPU is not native, follow the steps below to install the GPU driver:
14
• Open Software & Updates.
• Click on Additional Drivers
15
• Select the driver you would like to install and click Apply Changes
• After that system will ask to restart, click Restart.
16
In case you desire to install a specific Nvidia driver please follow the next steps:
• Download the latest Nvidia graphics driver for the appropriate Nvidia GPU
from www.nvidia.com/download
• To get the Nvidia driver running, we will need to blacklist the nouveau
driver. Follow the steps below:
o Log in as root: sudo su
o Open blacklist.conf file: gedit /etc/modprobe.d/blacklist.conf
o Blacklist nouveau driver by writing: blacklist nouveau
17
• Run the command: update-initramfs -u
• Reboot the system: reboot
o Once your system reboots, open a terminal window and:
o Log in as root: sudo su
o Run the command: apt-get update
18
• Install gcc: apt-get install gcc
• Install make: apt-get install make
19
• Install linux-headers: apt-get install -y linux-headers*
• Stop x-windows by using the command: init 3
20
• Log in as root and redirect to the directory where the Nvidia driver is
located.
• Make the Nvidia installer an executable by the command- chmod +x
NVIDIA-Linux-x86-64-* And run the Nvidia driver by- ./NVIDIA-Linux-
x86_64-430.50.run
21
• Select Continue installation.
• Wait until the kernel modules are completely built.
22
• Select Yes for installing 32-bit compatibility libraries.
• Wait until the installation is complete.
23
• Select Yes to run nvidia-xconfig utility to automatically update your X
configuration file.
• Select OK once the X configuration file gets updated successfully.
24
• Execute the following command to verify the Nvidia driver is loaded: nvidia-
smi
• Reboot the system.
25
Revision History
Version Date Author Changes/Updates
1.1 7/12/2022 Aleksandr Added support for P360 Ultra
Panteleev
1.0 5/17/2022 Aleksandr Initial launch release
Panteleev
26