Matt's picture
Hey folks, first timer here. I'm admittedly a noob compared to some (probably most) of you. I've tried searching the forums for some key words, but haven't been able to find what I'm looking for. Apologies if this conversation already exists in another thread. If you could point me in the right direction it would be greatly appreciated. I am trying to get the MySQL ISO running with either VirtualBox or UTM on an M3 MacBook Pro. Like I said, I've tried searching these forums and elsewhere on the web with no luck. Has anybody been able to get this running?
Forum: 
Tags: 
Jeremy Davis's picture

Hi Matt

The M3 MacBook Pro uses an ARM CPU. Currently we only provide x86_64 (aka amd64) TurnKey builds. FWIW it's possible to emulate ARM on an x86_64 chip, but AFAIK not (yet?) the other way around.

We plan to support ARM64, but unfortunately, there's no ETA.

If you are really keen to get a TurnKey server (or any other x86_64) running locally, the only thing I can suggest is to use an x86_64 PC - or run it in the cloud. Most TurnKey servers (e.g. MySQL and most, if not all LAMP based servers) don't actually require much in the way of hardware resources, so a second hand PC (something built within the last ~5-10 years) would work fine. So that might be a "workaround"? If power usage is a concern, then an old laptop would be a legitimate option.

Another option would be to install an ARM based Linux OS. Debian (what TurnKey is based on) provide an ARM64 install ISO. If you go that way and want a TurnKey like server, during the install process, select a base server system (i.e. no GUI). IIRC the Debian installer will also ask if you want to install some common server software - e.g. SSH, Apache, MySQL (actually MariaDB - a fork of MySQL), etc. Even if it doesn't and/or you want additional software, then installing software (via apt) is pretty straight forward. Using a CLI might be initially intimidating, but once you get past that, it's honestly pretty good. FWIW I actually prefer it for server tasks. Also, in preparation for ARM support, all the custom software we provide is available via an ARM specific TurnKey apt repo. I can assist you to set that up if you want?

Regardless of which way you want to go, don't hesitate to ask for more info and/or guidance. Someone else might jump in and/or I try to respond here at least once or twice a week. Although sometimes you might need to be patient...

Matt's picture

Thanks Jeremy. Tons of great info, very much appreciated. Question, I tried UTM because of its ability to emulate CPU architectures different than the machine that it is running on. In theory, if I tell it to emulate Linux on x86_64 architecture, shouldn't that work?
chrismcdonald's picture

Hi there! Welcome to the forum! Getting MySQL ISO running on an M3 MacBook Pro with VirtualBox or UTM can be a bit tricky, especially with the M1/M2/M3 architecture. I recommend checking out specific guides or forum threads related to running Linux distributions on ARM architecture, as they often contain the necessary configurations. Also, searching for compatibility issues between MySQL and the virtualization software can be helpful. If you find anything useful, please share it here. Good luck!
Matt's picture

Thanks chrismcdonald. I will research what you recommended and post any good info I find. In the meantime, take a look at this, maybe it contains some clues on what I need to do or where to look next..?? After creating a VM and pointing it to the iso, I get stuck here: UEFI Interactive Shell v2.2 EDK II UEFI v2.70 (EDK II, 0x00010000) Mapping table BLK0: Alias(s): PciRoot (0x0)/Pci (0x1F,0x2)/Sata (0x0,0xFFFF,0x0) BLK1: Alias(s): PciRoot (0x0)/Pci (0x1F,0x2)/Sata (0x0,0xFFFF,0x0)/CDROM (0x0) BLK2: Alias(s): PciRoot (0x0)/Pci (0x1F,0x2)/Sata (0x1,0xFFFF,0x0) Press ESC in 1 seconds to skip startup.nsh or any other key to continue. Shell>

Add new comment