Tuesday, August 1, 2017

Install Ubuntu 16.04 LTS on HP Envy (2017)

1. Boot to BIOS and disable Secure Boot (F10)

2. If your not sure what to do and you do not fully understand how to troubleshoot hardware on Linux and your Google Kung-Fu is novice...you likely shouldn't be installing Linux on the physical hardware. Use Virtualbox on Windows/Mac instead.

3. Create a bootable USB (Use another machine) or when you take it out the box, connect to the Internet, grab the iso. Create a bootable file with Rufus: https://rufus.akeo.ie/

Ubuntu Download: https://www.ubuntu.com/download/desktop (*Use the LTS for software like VMware Horizon View, or other software that require LTS releases...it's more stable)

Kali Linux Download: https://www.kali.org/downloads/ (*Do not use Kali if your new to Linux)

4. Boot the USB and install how your normally would.

5. HP Envy doesn't launch Wi-Fi natively. It's using a softblock for some reason when Linux is installed. (I'm too busy to really dig or even care...)

6. This version of the HP Envy (16GB RAM/i7 CPU) is using the Intel wifi 7265. Download it and extract it into /lib/firmware (I used my Android Nexus to download the file and then just copied it and extracted it to /lib firmware just using USB tethering).

Intel wifi 7265: https://www.intel.co: m/content/www/us/en/support/network-and-i-o/wireless-networking/000005511.html 

Terminal:

cd Downloads/ && tar -xvf iw* && cd iwlwifi* && sudo cp iwlwifi-7265* /lib/firmware

7. Check for the softblock:

rfkill list
rfkill unblock all (*doesn't work sometimes. If it doesn't run this below. Doesn't matter that it's not an Acer...yeah..headscratcher moment.)

sudo tee /etc/modprobe.d/blacklist-acer.conf <<< "blacklist acer_wmi" && sudo reboot

8. Post reboot connect to your wi-fi. Your done. Make sure you enable/turn on your firewall. Be safe out there folks!

Note: Tested with Ubuntu 16.04.2 LTS, Linux Mint 18 and Kali Linux Rolling

Share: