0

I just want to get started with dual booting Ubuntu and Windows. I have a Dell XPS 9570 (need NVIDIA drivers too and CUDA and TensorFlow installed) and there are bits of information I can find online but since I am new for my first time I would require an entire step by step guide (specific to dell xps 9570) that explains all steps, commands, drivers, issues that may be faced and how to fix them. That guide would also need to include how to install CUDA and TensorFlow along with NVIDIA GPU drivers and Intel GPU drivers.
Thank you in advance guys.

  • https://discourse.ubuntu.com/t/install-ubuntu-desktop/13618/2 https://discourse.ubuntu.com/t/install-ubuntu-server/13949 – guiverc Apr 14 '20 at 23:38
  • 2
    it is rare, and unnecessary to create a step-by-step installation guide for a specific computer model - considering the fact that there are 1) many different computer models existing, and 2) even the same model, there are many different configurations. A generic installation guide will apply to most computers, only when there are specific problem, then you look for solutions. – FangQ Apr 14 '20 at 23:38
  • So I can pick up tips and info from various guides and use them? – BeastSolos Apr 14 '20 at 23:43
  • Does this answer your question? How do I install Ubuntu? Alternately, there are several hundred step-by-step examples on YouTube. – user535733 Apr 15 '20 at 00:01
  • Are these step by step examples (some of them) specific to dell xps 9570 and its particular drivers etc? – BeastSolos Apr 15 '20 at 00:06
  • Also is https://medium.com/@pwaterz/how-to-dual-boot-windows-10-and-ubuntu-18-04-on-the-15-inch-dell-xps-9570-with-nvidia-1050ti-gpu-4b9a2901493d and https://medium.com/@peterpang_84917/personal-experience-of-installing-ubuntu-18-04-lts-on-xps-15-9570-3e53b6cfeefe any good guides. They seem to be specifically for Dell XPS 9570 – BeastSolos Apr 15 '20 at 00:06
  • 1
    See also: https://help.ubuntu.com/community/UEFI & https://askubuntu.com/questions/221835/installing-ubuntu-on-a-pre-installed-windows-10-with-uefi & https://www.dell.com/support/article/en-us/sln151664/how-to-install-ubuntu-linux-on-your-dell-pc?lang=en Dell typically requires Secure boot off. drives set to AHCI, but install Windows AHCI driver first, UEFI update, SSD firmware update and if nVidia, the nomodeset boot parameter. – oldfred Apr 15 '20 at 02:59
  • Also asked at https://ubuntuforums.org/showthread.php?t=2440743 – guiverc Apr 15 '20 at 10:53

1 Answers1

0

The details are here in many answered questions or the help section. To summarize, since many answers are old:

  1. Pick a compatible set of software e.g. CUDA 10.1, DNN 7.6.5, Tensorflow 2.1.
  2. Install Ubuntu, using the "nomodeset" word edited onto the kernel boot line until you have the latest offered proprietary Nvidia drivers installed.
  3. Install the proprietary Nvidia drivers. No need for any PPAs for graphics drivers, the ones in the standard repositories will do nicely. Probably the latest one is 435 or 440, depending upon the kernel.
  4. Pick a CUDA installation method WITHOUT any old Nvidia drivers. Avoid the .deb packages with the Nvidia driver number in their name. There is a list of debs, pick one of the top level cuda ones, the other are brought along from that one. Normally, I'd recommend avoiding the .run file installation method, but I think that actually allows you to skip the unwanted Nvidia drivers. The real problem with the old drivers, all the CUDA files depend upon them, they (partially) delete the current drivers, and may not be fully configured, causing problems every kernel update, and maybe even subsequent logins. If you update drivers again, you will delete all the old ones, and leave all the CUDA files subject to autoremove.
  5. Install any old gcc and g++ the CUDA versions requires. Simply add links to these (gcc, g++ ar, nm, ranlib) to the ...cuda/bin. This should be before all the system bin locations in your PATH, as per standard instructions, so they will be used.
  6. Make the samples, and add any missing libraries necessary.
  7. Install the Intel Deep Neural Networking DNN packages. I just put them into the existing cuda locations (cuda/bin cuda/lib64 cuda/include). Again, make the samples, and add any missing libraries.
  8. Tensorflow has it's own web site with installation instructions. At least with the python/pip installs, when a requested (old) version of a file/package is not available, later ones will be suggested.

All documented, but old instructions typically have unneeded complications -- it's gotten simpler with time.


Those links seem reasonable, I have no direct experience with MOK utils. Definitely check that your BIOS/UEFI settings are the latest. The inst. I used were https://medium.com/@Oysiyl/install-tensorflow-2-with-gpu-support-on-ubuntu-19-10-f502ae85593c Only had to update the python3 -m pip install ...tensorflow==2.1.0rc0 to tensorflow==2.2.0rc2 (latest choice given when the original failed on an Ubutnu 20.04B install).

ubfan1
  • 17,838
  • As for specific instructions for Dell XPS 9570 (drivers etc) are https://medium.com/@peterpang_84917/personal-experience-of-installing-ubuntu-18-04-lts-on-xps-15-9570-3e53b6cfeefe and https://medium.com/@pwaterz/how-to-dual-boot-windows-10-and-ubuntu-18-04-on-the-15-inch-dell-xps-9570-with-nvidia-1050ti-gpu-4b9a2901493d good guides? – BeastSolos Apr 15 '20 at 01:06