robotthoughts

Installation Notes for Kubuntu 18.10 on the Alienware 17 R5 Laptop

Before Installation

Installing Kubuntu / Ubuntu on the Alienware 17 R5 Laptop NVME Drive

To get the NVME drive or M.2 drive to show up as an installation candidate for the installer, you need to make a small BIOS change and modify two kernel arguments at boot time.

First, boot into the BIOS on the AW 17 R5. To do this, press F2 when booting up.

Change the SATA setting in the BIOS from RAID to AHCI. Save and exit.

Reboot and press F12 to select the boot disk image. I used a spare USB key as the boot image.

Based on the information from the link below, I needed to load the NVME driver to recognize my M2 drive. To do this I need to follow two steps.

  1. Wait until the UEFI/BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.) Note: UEFI fast boot may be to fast to give time to press any key.
  2. With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Kbuntu logo, you’ve missed the point where you can enter the GRUB menu.) With UEFI press (perhaps several times) the Escape key to get grub menu.

Now that you are in the grub menu, you can edit the kernel parameters. Press ‘e’ to edit the kernel parameters.

At the end of the line containing the “quiet splash —” option, add “nvme_load=YES” and remove “quiet splash —“.

Press ctrl-X to accept the change and boot into the installer as normal. You should see the NVME drive as an option for installation.

Link information:

https://www.dell.com/support/article/us/en/04/sln299303/loading-ubuntu-on-systems-using-pcie-m2-drives?lang=en

Installation Notes

Do not encrypt, or at least know how to proceed

During the install, do not choose to encrypt the filesystem. For some reason I cannot fix yet, the password screen is loaded but not visible after a reboot. I can type the password to decrypt the file system as normal, but the process is not visible. After I type the password and press enter, the reboot proceeds and I load into SDDM to select my user and enter my account password.

Use a USB Mouse

Also, during the install you will need to use a USB mouse. The trackpad will not work reliably until we make a few changes post install.

Post Installation

Fix the trackpad

We can fix the trackpad drivers after the install by following the instructions below.

Open a terminal window and type the commands below:

sudo su
echo 'blacklist i2c_hid' >> /etc/modprobe.d/blacklist.conf
depmod -a
update-initramfs -u

More detail is available from this link:

https://fzheng.me/2017/05/11/fix-touchpad-ubuntu-1604/

Install NVIDIA Drivers

Installation of the NVIDIA drivers work like normal on Kubuntu/Ubuntu.

Open a terminal window and type the commands below:

ubuntu-drivers devices
sudo ubuntu-drivers autoinstall

The output should look similar to the information below, except I did not need to install the drivers:

rich@PortableServer:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001BE1sv00001028sd0000088Cbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP104M [GeForce GTX 1070 Mobile]
driver   : nvidia-driver-390 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

rich@PortableServer:~$ sudo ubuntu-drivers autoinstall
[sudo] password for rich: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

That should install the correct NVIDIA drivers and they will be active after a reboot.

Next Post

Leave a Reply

© 2018 robotthoughts

Theme by Anders Norén