About a month ago, I started a new job in St. Louis, Missouri. Upon arrival, I was given a Dell XPS 500 laptop for my dev machine. Immediately, I formatted the drive and installed Ubuntu 18.04. Well, I tried at least. When installing Ubuntu 18.04 (or any recent-ish version) on a Dell XPS laptop, there are a few special things you have to do first. This is due to the Nvidia graphics cards not playing well with Ubuntu.
After much trial and error, I finally figured out how to get Ubuntu to play well with Dell XPS laptops.
Follow these steps:
Disable Fast Boot and Secure Boot (or Secure loader) in the Bios.
Plug in the bootable USB with the Linux distro (mine was Ubuntu 18.04)
When you see the loader to "Install Ubuntu" etc ... press "e" and edit a line:
nomodesetand press F10 to boot.
Then after the installation is complete, you will have to reboot.
This time you will need to load the GRUB menu, (Hold Shift after bios splash and before the OS logo shows up, if You see the logo, you're too late. Again, press "e" and edit a line:
In the line that starts with
nouveau.modeset=0at the end of that line. (keep
After booting linux install the nvidia drivers.
ubuntu-drivers devices. We can see the current video card and the recommend driver. If you agree with that recommendation, run
sudo ubuntu-drivers autointsall.
If you do not agree with the recommendation, you can install the individual driver by
sudo apt-get install nvidia-384.
- Reboot. And then it's done.
Originally posted at tonyhammack.com