Lenovo ThinkStation P620 Debian Linux 10 Installation [en, ar, bg, cs, da, de, el, es, fi, fr, he, hr, hu, id, it, ja, ko, nb, nl, pl, pt, pt, ro, ru, sh, sk, sl, sv, th, tr, uk, zc, zh]

Page 1
Debian Linux 10 Installation
Lenovo ThinkStation P620
Page 2
Contents
SECTION 1 – BIOS SETUP & PRE-INSTALLATION STEPS SECTION 2 – INSTALLING DEBIAN 10.03 SECTION 3 – RAID ARRAY INSTALLATION SECTION 4 – RAIDXPERT2 MANAGEMENT APPLICATION SECTION 5 – INSTALLING THE AQUANTIA LAN DRIVER SECTION 6 – INSTALLING THE NVIDIA GRAPHICS DRIVER SECTION 7 – REVISION HISTORY
Page 3
Section 1– BIOS Setup & Pre-Installation Steps
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.
On the “Security” menu tab, scroll down and select the “Secure Boot” option.
Page 4
Check whether Secure Boot is disabled. If found enabled, disable it.
Save changes by pressing F10 function key.
Page 5
Section 2 – Installing Debian 10.03
Please refer to the following instructions and screenshots on how to install Debian 10.03 on the Lenovo ThinkStation P620.
Insert the Debian 10.03 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.
Select the Linux bootable installation media from the F12 boot menu list.
Page 6
Highlight Install Ubuntu from the GRUB boot menu and hit enter.
Select the appropriate language and press Continue.
Page 7
Select the user location and press Continue.
Configure the keyboard by choosing the appropriate keyboard language
and press Continue.
Page 8
Enter a hostname for the system and select Continue.
Enter a domain name and select Continue.
Page 9
Set a root password and select Continue.
Enter full name for the user and select Continue.
Page 10
Enter a username to create a user and press Continue.
Create a strong password for the newly created user and press
Continue.
Page 11
Select an appropriate time zone to configure the clock and press Continue.
Select “Yes” for force UEFI installation and select Conitnue.
Page 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.
Select disk to partition and press Continue.
Page 13
Select “All files in one partition” and press Continue.
Select “Finish partitioning and write changes to disk” option after
confirming the partitions and press Continue.
Page 14
Select “Yes” to write changes to the disk and press Continue.
Select “No” for network mirror and select Continue.
Page 15
Choose to participate or not in the package usage survey and press
Continue.
Choose software to install from the list of software and press Continue.
Page 16
Select the package manager of choice and press Continue.
Remove the installation media and reboot the system by pressing
Continue.
Page 17
Enter user credentials created during the installation to login into the system.
Welcome to the Debian 10.03 login screen. Select “Yes” to save history.
Page 18
Section 3 – RAID Array Installation
Please refer to the following instructions and screenshots on how to install Debian 10.03 using RAID arrays on ThinkStation P620.
Note: This is assuming storage RAID is already set up and configured in BIOS.
Download the Linux AMD storage RAID driver from the Lenovo support
site and copy the contents onto a directory labelled ‘dd’ from the root of a
USB flash drive.
Insert the Debian 10.03 installation media either through USB or CD/DVD.
Power on the system and press the function F12 key when the Lenovo splash screen appears.
Page 19
Select the Debian 10.03 bootable installation media from the Startup Device Menu.
Select the “Graphical Install” option from the GRUB boot menu, and press ‘e’.
Page 20
Add the following lines to the end of the Linux kernel command parameter and press Ctrl-x. break=mount modprobe.blacklist=ahci, nvme nomodeset
At the “BusyBox” shell, insert the USB flash drive with the Linux AMD RAID driver into a USB port of the system and mount it using the following command: mount -t vfat /dev/sdb1 /tmp
Note: /dev/sdb1 may need to be changed depending on the number of devices attached to the system.
Page 21
Copy the contents of the driver to the root directory using the following command: cp -ap /tmp/dd /
Install the driver by running the following command: /dd/pre_install
Page 22
Unmount and remove the USB flash drive by running the following command: “umount /tmp”
Exit the “BusyBox” shell by running the following command: exit
Page 23
The Debian 10.03 welcome screen should appear. Choose the
appropriate language and select “Continue”.
Select your location and press “Continue”.
Page 24
Configure the keyboard selecting an appropriate language and press
“Continue”.
Configure the network by entering a hostname and press “Continue”.
Page 25
Continue configuring the network by entering a domain name and press
“Continue”.
Enter a root password and press “Continue”.
Page 26
Enter a username to set up a user and press “Continue”.
Select a username for the new account and press “Continue”.
Page 27
Enter password for the newly created username and press “Continue”.
Configure the clock by selecting an appropriate time zone and press
“Continue”
Page 28
Select “Yes” for forcing UEFI installation and press “Continue”.
Select a suitable partitioning method and press “Continue”.
Page 29
Select the RAID array partition and press “Continue”.
Select a suitable partitioning scheme and press “Continue”.
Page 30
Select “Finish partitioning and write changes to disk” and press
“Continue”.
Select “Yes” for writing the changes to disks and press “Continue”.
Page 31
Select “No” for network mirror and press “Continue”.
Select “No/Yes” to participate in the package usage survey and press
“Continue”.
Page 32
Choose software to install and press “Continue”.
Select a display manager for Debian 10.03 and press “Continue”.
Page 33
Remove the installation media and select “Continue” to restart the
system.
Select “*Debian GNU/Linux” and press enter.
Enter user credentials to log in and select “Sign In”.
Page 34
Section 4 – RAIDXpert2 Management Application
Optional: AMD has a RAIDXpert2 Management Application for AMD RAID arrays. Please refer to the following instructions and screenshots for installing the AMD management utility on ThinkStation P620.
Download the Linux AMD RAIDXpert2 Management Application from the Lenovo support site directly onto the Debian 10.03 desktop.
Open a terminal window and browse to the location where the driver package is stored.
Extract the contents of the *.tgz file using the following command: tar xzvf 9.3.0-00180_linux_raidxpert2.tgz -C /opt
Change directory path to where the package was extracted to from above: “cd /opt/ raidxpert2/bin”
Page 35
To launch the AMD RAIDXpert2 Management Application, run the following command: ./RAIDXpert2 &
RAIDXpert2 Management Application.
Page 36
Section 5 – Installing the Aquantia LAN Driver
The onboard Aquantia LAN driver is not native to Debian 10.03 on Lenovo P620 system. In order to make your LAN working, follow the steps below.
Mount the Debian media key to the system and comment all lines in the source.list file and add the highlighted comment using an editor of your choice and save the changes.
Update the package list with the “apt-get update” command.
Install the necessary packages by using the following command.
Page 37
Navigate to the directory where the Aquantia LAN driver is stored and
unzip it.
Untar the “atlantic.tar.gz” file by running the following command.
Compile the modules inside the “Linux” folder using “make”.
Build and install the driver using dkms.sh script. In case of an error, run
the command “export PATH=$PATH:/usr/sbin” and try running the script again.
Page 38
Load the dependencies and the module using the following list of commands­modprobe ptp modprobe crc_itu_t insmod atlantic.ko
Unload and install the driver in the system using “rmmod atlantic” and
“make && make install” commands. Type “y” for yes for attempting
initramfs update.
Verify if the LAN driver is present in /lib/modules/`uname -r` atlantic.ko
Page 39
Reboot the system or run the command “modprobe atlantic” and verify if
the LAN is working.
Run the command “ip addr” to check the IP from the terminal window.
Page 40
Section 6 – Installing the Nvidia Graphics Driver
In order to get optimal performance out of the Nvidia GPU, it is a good idea to install the Nvidia graphics driver.
Download the latest Nvidia graphics driver for the appropriate Nvidia GPU from here.
In order 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 Create blacklist.conf file under the modprobe.d directory:
gedit /etc/modprobe.d/blacklist.conf
o Blacklist nouveau driver by writing: blacklist nouveau
Run the command update-initramfs -u
Page 41
Reboot the system.
Open a terminal window and run the command init 3.
Once into init 3, login using the user credentials.
Install build-essential and linux-headers* packages.
Browse into the directory where the Nvidia driver is stored and make the Nvidia
installer an executable by the command- chmod +x NVIDIA-Linux-x86-64-* Once done, run the Nvidia driver by- ./NVIDIA-Linux-x86_64-430.50.run
Page 42
Wait until the kernel modules are completely built.
Select Yes for installing 32-bit compatibility libraries.
Page 43
Select Install and overwrite existing files.
Select Yes to run nvidia-xconfig utility to automatically update your X
configuration file.
Page 44
Select OK once the X configuration file gets updated successfully.
Execute the following command to verify the Nvidia driver is loaded-
nvidia-smi
Reboot the system.
Page 45
Section 7 – Revision History
Version
Date
Author
Changes/Updates
1.0
06/09/2020
Sayali Pawar
Initial launch release
Loading...