Setting up a Debian Linux install

Notes regarding various install configuration I typically perform. I am using Debian 10 (Buster) and Debian 11 (Bullseye) on a Dell XPS 15 i7 and an 11th generation Intel i9 11900 with Integrated Graphics UHD 750 desktop PC.

Power Management

Apt sources

comment out the following lines (or similar) using nano:
deb cdrom:[Debian GNU/Linux 10.9.0 Buster - Official amd64 DVD Binary-1 20210327-10:39]/ buster contrib main


$ su -l
# adduser USERNAME sudo
# exit

Then, log out of the desktop environment and log in again. You can check the success of the above by entering

$ groups



Debian 10 Buster | update-grub | command not found

update-grub2 is just a symbolic link to update-grub and both update grub2 configuration (because grub2 is the default)

Uninstall GRUB and use Windows bootloader

Problem with Windows bluescreen from Grub2

  • I can boot to either O/S but must use UEFI option rather than GRUB Menu option for Windows
  • When booting Windows off the GRUB menu, I get the blue screen

Answer: use UEFI to boot, not a bootloader


Booting successfully

enter grub. press E. Add nouveau.modeset=0 to the end of the line that starts with linux. press F10 to boot …OR…

Append ‘nomodeset’ (no quotes) to grub

Nvidia driver not recognised as automatically installed by Ubunto 20.04

Out of the box, Ubuntu installed the correct Nvidia driver for me.

However, according to the package manager, the driver (whilst in active use) wasn’t installed and some of the various underlying libraries were marked as no longer required (incorrectly!). Running sudo apt autoremove would delete off these various Nvidia libraries and cause the next boot to fail.

Running apt-mark wasn’t possible either because it couldn’t find the driver package. The ultimate fix was to manually install the driver, forcing it to be marked as “manually installed”.

sudo apt-get install nvidia-driver-460

Intel Integrated Graphics UHD 750

TL;DR. Append “i915.force_probe=4c8a” (no quotes) in grub as a linux kernel parameter

Getting any linux distro to work using latest hardware

Setup UHD 750 GPU on Intel Rocket Lake processors on Linux

drm/i915: Drop force_probe requirement for Rocket Lake

Intel Core i5 11600K + Core i9 11900K Linux Performance Across ~400 Benchmarks


[20 Oct 2021] I think the Intel UHD 750 chipset is so new that multi-monitor is not supported in the Linux kernel bundled with Debian Bullseye, see: and After 2 weeks of trying everything, I’ve caved in and bought graphics card with a NVIDIA chip: ASUS GT710-4H-SL-2GD5 GeForce GT 710 2GB GDRR5 with 4 x HDMI ports and single slot for silent multi-monitor productivity
[25 Oct 2021] The Nvidea card worked out of the box with Debian 11 (Bullseye) using the i915 driver. It also worked out of the box with Ubuntu with Nvidea 470 drivers installed (nb. nomodeset needed to be added to grub however)

Note: none of the following commands in this section should need to be performed manually (when everything is working as it should)

X Window Rotate and Resize
xrandr -q
xrandr --verbose

How to dump out the current display drivers: inxi -Gx

xrandr --output HDMI-1 --auto --right-of DP-1

HDMI not detected on Ubuntu 18.04 (Intel UHD Graphics 620)

Display Manager

Installing LXQT manually

Reference: Installing LXQT in Ubuntu on Ubunut20.04 (link)

sudo apt-get update
sudo apt install lxqt sddm
sudo dpkg-reconfigure sddm

Switching back to Gnome:
sudo dpkg-reconfigure gdm3

Installing cinnamon manually

sudo apt install tasksel
sudo tasksel


sudo apt-get update
sudo apt-get install task-cinnamon-desktop

Multi-monitor setup on my Dell XPS 15 using Cinnamon

Where the multi-monitor setup is stored: ~/.config/monitors.xml [OR /home/frankray/.config/monitors.xml] (trim the ” .txt” from the filename)

Adding WIFI

apt edit-sources

#contrib non-free are required –>
deb buster main contrib non-free

apt update
apt install firmware-atheros

File system customisations

Mount shared NTFS partition

Safely sharing a partition between Windows and Linux

nano /etc/fstab

UUID=F8B2281EB227E03C /home/frankray/Storage ntfs defaults,nls=utf8,umask=000,dmask=027,fmask=137,uid=1000,gid=1000,windows_names 0 0

Introduction to fstab

Create a large storage partition

I often take an image of my linux partition (using Aomei Backupper) so that I can muck around with settings and simply reinstall it if/when I make breaking changes.

Because I want the image to be small but include all my user settings (typically saved in various ‘.’ files under my home directory), I’ve found the best way to do this is to leave the /home directory on the same partition as the Linux install, but move out large files, often source from GitHub, to another separate partition.That why I have a complete system backup without chewing up diskspace with files I can just re-fetch if needed.

The following commands will create such a partition:

sudo blkid

sudo gedit /etc/fstab

UUID=126ba622-b87c-410d-96c7-8ef1a0ad4e08 /home/frankray/Storage ext4 defaults 0 0

#change the permission of the folders and contained files you want to access
sudo chown -R frankray /home/frankray/Storage

#To mount all file systems in /etc/fstab, run:
sudo mount -a

Final Tweaks

Some truly excellent suggestions I followed from here:

Frank Ray

Frank Ray & Associates is a software engineering consultancy that builds high quality software for businesses.

We develop new applications, automate manual processes, integrate vendor packages, replace Excel workarounds, fix unreliable applications, retire end of life software and remove dependence on poor value suppliers.

Get in touch if you need our help

Leave a Reply