Linux on Apple devices

Last updated

The Linux kernel can run on a variety of devices made by Apple, including devices where the unlocking of the bootloader is not possible with an official procedure, such as iPhones and iPads.

Contents

iPad devices

In June 2022, software developers Konrad Dybcio and Markuss Broks managed to run Linux kernel 5.18 on a iPad Air 2. The project made use of the Alpine Linux based Linux distribution called postmarketOS, which is primarily developed for Android devices. The developer suggested that they used the checkm8 exploit which was published back in 2019. [1] [2]

iPhone devices

In 2008, the 2.6 Linux kernel was ported to the iPhone 3G, the iPhone (1st generation), and the iPod Touch (1st generation) using OpeniBoot. [3]

Corellium's Project Sandcastle made it possible to run Android on an iPhone 7/7+ or an iPod Touch (7th generation) using the checkm8 exploit. [4]

iPod devices

iPodLinux is a Linux distribution created specifically to run on Apple's iPod.

Mac computers

Motorola 68k Macs

Linux can be dual-booted on Macs that use Motorola 680x0 processors [5] (only 68020 and higher, [6] and only non-"EC" processor variants since an MMU is required [7] ). The Linux/mac68k community project provides resources to do so, [8] [9] and an m68k community port of the Debian Linux distribution is also available. [7] [9]

PowerPC Macs

PowerPC Macs can run Linux through both emulation and dual-booting ("bare metal"). The most popular PowerPC emulation tools for Mac OS/Mac OS X are Microsoft's Virtual PC, and the open-source QEMU. [9]

Linux dual-booting is achieved by partitioning the boot drive, installing the Yaboot bootloader onto the Linux partition, and selecting that Linux partition as the Startup Disk. This results in users being prompted to select whether they want to boot into Mac OS or Linux when the machine starts. [9]

By 2008, a number of major Linux distributions had official versions compatible with Mac PowerPC processors, including: [9]

All of the above PowerPC ports have since been discontinued, except for Gentoo.

Intel Macs

Macs with Intel processors can run Linux through virtualization or through dual-booting. Common virtualization tools for Intel Macs include VMware Fusion, Parallels Desktop, and VirtualBox. [9]

In 2010, Whitson Gordon from Lifehacker noted that Apple has streamlined the process of dual booting Windows on Macs, but not for Linux. rEFIt made it possible to dual boot Linux. [15]

Macs which utilize the T2 chip from 2018 can run Linux distributions natively using the T2Linux project. [16]

Apple silicon Macs

Macs with Apple silicon processors can run Linux through the Asahi Linux command line installer for certain distributions including Fedora, Debian, and Ubuntu. While most features are available, some are unavailable on certain silicon processors and devices. [17]

See also

Related Research Articles

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system made from a software collection that includes the Linux kernel and often a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices and personal computers to powerful supercomputers.

Darwin is the core Unix operating system of macOS, iOS, watchOS, tvOS, iPadOS, visionOS, and bridgeOS. It previously existed as an independent open-source operating system, first released by Apple Inc. in 2000. It is composed of code derived from NeXTSTEP, FreeBSD, other BSD operating systems, Mach, and other free software projects' code, as well as code developed by Apple.

<span class="mw-page-title-main">Cooperative Linux</span> Software to run both Windows and Linux

Cooperative Linux, abbreviated as coLinux, is software which allows Microsoft Windows and the Linux kernel to run simultaneously in parallel on the same machine.

HFS Plus or HFS+ is a journaling file system developed by Apple Inc. It replaced the Hierarchical File System (HFS) as the primary file system of Apple computers with the 1998 release of Mac OS 8.1. HFS+ continued as the primary Mac OS X file system until it was itself replaced with the Apple File System (APFS), released with macOS High Sierra in 2017. HFS+ is also one of the formats supported by the iPod digital music player.

Computer operating systems based on the Linux kernel are used in embedded systems such as consumer electronics, in-vehicle infotainment (IVI), networking equipment, machine control, industrial automation, navigation equipment, spacecraft flight software, and medical instruments in general.

Technical variations of Linux distributions include support for different hardware devices and systems or software package configurations. Organizational differences may be motivated by historical reasons. Other criteria include security, including how quickly security upgrades are available; ease of package management; and number of packages available.

<span class="mw-page-title-main">PulseAudio</span> Sound server for Unix-like operating systems

PulseAudio is a network-capable sound server program distributed via the freedesktop.org project. It runs mainly on Linux, including Windows Subsystem for Linux on Microsoft Windows and Termux on Android; various BSD distributions such as FreeBSD, OpenBSD, and macOS; as well as Illumos distributions and the Solaris operating system. It serves as a middleware in between applications and hardware and handles raw PCM audio streams.

HAL is a software subsystem for UNIX-like operating systems providing hardware abstraction.

Upstart is a discontinued event-based replacement for the traditional init daemon—the method by which several Unix-like computer operating systems perform tasks when the computer is started. It was written by Scott James Remnant, a former employee of Canonical Ltd. In 2014, Upstart was placed in maintenance mode, and other init daemons, such as systemd, were recommended in place of Upstart. Ubuntu moved away from Upstart with the release of version 15.04 in favor of migrating to systemd. As of March 2023, there have been no updates released for Upstart since September 2014.

