Tag: Screenshot

  • How to Update Your Linux Kernel on Debian Bookworm 12 to the Latest Available on Backports

    terminal screen with system info: jason@desktop:~$ screenfetch | lolcat
         _,met$$$$$gg.           jason@desktop
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 12 bookworm
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 6.12.32+bpo-amd64
   ,$$P'              `$$$.      Uptime: 10h 8m
  ',$$P       ,ggs.     `$$b:    Packages: 2323
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.2.15
   $$P      d$'     ,    $$P     Resolution: 1920x1080
   $$:      $$.   -    ,d$$'     DE: Xfce
   $$\;      Y$b._   _,d$P'      WM: Xfwm4
   Y$$.    `.`"Y$$$$P"'          WM Theme: Haiku-Alpha
   `$$b      "-.__               GTK Theme: BeOS-r5-GTK-master [GTK2]
    `Y$$                         Icon Theme: BeOS-r5-Icons-master
     `Y$$.                       Font: Swis721 BT 9
       `$$b.                     Disk: 7.7T / 11T (75%)
         `Y$$b.                  CPU: AMD Ryzen 7 7700 8-Core @ 16x 5.389GHz
            `"Y$b._              GPU: NVIDIA GeForce RTX 3090, NVIDIA RTX A4000, NVIDIA RTX A4000, NVIDIA RTX A4000
                `""""            RAM: 9486MiB / 63916MiB

    If you’re like me, you might have newer computer hardware that isn’t fully supported by Linux kernel 6.1, which is installed with Debian Bookworm 12. Thankfully, Debian offers Backports, or newer software in testing in Trixie, the development name for Debian 13, that will eventually find its way into future Debian releases for use on an otherwise stable release of Bookworm.

    Updating to a newer kernel often brings more hardware compatibility. However, it’s important to remember that using a backport kernel can introduce potential compatibility issues with the software officially supported on Bookworm. Even if installing the latest kernel causes some issues, you can choose to boot from one of your older 6.1 kernels on your install as long as you don’t delete them (by using the apt autoremove command).

    I wrote this guide based on my experience installing Linux kernel 6.12 from Backports with the non-free firmware that my hardware needs to work. If you are trying to keep your system free from non-free software, you can omit those references in the instructions below.

    Before doing any changes to your Debian installation, remember to backup your files first. Saving important files in more than one media and storing it backups in different physical locations is best practice.

    After backing up your files, make sure your install is up-to-date with these commands:

    sudo apt update
    sudo apt upgrade

    After those updates complete, it’s a good rule of thumb to do a reboot to begin working with a clean slate.

    Next, add Debian Backports to /etc/apt sources.list. I used vi to do this:

    sudo vi /etc/apt/sources.list

    In vi, arrow down to the bottom line, type a lowercase “o” to add a blank line below the current line, type lowercase “i” to enter input mode, and type the following line into the document:

    deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware

    After double checking the added line, press the “Esc” key, and type “:wq” to write the file and quit vi.

    Now, you need to update apt again:

    sudo apt update

    After the completes, enter this command to install the latest kernel from backports along with the kernel’s headers and firmware that might be needed for your hardware (such as networking card, video card drivers, etc.).

    sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64 firmware-misc-nonfree

    It might take awhile for the installation to complete. If there are no errors, it should return you to your terminal prompt. If it did, reboot your computer to load the new kernel.

    After your computer boots up again, you can verify that you are running the latest kernel by entering this command:

    uname -r

    After installing the latest kernel, my computer reports this from the uname -r command:

    6.12.32+bpo-amd64
  • Flying Around Azeroth for Research

    Debian 12 Bookworm desktop that looks like BeOS. World of Warcraft is in the foreground over a number of icons. Oracle VirtualBox is hosting Windows 7 Professional 32-bit, which is running SingleCore Vanilla.

    My current access to Azeroth is kind of convoluted. It’s a little bit like an incantation or prayer that my Undead priest Mordvar might have to speak in order to heal a comrade or hurt a foe.

    I’m running World of Warcraft 1.12 via Wine in the foreground window where you see Mordvar flying a Tawny Wind Rider on a flight path. In the background on the right, I have Windows 7 Professional 32-bit (a copy that I received for free from a Microsoft event in Ohio some years back) running in Oracle VirtualBox. And in Windows 7, I have an old copy of SingleCore Vanilla, a WoW server emulator that I connect to on my local machine.

    This weird assemblage allows me to explore Azeroth for research using admin tools that are otherwise unavailable to normal WoW players.