The Retro Center
Home | Blog | Projects | Follow Us
Search Eng Dark

Pablo Toledo Guides, Computers 2020-08-14

Super Upgrade Apple IMac Mid 2011 21.5 A1311 - Install Ubuntu to patch VBios (Part 2)

Pre-process: Before changing the GPU

This procedure should be performed before replacing the graphics card, i.e. still using the original AMD card.

When installing a video card different from Apple's factory settings, it may not be recognized properly by the system and some important features of the iMac may be lost, such as the options for startup, recovery, and screen brightness control. All of these are important functionalities for any user.

These limitations can be solved. It is only necessary to make some modifications for the new graphics card to work with characteristics similar to those of the original card.

One of the easiest ways to do this is by using a dual-boot installation with Windows. In that case, Windows must be installed beforehand and you need to make sure that your computer starts it by default before changing your graphics card.

Personally, I prefer Unix-based or Unix-like operating systems (the last Windows I used was XP), so I decided to perform this procedure using Linux.

Since I had other SATA hard drives available, I temporarily replaced the main drive with one of them and installed Ubuntu before changing the video card. I made sure that the computer booted properly from Ubuntu.

It should be noted that the architecture of a 2011 iMac with an Intel processor is similar to that of a conventional PC. However, since it does not have a traditional BIOS, we cannot access the same configurations. Even so, Mac computers allow you to display a boot selection screen by holding down the Alt key during power-up.

To install Ubuntu, simply download a conventional installation image for PC and burn it to a DVD or create a bootable USB stick. You can use a USB stick, an external hard drive, or any other compatible device.

I unplugged the main hard drive, replaced it with an SSD, and installed Ubuntu by booting from a USB stick. The installation process is pretty much the same as on any PC.

As a warning, during this procedure I lost connection to the Apple Bluetooth keyboard and mouse, so I had to connect wired peripherals. This is important to keep in mind, because if you don't have a wired keyboard and mouse, you could be unable to continue until you get them.

To perform this process, I relied on Curtis Gross's guide. Since I prefer Unix-based operating systems, the following video summarizes much of the procedure I used. If you prefer to work with Windows, you can follow the MacintoshMen's lead in this video.

Recently, Curtis Gross posted a video showing an easier way to update the VBIOS, without the need to install Linux on the hard drive. I haven't personally tried this method, but I think it's a great alternative, as Linux or Windows are only used as a platform to run the nvflash software. Once the VBIOS is updated, you don't need to use those operating systems again.

Step 0: Create Windows or Linux installation media

When downloading Ubuntu, I burned the image to a USB stick using the disk tool included in the operating system (*Disk Utility*), using the restore from an image option.

However, if this tool does not suit you, there are many other alternatives, such as BalenaEtcher or UNetbootin. The choice will depend on the operating system you use to update the VBIOS.

Step 1: Disable SIP (System Integrity Protection)

This step requires turning the computer off and on again by holding down the 'Cmd' key to access the recovery options.

Once the recovery tool is launched, we open the Terminal.

We run the following command to disable SIP:

Terminal
$ csrutil disable
Once the system integrity protection is disabled, we can change the hard drive and install another operating system.

Step 2: Connect a clean disk and boot from the USB drive

To access the boot selection screen, we hold down the Alt key on the Apple keyboard (or its equivalent on a PC keyboard) during power-up.

In my case, I selected the EFI Boot icon, identified by the symbol of a USB stick (orange). Immediately started booting from the USB drive with Ubuntu.

Select the Install Ubuntu option.

If you have experience using Ubuntu, the process is simple and quick. In my case, I didn't need to keep the information on the hard drive, so I deleted all of its contents. My only goal was to get the iMac to boot automatically with Ubuntu so that I could install the software needed to update the VBIOS.

Once the installation is complete, we remove the USB stick and check that the computer starts automatically with Ubuntu or Windows, depending on the operating system we have installed.





Previous article
Super Upgrade Apple iMac 2011 - Programming an ESP32 for brightness control (Part 1)
In this second part of the project, I prepared an ESP32 running MicroPython to control the iMac's display brightness using a PWM signal. I describe the firmware installation process, the development environment setup, and the execution of the scripts required to establish communication and control the backlight intensity.

Next article
Super Upgrade Apple iMac 2011 - Disassembly, CPU and GPU replacement (Part 3)
At this stage of the project, I disassembled the 2011 iMac to upgrade its processor and graphics card. I replaced the original CPU with an Intel Core i7-2600S and the GPU with an NVIDIA GTX 765M, prioritizing the balance between performance and temperature. Finally, I made a provisional assembly to check that the new hardware booted correctly before continuing.

Comments (0)

No comments yet.

Leave a comment

Name
Email
Never shown; we send you a link to confirm it.
Comment
Up to 2000 characters.
Challenge[Challenge image]
Type the characters in the image:
Comments are published once a moderator approves them.

The Retro Center