OtherOS is a feature of early versions of the PlayStation 3 video game console, allowing user installed software, such as Linux or FreeBSD. The feature was removed since system firmware update 3.21, released on April 1, 2010.

<span class="mw-page-title-main">BeagleBoard</span> Single board computer

The BeagleBoard is a low-power open-source single-board computer produced by Texas Instruments in association with Digi-Key and Newark element14. The BeagleBoard was also designed with open source software development in mind, and as a way of demonstrating the Texas Instrument's OMAP3530 system-on-a-chip. The board was developed by a small team of engineers as an educational board that could be used in colleges around the world to teach open source hardware and software capabilities. It is also sold to the public under the Creative Commons share-alike license. The board was designed using Cadence OrCAD for schematics and Cadence Allegro for PCB manufacturing; no simulation software was used.

<span class="mw-page-title-main">Linux-libre</span> Version of the Linux kernel without proprietary code

According to the Free Software Foundation Latin America, Linux-libre is a modified version of the Linux kernel that contains no binary blobs, obfuscated code, or code released under proprietary licenses. In the Linux kernel, they are mostly used for proprietary firmware images. While generally redistributable, binary blobs do not give the user the freedom to audit, modify, or, consequently, redistribute their modified versions. The GNU Project keeps Linux-libre in synchronization with the mainline Linux kernel.

Linux on IBM Z or Linux on zSystems is the collective term for the Linux operating system compiled to run on IBM mainframes, especially IBM Z / IBM zSystems and IBM LinuxONE servers. Similar terms which imply the same meaning are Linux/390, Linux/390x, etc. The three Linux distributions certified for usage on the IBM Z hardware platform are Red Hat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu.

<span class="mw-page-title-main">Allwinner A1X</span>

The Allwinner A1X is a family of single-core SoC devices designed by Allwinner Technology from Zhuhai, China. Currently the family consists of the A10, A13, A10s and A12. The SoCs incorporate the ARM Cortex-A8 as their main processor and the Mali 400 as the GPU.

dracut (software) Software to automate the Linux boot process

Dracut is a set of tools that provide enhanced functionality for automating the Linux boot process. The tool named dracut is used to create a Linux boot image (initramfs) by copying tools and files from an installed system and combining it with the Dracut framework, which is usually found in /usr/lib/dracut/modules.d.

<span class="mw-page-title-main">Banana Pi</span> Series of Chinese single-board computers

Banana Pi is a line of single-board computers produced by the Chinese company Shenzhen SINOVOIP Company, its spin-off Guangdong BiPai Technology Company, and supported by Hon Hai Technology (Foxconn). Its hardware design was influenced by the Raspberry Pi, and both lines use the same 40-pin I/O connector.

postmarketOS Free and open-source operating system for smartphones, based on Alpine Linux

postmarketOS is an operating system primarily for smartphones, based on the Alpine Linux distribution.

References

  1. Cunningham, Andrew (2022-06-02). "Have an old iPad lying around? You might be able to make it run Linux soon". Ars Technica. Retrieved 2022-06-14.
  2. "Ein Jahr Arbeit: Tüftler bringen Linux auf das iPad Air 2". Der Standard (in Austrian German). Retrieved 2022-06-15.
  3. Yam, Marcus; Ngai, Amos (2008-12-02). "iPhone Hacked to Run Linux". Tom's Guide . Retrieved 2022-06-14.
  4. "Run Android on an iPhone With 'Project Sandcastle' Jailbreaking Tool". PCMAG. Retrieved 2022-06-14.
  5. "How to install Linux on a vintage 68K Mac". Macworld . Retrieved 2022-06-14.
  6. "How to install Linux on a vintage 68K Mac". Macworld. Retrieved 2023-04-01.
  7. 1 2 "Debian on Motorola 680x0". Debian Ports. Retrieved 2023-04-01.
  8. "Linux/m68k for Macintosh". Linux/m68k for Mac. Retrieved 2023-04-01.
  9. 1 2 3 4 5 6 7 8 9 10 11 Rothman, Ernest E.; Jepson, Brian; Rosen, Rich (2008-09-18). Mac OS X For Unix Geeks (Leopard): Demistifying the Geekier Side of Mac OS X (4th ed.). O'Reilly Media, Inc. pp. 174–187. ISBN   978-0-596-52062-5.
  10. "Debian for PowerPC". Debian Ports. Retrieved 2023-04-01.
  11. "PowerPCFaq". Ubuntu Wiki. Retrieved 2023-04-01.
  12. "Ubuntu: A follow-up on 32-bit powerpc architecture [LWN.net]". LWN. Retrieved 2023-04-01.
  13. "Architectures/PowerPC". Fedora Wiki. Retrieved 2023-04-01.
  14. "DistroWatch.com: Yellow Dog Linux". DistroWatch. Retrieved 2023-04-01.
  15. "How to Triple-Boot Your Mac with Windows and Linux, No Boot Camp Required". Lifehacker. 2010-05-05. Retrieved 2022-06-14.
  16. https://wiki.t2linux.org/
  17. "Feature Support". GitHub. Retrieved 1 January 2024.