Ubuntu – Boot Problem with Nvidia GTX 1070

bootdriversgpunvidia

Today I tried several times to install Ubuntu but I have some GPU problems.

I have a bootable stick. When I boot in UEFI mode all its normal but the installer isn't able to install the boot loader.

When I boot in leagacy mode I'm able to install Ubuntu but only when I unplug my GPU GTX 1070.

When I don't do that, I get an this initialization error from the installer:

3.021954] nouveau 0000:01:00.0: unknown chipset (134000a1)

I installed Ubuntu normally without the GPU. I installed the drivers, rebooted, shut down, pluggeed in the GPU and tried to boot but it got stuck at:

/dev/mapper/isw_bdifbbjbai_Raid0p3: clean, 191449/8855552 files, 1677252/34500448 blocks

What should I do? When I unplug the GPU I can boot easily, but I need my GPU! 😀

My PC has a GTX 1070 GPU, i7 4790K CPU, and two hard drives:

  • 250 GB M.2 SSD, which contains Windows 10 and its boot loader.
  • 2 TB RAID-0 WD, with 1,85 TB for Windows 10 files and 150GB where I installed Ubuntu and its boot loader.

Best Answer

I had a similar problem with my GTX 1080 when installing Ubuntu 16.04. It seems that 16.04 does not support the latest Nvidia GPUs. I finally managed to install Ubuntu 16.04 along side with Windows 10 dual boot with my GTX 1080 unplugged. What I did is as follow.

  1. Before you install Ubuntu, go to BIOS setting and disable the GTX GPU. You may need to go through the BIOS settings for sometime to find the right option (something like IGX?).
  2. Note that before you reboot, you need to switch your monitor's cable to the motherboard video output, since after reboot, the GTX GPU would be disabled and you would not see anything.
  3. After that, choose the install media with UEFI, and go through the installation procedure as usual. The display should be alright.
  4. At the position where it asks on which device you want the Ubuntu installed, choose manual setting (the something else button?). And make partitions as you like. But remember to choose the whole device (i.e. /dev/sda or /dev/sdb) to install grub. DO NOT choose something like /dev/sda1.
  5. After the installation finished, reboot without changing graphical output device.
  6. When you are in your newly installed Ubuntu, open a terminal and install the appropriate Nvidia driver. You may check this question for more details. It's basically sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update and find the right driver for you. Check this also.
  7. Finally, reboot and change the graphical output device back to your GPU and everything should work normal. You can type nvidia-smi in a terminal to check if the driver is working.

One of my friend tried to install Nvidia driver from Ubuntu system setting. You may look into that as well. As for me, the above procedure works fine.

Related Question