Howto get Nvidia graphics card/video card running on Ubuntu 17.04

The main part of this article was originally my answering post related this question on AskUbuntu.

Nvidia's linux driver politics makes it impossible to run an ubuntu live environment out of the box. Even running the standard graphical installer is impossible (perhaps nouveau driver will support  my Nvidia GTX 1080 later). This article shall be a workaround  how to get Ubuntu running, unfortunatelly with propetiary drivers by Nvidia only.

This is my initial situation:

  • The graphics card I use is the Nvidia GeForce GTX 1080.
  • I want to use Ubuntu Budgie 17.04.
    This walkthough should also being suitable for other desktop environments like KDE (Kubuntu).
  • I have no integtated Graphics available.
  • My LAN is connected by cable via DHCP to the internet.

My walkthrough how I got it running:

  1. Download Ubuntu minimal installer (Link to ubuntu.com) and create a bootable usb stick. I prefer the Windows only tool Rufus.
  2. Choose "Install ubuntu" when booting from your boot usb stick and follow the instructions of the text installer (in one step you can choose your preferred desktop environment - in my case ubuntu Budgie)
  3. After installing reboot via rescue mode (there's an entry in GRUB)
  4. choose "command line prompt" in the rescue mode menu
  5. Type sudo ip -o link and look what's the name of your ethernet adapter
  6. Type sudo dhclient write-here-name-of-your-ethernet-adapter
  7. Then type sudo add-apt-repository ppa:graphics-drivers/ppa
  8. Then type sudo apt-get update
  9. Then type sudo ubuntu-drivers autoinstall
  10. If everything is installed and you have your command line prompt again, type reboot

Now the X-Server should work as expected with the GTX 1080