Although I have installed Ubuntu for many times, this is the first time that I face so many weird issues such as black screen, no response, grub disappear. Therefore, I write the solution down for future reference.
CPU: Intel Core i7-7700K
GPU: Nvidia GTX 1080 Ti
Motherboard: Asus Z270 Prime
Wi-fi Adaptor: Netgear A6210
I burn Windows 10 and Ubuntu 16.04 into two USB flash drives. First I install Windows using UEFI successfully. Then I try to boot from Ubuntu USB drive using UEFI. A grub menu with several options including “Try Ubuntu” and “Install Ubuntu” shows. However which option I choose, it will be a black screen and I cannot go through.
By doing some research and keep trying for many times, I finally find that it is graphic driver compatibility issue. My 1080 Ti is too new for Ubuntu 16.04 that it doesn’t support the graphic card. That’s why there always be a black screen.
When booting, get into BIOS settings and turn off Fast Boot and Secure Boot.
To turn off secure boot on Asus motherboard, first go into security keys and save all four keys into USB drive. Then delete PK key and you will see that the secure boot option is turned off.
Boot from Ubuntu USB drive. In Grub menu, move cursor to Install Ubuntu and press ‘e’ to edit. Add one key word ‘nomodeset’ before the string”quiet splash”. This will turn off graphic card drivers. Then press F10 to continue installing and you will see the ubuntu logo appears.
Continue install Ubuntu 16.04.
After successfully install Ubuntu, when rebooting, in Grub menu, move cursor to “Ubuntu”, then press ‘e’ to edit. Same as previous step, add ‘nomodeset’ in the line of “Linux”. Press F10 to boot. Otherwise, you will see a black screen instead of going into your system.
In your system, make sure the internet is connected. In my case, I am using Wi-fi Adaptor Netgear A6210 that Ubuntu doesn’t have a default driver.
git clone https://github.com/jurobystricky/Netgear-A6210 cd Netgear-A6210 make sudo make install sudo service network-manager restart
This will enable your Wi-Fi adaptor.
To install drivers for GTX 1080 Ti, follow the code below:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get install nvidia-381
Reboot your computer and you can go into Ubuntu without any problem. To verify the driver version, type nvidia-smi in your terminal and make sure the driver version part of the output is as you expected.