Fixing Grub in UEFI mode

Boot Repair never worked for me. Despite the dual boot, Windows booted every time and so I had a workaround using Escape key and following up Boot Options from there which was always an inconvenience. Another temporary fix had to be repeated. So the permanent that has been successful is discussed ahead.

Using terminal:

gksu gedit /etc/default/grub

In this file, find the line:

GRUB_CMDLINE_LINUX=""

Edit this line to look like:

GRUB_CMDLINE_LINUX="acpi_backlight=vendor nouveau.modeset=1"

Save the file and issue a final command to flush the new changes:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot and enjoy!

Untangling WiFi Issue in Ubuntu 16.04

After successful installation of Ubuntu 16.04 on my HP Envy x360, I confronted an issue with WiFi with status device not ready. Researching the issue, I found it happens to be a common issue with this LTS. Moving on to fixing it, I tried numerous solutions and each of them proved futile. After the arduous attempts, I found the needle in the haystack and it was specified for the HP Envy series only. If you encounter a similar issue, follow up the steps below-

First check the results for

lsmod | grep acer

If the above command returns

acer_wmi

Then you should blacklist the module using

echo "blacklist acer_wmi" | sudo tee -a /etc/modprobe.d/blacklist.conf

Reboot and you are done!