Install Debian 9.4.0 on HP Zbook 15 G3

First of all BIOS

Set display setting in BIOS to: Discrete

The regular installation from media


The Installation from USB Flash Drive

Prepare the bootable USB flash drive:

sudo dd if=~/Download/debian-live-9.4.0-amd64-gnome.iso of=/dev/sdd bs=4M; sync

Got staked on first boot

“Ctrl+Alt+F3” to login as root.

Add stretch-backports to the list of APT Sources

/etc/apt/sources.list file
deb stretch main contrib non-free
deb-src stretch main contrib non-free

deb stretch-backports main contrib non-free
deb-src stretch-backports main contrib non-free

deb stretch/updates main contrib non-free
deb-src stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb stretch-updates main contrib non-free
deb-src stretch-updates main contrib non-free

Errors with firmware

apt install -t stretch-backports firmware-misc-nonfree
apt install -t stretch-backports firmware-iwlwifi

Install NVIDIA drivers

Thanks to for they article: link

Disable the nouveau driver for NVIDIA graphical card

apt remove nvidia*
apt autoremove
apt update
apt install dkms build-essential linux-headers-$(uname -r)
echo options nouveau modeset=0 | tee -a /etc/modprobe.d/nouveau-kms.conf
update-initramfs -u

blacklist the nouveau driver

nano /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

Install backports kernel

Look for the latest kernel:

apt-cache search -t stretch-backports linux-image-4.
linux-headers-4.17.0-0.bpo.1-amd64 - Header files for Linux 4.17.0-0.bpo.1-amd64
linux-image-4.17.0-0.bpo.1-amd64 - Linux 4.17 for 64-bit PCs
apt install -t stretch-backports linux-image-4.17.0-0.bpo.1-amd64
apt install -t stretch-backports linux-headers-4.17.0-0.bpo.1-amd64

Install the backports drivers for NVIDIA card

Stop the X-Server

/etc/init.d/gdm3 stop

Install the driver

apt install -t stretch-backports nvidia-driver


Leave a Reply

Your email address will not be published.