96 lines
3.1 KiB
HTML
96 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<link rel="Stylesheet" type="text/css" href="style.css">
|
||
<title>Mac_EFI_Jailbreak</title>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
</head>
|
||
<body>
|
||
|
||
<h3 id="toc_0.0.1">"Jailbreaking" a Mac</h3>
|
||
|
||
<p>
|
||
/EFI/boot/refind_ia32.efi ?> /EFI/boot/bootia32.efi
|
||
</p>
|
||
<h4 id="toc_0.0.1.1">Steps</h4>
|
||
<ul>
|
||
<li>
|
||
Boot into a live CD
|
||
|
||
<li>
|
||
Install rEFInd
|
||
|
||
<li>
|
||
Setup system like normal
|
||
|
||
</ul>
|
||
|
||
<h4 id="toc_0.0.1.2">Requirements</h4>
|
||
<ul>
|
||
<li>
|
||
<a href="http://www.mediafire.com/?dpgorsfdkf6nn2c ">ISO2USB EFI Booter for Mac</a>
|
||
|
||
<li>
|
||
A Live CD with loopback support
|
||
|
||
<ul>
|
||
<li>
|
||
xubuntu works well
|
||
|
||
</ul>
|
||
</ul>
|
||
|
||
<h4 id="toc_0.0.1.3">Installation</h4>
|
||
<ul>
|
||
<li>
|
||
Ensure the ISO file will fit on your USB flash drive. Backup important content from your drive — it will be erased.
|
||
|
||
<li>
|
||
Make one large partition on your USB flash drive, using e.g. <code>(g)parted</code>, <code>(c)gdisk</code>, or <code>(c)fdisk</code>.
|
||
You can use either a GUID partition table (GPT — unless you’re using (c)fdisk) or an MSDOS/MBR partition table, both will work. Use “Microsoft basic data” (code 0700) as the partition type.
|
||
|
||
<li>
|
||
Format the partition with FAT32. (g)parted can do this. Alternatively, you can type
|
||
<code>mkfs.vfat -F 32 /dev/sdX1</code> from the command line (after replacing the “X” with the correct letter for your USB drive).
|
||
Formatting with HFS+, as some sources indicate, didn’t work for me.
|
||
|
||
<li>
|
||
Mount your drive and cd into it (as root: <code># mkdir /mnt/usb && mount /dev/sdX1 /mnt/usb && cd /mnt/usb</code>).
|
||
|
||
<li>
|
||
Create the directory <code>efi/boot/</code> in the current directory (<code># mkdir -p efi/boot/</code>) —
|
||
(i.e., the full path of this directory is <code>/mnt/usb/efi/boot/</code> if your USB drive is mounted in <code>/mnt/usb/</code>).
|
||
|
||
<li>
|
||
Copy either <code>bootIA32.efi</code> or <code>bootX64.efi</code> to the new directory (depending on whether you have a 32 or 64-bit system),
|
||
and rename the file to boot.efi.
|
||
|
||
<ul>
|
||
<li>
|
||
Old White Macbook needs <code>bootIA32.efi</code>
|
||
|
||
</ul>
|
||
<li>
|
||
Copy the downloaded LiveCD image to the new directory, and rename it to <code>boot.iso</code>.
|
||
|
||
</ul>
|
||
|
||
<p>
|
||
That’s all. The USB drive now contains two directories and two files, and should boot.
|
||
Make sure you used the file and directory names as provided here. For clarity, all that is
|
||
now on your USB drive is (relative to the root directory of that drive):
|
||
<code>/efi/boot/boot.iso</code>
|
||
<code>/efi/boot/boot.efi</code>
|
||
</p>
|
||
|
||
<p>
|
||
In order to install Linux, I booted Kubuntu using the method described above, installed rEFInd
|
||
from there, which then allowed me to boot from a normal Live USB flash drive. I ended up installing
|
||
Arch Linux. The details and non-trivialities of the Linux installation will be described in a future
|
||
post. I didn’t manage to install Linux without installing rEFInd though, so in retrospect I might as
|
||
well have installed rEFInd on my new disc, mounted as an external disc to my other Linux computer.
|
||
</p>
|
||
|
||
</body>
|
||
</html>
|