Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Install Zorin 15.3 OS on Macbook Pro (Mid 2010)
Amit Misra
Amit Misra

Posted on

     

Install Zorin 15.3 OS on Macbook Pro (Mid 2010)

Why Install Zorin OS 15.3, you ask?

Let me tell you why. After a week of agonising hit and trial methodologies and following countless tutorials/threads including very promising ones like this one -https://www.if-not-true-then-false.com/2021/debian-ubuntu-linux-mint-nvidia-guide/

I stumbled upon the following articlehttps://jeremy.geek.nz/2021/08/23/using-legacy-nvidia-gpus-in-ubuntu-20-04/ explaining the fact the NVidia 340.108 is only supported by the linux kernel version5.4.x.

The question why this specific version, that is because the Mid 2010 Macbook Pro comes with NVidia GeForce 320M graphics card. The only driver that supports this card it the NVidia 340.108 other than the default non performant open source nouveau x drivers.

I started looking around for a good distro that support kernel version5.4.xand to my delight I found Ubuntu 18.04 LTS supports this kernel and will continue to do so till 2028. This implies if all goes to plan my Mid 2010 can still be useful.

This also means that the steps mentioned here should be applciable not just for Zorin OS 15.3 but also for other Ubuntu 18.04 based distros as well.

Download the required OS

In case you want to continue with the Zorin OS, you can download 15.3 version fromhere. Download the iso image and burn it to a USB using tool likeEtcher.

Install Zorin OS

Once you have the OS burned plug the USB to the Mac book you want to install it on and restart the machine. As the machine boots up press theOption/alt key to get boot device seletion screen. Choose the module on which you have burned the Zorin image recently. The key point here is to uncheck the following options on theUpdates and other software screen -

  • Other options
    • Download updates while installing ubuntu
    • Install third-party software for graphics and wi-fi hardware and additional media formats.

Proceed with the installation as usual.

Post installation steps

Once the installation is completed and you are logged in to the newly installed OS. Perform the following tasks without restarting the machine -

  • Install all the updates, this can be done graphically or via CLI ensuring youDO NOT REBOOT the system
  • Setup the PCI-E bus identifiers. For this task you can followthis thread for creating the/etc/grub/01_enable_vga.conf file, butDO NOT REBOOT your system.
  • Check to see if the OS recognizes the underlying hardware using the following command -sudo ubuntu-drivers devices. The output of the command should look something like this -
== /sys/devices/pci0000:00/0000:00:17.0/0000:04:00.0==modalias : pci:v000010DEd000008A0sv0000106Bsd000000C2bc03sc00i00vendor   : NVIDIA Corporationmodel    : MCP89[GeForce 320M]driver   : nvidia-340 - distro non-free recommendeddriver   : xserver-xorg-video-nouveau - distro freebuiltin== /sys/devices/pci0000:00/0000:00:15.0/0000:02:00.0==modalias : pci:v000014E4d0000432Bsv0000106Bsd0000008Dbc02sc80i00vendor   : Broadcom Limitedmodel    : BCM4322 802.11a/b/g/n Wireless LAN Controller(AirPort Extreme)driver   : bcmwl-kernel-source - distro non-free
Enter fullscreen modeExit fullscreen mode

I had a hard time with Ubuntu 22.04 to get the output where the OS recognizes the NVidia card using the above command, even after installing thepatched version of the NVidia GeForce 320M 340.108 drivers with kernel version5.15 or5.17.

  • InstallAdditional Drivers using the GUI or CLI -sudo ubuntu-drivers autoinstall, once againDO NOT REBOOT the system post-installation.
  • The next steps are taken from the posthere.
    • Install nvidia-prime -sudo apt install --reinstall nvidia-prime
    • Switch to nvidia -sudo prime-select nvidia

NOTE: I did not remove the stray blacklist files as specified in the article, if you get the black screen after all then please follow all the instructions.

  • Finally run the following command to generate the xconfig file -sudo nvidia-xconfig
  • At this point please reboot your machine

Moment of truth

Ideally if all goes well, you should be greeted to your OS login or desktop screen without any issues. You can run the following command to see if everthing is working as expected -

nvidia-smiTue May  3 16:44:05 2022+------------------------------------------------------+| NVIDIA-SMI 340.108    Driver Version: 340.108        ||-------------------------------+----------------------+----------------------+| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC || Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. ||===============================+======================+======================||   0  GeForce 320M        Off  | 0000:04:00.0     N/A |                  N/A || N/A   51C   P12    N/A /  N/A |    181MiB /   252MiB |     N/A      Default |+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+| Compute processes:                                               GPU Memory ||  GPU       PID  Process name                                     Usage      ||=============================================================================||    0            Not Supported                                               |+-----------------------------------------------------------------------------+
Enter fullscreen modeExit fullscreen mode

Nvidia-Settings-Post-Driver-Install

I hope this article helps someone who is also trying to increase the life of their mac books.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Technical Architect | DevOps Enthusiast | Cloud Practitioner | Gamer
  • Location
    New Jersey
  • Work
    Staff Engineer/Architect at Weight Watchers Inc
  • Joined

More fromAmit Misra

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp