Skip to content

Instantly share code, notes, and snippets.

@jacksenechal
Last active February 22, 2019 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacksenechal/72c4e79d7e89d14b27479639d89118f9 to your computer and use it in GitHub Desktop.
Save jacksenechal/72c4e79d7e89d14b27479639d89118f9 to your computer and use it in GitHub Desktop.
Installation Notes for Ubuntu 18.10 on Thinkpad P52

Installation Notes for Ubuntu 18.10 on Thinkpad P52

Update BIOS

DO NOT SKIP THIS STEP We have already bricked a few laptops by switching from hybrid to discreet graphics mode before updating the BIOS.

After this I switched to discreet mode for installation. I don't know if that was necessary.

Install Ubuntu

Installation was finicky because of the display drivers. It seemed to work better to go directly to installation rather than "trying it first", but YMMV. It may be useful to set some kind of modeline in GRUB to force basic graphics.

Fix display drivers

Install nvidia proprietary drivers.

sudo ubuntu-drivers devices
sudo apt-get install nvidia-390

Fix touchpad

After installing the NVidia drivers, the Elantech pointing devices stopped working. This appears to be a bug in Kernel versions 4.18 and 4.19. I used the UKUU app to install kernel version 4.20, and the touchpad and trackpoint devices work.

Fix brightness keys

I ended up switching graphics back to hybrid mode in the BIOS and the keys started working.

https://askubuntu.com/a/528400 As a workaround if running in discreet graphics mode: nvidia-settings -n -a BacklightBrightness=60 (values between 0 and 100)

Provisioning Kubernetes

I used microk8s. I followed the directions to install it, and then ran microk8s.enable dashboard dns. Networking wasn't happening out of the box, and I found I needed sudo iptables -P FORWARD ACCEPT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment