Content deleted Content added
fix referencing error |
Added why run linux on apple devices and how to run linux on apple devices Tags: Reverted nowiki added Visual edit |
||
Line 1:
== Why Run Linux on Apple Devices ==
Apple is great at a lot of things, but they are not the best at everything. Running Linux on an Apple device gives you the opportunity to get the best of both worlds. One thing in particular Apple does well is wireless sharing.<ref>{{Cite journal |last=Stute |first=Milan |last2=Kreitschmann |first2=David |last3=Hollick |first3=Matthias |date=2018-10-15 |title=Demo: Linux Goes Apple Picking: Cross-Platform Ad hoc Communication with Apple Wireless Direct Link |url=http://arxiv.org/abs/1812.06743 |journal=Proceedings of the 24th Annual International Conference on Mobile Computing and Networking |pages=820–822 |doi=10.1145/3241539.3267716}}</ref> They are truly ahead of the game in this respect. Linux’s main selling point is its customizability which Apple simply does not allow. Essentially, Apple is very hardware oriented while Linux is very software oriented.<ref>{{Cite journal |last=Chacos |first=Brad |date=December 2013 |title=The Free OS Revolution |url= |journal=Business Source Premier |volume=31 |issue=12 |pages=7 |via=EBSCO}}</ref> If you were to run Linux on an Apple device, you could enjoy Apple’s perks, like its wireless sharing, and enjoy Linux’s perks, like its customizability.
== How to Run Linux on Apple Devices ==
First of all, you need to make sure you have a compatible device.<ref name=":1">{{Cite web |date=2022-06-12 |title=How To Run Linux on iPhone / iPad & How They Achieved This - iDevice Central |url=https://idevicecentral.com/apple/how-to-run-linux-on-iphone-ios/ |access-date=2023-04-13 |language=en-US}}</ref>
List of Compatible Devices:<ref name=":1" />
· iPhone 5S
· iPad Air and Air 2
· iPad Mini 2 and Mini 3
· iPhone 6 / 6 Plus
· iPod Touch 6
· iPad Mini 4
After ensuring you have a compatible device, there are a few things you will need to install from GitHub.<ref name=":1" />
List of GitHub links:<ref name=":1" />
· [https://github.com/konradybcio/pongoOS PongoOs]
· [https://github.com/konradybcio/linux-apple Dybcio’s Fork]
· [https://github.com/corellium/linux-sandcastle/blob/sandcastle-5.4/dtbpack.sh Correllium’s dtbpack Script]
After downloading the last link, you will need to change the DTBPATH to arch/arm64/boot/dts/apple/socname-devicename.dtb.<ref name=":1" />
Once that is done, you will need to enter this script:<ref name=":1" />
make -j$(nproc)
macOS: /Applications/checkra1n.app/Contents/MacOS/checkra1n -v -V -p -c -k /path/to/pongoOS/build/Pongo.bin
Linux: ./checkra1n -v -V -p -c -k /path/to/pongoOS/build/Pongo.bin
arm64:make -j$(nproc) Image.lzma dtbs
!arm64: make ARCH=arm64 CROSS_COMPILE=your-cross-compiler- -j$(nproc) Image.lzma dtbs
cd /path/to/linux-apple
/path/to/dtbpack.sh
<nowiki>#</nowiki> Load Linux to the device and boot it!
python3 /path/to/pongoOS/scripts/load_linux.py -k /path/to/linux-apple/arch/arm64/boot/Image.lzma -d /path/to/linux-apple/dtbpack [-r /path/to/some/ramdisk]
You can also just download a virtual machine and run Linux on an Apple device that way. Apple walks you through how to do that on their website.<ref>{{Cite web |title=Running Linux in a Virtual Machine |url=https://docs.developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine |access-date=2023-04-13 |website=Apple Developer Documentation |language=en}}</ref> The virtual machine is going to be used on Apple devices that are not mobile. This again allows you to enjoy the perks of both operating systems without having to spend money on more devices.{{Short description|Linux kernel running on devices made by Apple}}
The [[Linux kernel]] can run on a variety of devices made by [[Apple Inc.|Apple]], including devices where the [[Bootloader unlocking|unlocking of the bootloader]] is not possible with an official procedure, such as [[iPhone]]s and [[iPad]]s.
Line 56 ⟶ 109:
* {{Webarchive|url=https://web.archive.org/web/20080323104004/http://www.kernelthread.com:80/mac/vpc/|date=March 23, 2008|title=Amit Singh's "Many Systems on a PowerBook" article}}
{{Apple Inc.}}{{Apple-stub}}
{{Linux-stub}}
|