Ts p360 Debian 11 Installation Guide
Ts p360 Debian 11 Installation Guide
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
• On the “Security” menu tab, scroll down and select the “Secure Boot”
option.
•
• Check whether Secure Boot is disabled. If found enabled, disable it.
4
• Save changes by pressing F10 function key.
5
Section 2 – Installing Debian 11
Please refer to the following instructions and screenshots on how to install Debian
11 on the Lenovo ThinkStation P360.
6
• Select the Linux bootable installation media from the F12 boot menu list.
• Select “Graphical install” from the GRUB boot menu and press enter.
7
• Select the appropriate language and press Continue.
8
• Configure the keyboard by choosing the appropriate keyboard language
and press Continue.
9
• Enter a domain name and select Continue. If there is no domain in the
environment just leave it blank.
10
• Enter a full name for the user and select Continue.
11
• Create a strong password for the newly created user and press Continue.
• Select an appropriate time zone to configure the clock and press Continue.
12
• Choose an appropriate option for partitioning the disk. If the user selects
“Guided – use entire disk”, Debian will erase the content and use the entire
disk for OS installation.
13
• Select “Finish partitioning and write changes to disk” option after confirming
the partitions and press Continue.
14
• Select “No” for network mirror and select Continue.
Note: Debian can be installed with a Graphical User Interface (GUI) or a
Command Line Interface (CLI). To install Debian 11 with a GUI, connect the
system to the internet and select “No” to continue without a network mirror. If "Yes"
is selected, the system will be installed as a CLI only.
15
• Choose to participate or not in the package usage survey and press
Continue.
16
• Select the mirror and select Continue.
• Choose software to install from the list of software and press Continue.
• Optionally, you can select as many of these settings as you would like, for
this installation process will be selected default software.
17
• Remove the installation media and reboot the system by pressing
Continue.
18
Section 3 – Wireless Connection
Before the next steps ensure you have connected to LAN network.
To install the Wifi drivers complete the next steps:
Notes: 1 – For this example, Intel® Wi-Fi 6 AX201 has been used.
2 - In some cases, GitHub clone* may be needed to find all necessary files to
complete the installation (for Intel AX201 file iwlwifi-so-a0-hr-b0-68.ucode need to
be added to /lib/firmware).
19
• Copy extracted files to /lib/firmware
20
• Add "contrib" and "non-free" components to /etc/apt/sources.list.
#Debian Sid
deb http://deb.debian.org/debian/ sid main contrib non-free
21
• Update the list of available packages and install the firmware-
iwlwifi package:
# apt update && apt install firmware-iwlwifi
22
• As the iwlwifi module is automatically loaded for supported devices,
reinsert this module to access installed firmware:
# modprobe -r iwlwifi ; modprobe iwlwifi
23
• After restart Wifi options should appear in the network manager.
24
Section 4 – 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.
Note: Before installing the drivers, you must obtain the proper kernel headers for
the NVIDIA driver to build with.
25
• Run this command, you can simply run
#apt install linux-headers-amd64
# bullseye-backports
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
And run the same command but with the -t flag followed by bullseye-backports.
26
• Add "contrib" and "non-free" components to /etc/apt/sources.list.
#Debian Sid
deb http://deb.debian.org/debian/ sid main contrib non-free
27
• Update the list of available packages #apt update
28
• During configuration select “Yes” to restart services during package
upgrades without asking
29
• Restart your system to load the new driver.
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: su
o Open blacklist.conf file: nano /etc/modprobe.d/blacklist-
nouveau.conf
o Blacklist nouveau driver by writing: blacklist nouveau options
nouveau modeset=0
30
• Run the command: update-initramfs -u
31
• Then restart restart the system by: systemctl reboot
• Log in as root and redirect to the directory where the Nvidia driver is
located.
32
• Select Continue installation.
33
• Select Yes for installing 32-bit compatibility libraries.
34
• Select Yes to run nvidia-xconfig utility to automatically update your X
configuration file.
35
• Enable GUI by: systemctl set-default graphical.target
• Execute the following command to verify the Nvidia driver is loaded: nvidia-
smi
36
Revision History
37