Linux on MacBook Air with NVIDIA drivers

In order to use the proprietary NVIDIA driver on a MacBook Air 3,1 (11-inch, late 2010) with the NVIDIA GeForce 320M chipset booting openSUSE Leap 42.1 in EFI mode, create the file /etc/grub.d/01_enable_vga.conf with the following content: #!/bin/sh set -e # Initialize the PCI-E registers of MBA 3,1 for the nvidia driver cat << EOF btrfs-mount-subvol /dev/sda3 […]

Rollback Debian Upgrade

A single Debian upgrade (apt-get upgrade) can be rolled back with the following command. The upgrade is identified by its date and time, which has to be looked up from /var/log/apt/history.log first. grep -A 2 ‚Start-Date: 2016-06-26 17:38:49‘ /var/log/apt/history.log | tail -1 | sed -r -e „s/Upgrade: //“ -e „s/([^:]+):amd64 \(([^,]+), [^,]+\),?/\1=\2/g“ | xargs apt-get […]