<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.52pi.com/index.php?action=history&amp;feed=atom&amp;title=Mac_OS</id>
	<title>Mac OS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.52pi.com/index.php?action=history&amp;feed=atom&amp;title=Mac_OS"/>
	<link rel="alternate" type="text/html" href="https://wiki.52pi.com/index.php?title=Mac_OS&amp;action=history"/>
	<updated>2026-10-20T06:30:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.52pi.com/index.php?title=Mac_OS&amp;diff=3295&amp;oldid=prev</id>
		<title>Yoyojacky: /* Alternative method */</title>
		<link rel="alternate" type="text/html" href="https://wiki.52pi.com/index.php?title=Mac_OS&amp;diff=3295&amp;oldid=prev"/>
		<updated>2018-03-01T05:37:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Alternative method&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:37, 1 March 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /home&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /home&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Connect the SD card reader with the SD card inside.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Connect the SD card reader with the SD card inside.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Run df -h again and look for the new device which was not previously listed. Record the device name(s) of the filesystem&amp;#039;s partition(s), for example  /dev/disk3s5 and /dev/disk3s1. Notice the last two lines:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Run df -h again and look for the new device which was not previously listed.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Record the device name(s) of the filesystem&amp;#039;s partition(s),  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;for example  /dev/disk3s5 and /dev/disk3s1. Notice the last two lines:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ df -h&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ df -h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yoyojacky</name></author>
	</entry>
	<entry>
		<id>https://wiki.52pi.com/index.php?title=Mac_OS&amp;diff=3294&amp;oldid=prev</id>
		<title>Yoyojacky: Created page with &quot;==INSTALLING OPERATING SYSTEM IMAGES ON MAC OS== Etcher is typically the easiest option for most users to write images to SD cards, so it is a good place to start.&lt;br&gt; If you&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.52pi.com/index.php?title=Mac_OS&amp;diff=3294&amp;oldid=prev"/>
		<updated>2018-03-01T05:37:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==INSTALLING OPERATING SYSTEM IMAGES ON MAC OS== Etcher is typically the easiest option for most users to write images to SD cards, so it is a good place to start.&amp;lt;br&amp;gt; If you&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==INSTALLING OPERATING SYSTEM IMAGES ON MAC OS==&lt;br /&gt;
Etcher is typically the easiest option for most users to write images to SD cards, so it is a good place to start.&amp;lt;br&amp;gt;&lt;br /&gt;
If you&amp;#039;re looking for more advanced options on Mac OS, you can use the built-in graphical and command line tools below.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note: use of the dd tool can overwrite any partition of your machine. &lt;br /&gt;
If you specify the wrong device in the instructions below, you could delete your primary Mac OS partition.&lt;br /&gt;
Please be careful.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==(Mostly) graphical interface==&lt;br /&gt;
Connect the SD card reader with the SD card inside.&amp;lt;br&amp;gt; &lt;br /&gt;
Note that it must be formatted as FAT32.&amp;lt;br&amp;gt;&lt;br /&gt;
From the Apple menu, choose &amp;#039;About This Mac&amp;#039;, then click on &amp;#039;More info...&amp;#039;. If you are using Mac OS X 10.8.x Mountain Lion or newer, &amp;lt;br&amp;gt;&lt;br /&gt;
you will then need to click on &amp;#039;System Report&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on &amp;#039;USB&amp;#039; (or &amp;#039;Card Reader&amp;#039; if you are using a built-in SD card reader), then search for your SD card in the upper right section of the window.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on it, then search for the BSD name in the lower right section. &amp;lt;br&amp;gt;&lt;br /&gt;
It will look something like diskn where n is a number (for example, disk4). Make sure you take a note of this number.&amp;lt;br&amp;gt;&lt;br /&gt;
Unmount the partition so that you will be allowed to overwrite the disk. To do this, open Disk Utility and unmount it. &amp;lt;br&amp;gt;&lt;br /&gt;
Do not eject it. If you eject it, you will have to reconnect it. &amp;lt;br&amp;gt;&lt;br /&gt;
Note that on Mac OS X 10.8.x Mountain Lion, &amp;#039;Verify Disk&amp;#039; (before unmounting) will display the BSD name as /dev/disk1s2 or similar, &amp;lt;br&amp;gt;&lt;br /&gt;
allowing you to skip the previous two steps. Note down the number that appears after &amp;#039;disk&amp;#039;, in this case the number &amp;#039;1&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
From the terminal, run the following command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Remember to replace n with the number that you noted before!&amp;lt;br&amp;gt;&lt;br /&gt;
This will take a few minutes, depending on the image file size. &amp;lt;br&amp;gt;&lt;br /&gt;
You can check the progress by sending a SIGINFO signal (press Ctrl+T).&amp;lt;br&amp;gt;&lt;br /&gt;
* If this command fails, try using disk instead of rdisk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will take a few minutes, depending on the size of the image file. &amp;lt;br&amp;gt;&lt;br /&gt;
To check the progress, open Activity Monitor, click the Disk tab and find the process with the name dd.&amp;lt;br&amp;gt;&lt;br /&gt;
If dd is not in the list, you may need to select &amp;#039;All Processes&amp;#039; from the View menu. &amp;lt;br&amp;gt;&lt;br /&gt;
The Bytes Read column will display the amount of data that has been read from the image. &amp;lt;br&amp;gt;&lt;br /&gt;
Compare that to the file size of the image to determine progress.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Command line&lt;br /&gt;
If you are comfortable with the command line, you can write the image to an SD card without any additional software.&amp;lt;br&amp;gt;&lt;br /&gt;
Open a terminal, then run:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diskutil list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Identify the disk (not the partition) of your SD card, e.g. disk4, not  disk4s1.&lt;br /&gt;
Unmount your SD card by using the disk identifier, to prepare it for copying data:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diskutil unmountDisk /dev/disk&amp;lt;disk# from diskutil&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where disk is your BSD name e.g. diskutil unmountDisk /dev/disk4&amp;lt;br&amp;gt;&lt;br /&gt;
* Copy the data to your SD card:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1m if=image.img of=/dev/rdisk&amp;lt;disk# from diskutil&amp;gt; conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where disk is your BSD name e.g.  sudo dd bs=1m if=2017-11-29-raspbian-stretch.img of=/dev/rdisk4 conv=sync&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This may result in a dd: invalid number &amp;#039;1m&amp;#039; error if you have GNU coreutils installed. &amp;lt;br&amp;gt;&lt;br /&gt;
In that case, you need to use a block size of  1M in the bs= section, as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1M if=image.img of=/dev/rdisk&amp;lt;disk# from diskutil&amp;gt; conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will take a few minutes, depending on the image file size.&amp;lt;br&amp;gt;&lt;br /&gt;
You can check the progress by sending a SIGINFO signal (press Ctrl+T).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If this command still fails, try using disk instead of rdisk, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1m if=2017-11-29-raspbian-stretch.img of=/dev/disk4 conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1M if=2017-11-29-raspbian-stretch.img of=/dev/disk4 conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Alternative method==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note: Some users have reported issues with using this method to create SD cards, &lt;br /&gt;
possibly because earlier versions of these instructions didn&amp;#039;t note that it may be necessary to unmount multiple partitions on the SD card.&lt;br /&gt;
&lt;br /&gt;
These commands and actions must be performed from an account that has administrator privileges.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* From the terminal run df -h. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ df -h&lt;br /&gt;
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on&lt;br /&gt;
/dev/disk1     233Gi   73Gi  159Gi    32% 1552273 4293415006    0%   /&lt;br /&gt;
devfs          189Ki  189Ki    0Bi   100%     654          0  100%   /dev&lt;br /&gt;
map -hosts       0Bi    0Bi    0Bi   100%       0          0  100%   /net&lt;br /&gt;
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /home&lt;br /&gt;
Connect the SD card reader with the SD card inside.&lt;br /&gt;
Run df -h again and look for the new device which was not previously listed. Record the device name(s) of the filesystem&amp;#039;s partition(s), for example  /dev/disk3s5 and /dev/disk3s1. Notice the last two lines:&lt;br /&gt;
$ df -h&lt;br /&gt;
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on&lt;br /&gt;
/dev/disk1     233Gi   73Gi  159Gi    32% 1552273 4293415006    0%   /&lt;br /&gt;
devfs          189Ki  189Ki    0Bi   100%     654          0  100%   /dev&lt;br /&gt;
map -hosts       0Bi    0Bi    0Bi   100%       0          0  100%   /net&lt;br /&gt;
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /home&lt;br /&gt;
/dev/disk3s5    60Mi   20Mi   40Mi    33%     512          0  100%   /Volumes/boot&lt;br /&gt;
/dev/disk3s1   812Mi  740Mi   71Mi    92%       0          0  100%   /Volumes/RECOVERY&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Unmount the partition(s) so that you will be allowed to overwrite the disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo diskutil unmount /dev/disk3s5&lt;br /&gt;
sudo diskutil unmount /dev/disk3s1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Alternatively, open Disk Utility and unmount the partition of the SD card.&amp;lt;br&amp;gt;&lt;br /&gt;
Do not eject it. If you eject it, you will have to reconnect it.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Using the device name of the partition, work out the raw device name for the entire disk by omitting the final s# and replacing disk with rdisk.&amp;lt;br&amp;gt;&lt;br /&gt;
This is very important, as you will lose all data on the hard drive if you provide the wrong device name. &amp;lt;br&amp;gt;&lt;br /&gt;
Make sure the device name is the name of the whole SD card as described above, not just a partition of it, &amp;lt;br&amp;gt;&lt;br /&gt;
for example, rdisk3, not rdisk3s1. Similarly, you might have another SD drive name/number like rdisk2 or rdisk4. &amp;lt;br&amp;gt;&lt;br /&gt;
You can check again by using the df -h command, both before and after you insert your SD card reader into your Mac.&amp;lt;br&amp;gt;&lt;br /&gt;
 For example: /dev/disk3s1 becomes /dev/rdisk3.&amp;lt;br&amp;gt;&lt;br /&gt;
In the terminal, write the image to the card with this command, using the raw device name from above. &amp;lt;br&amp;gt;&lt;br /&gt;
Read the above step carefully to make sure that you use the correct rdisk number here:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd bs=1m if=2017-11-29-raspbian-stretch.img of=/dev/rdisk3 conv=sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the above command reports the error  dd: bs: illegal numeric value, change the block size bs=1m to  bs=1M.&amp;lt;br&amp;gt;&lt;br /&gt;
If the above command reports the error  dd: /dev/rdisk3: Permission denied, &lt;br /&gt;
the partition table of the SD card is being protected against being overwritten by Mac OS. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Erase the SD card&amp;#039;s partition table using this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo diskutil partitionDisk /dev/disk3 1 MBR &amp;quot;Free Space&amp;quot; &amp;quot;%noformat%&amp;quot; 100%&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
That command will also set the permissions on the device to allow writing.&amp;lt;br&amp;gt;&lt;br /&gt;
Now try the dd command again.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note that dd will not provide any on-screen information until there is an error, or it is finished. &lt;br /&gt;
When the process is complete, information will be shown and the disk will re-mount.&lt;br /&gt;
If you wish to view the progress, you can use Ctrl-T. &lt;br /&gt;
This generates SIGINFO, the status argument of your terminal, and will display information on the process.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After the dd command finishes, eject the card:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo diskutil eject /dev/rdisk3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Alternatively, open Disk Utility and use this to eject the SD card.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This article uses content from the eLinux wiki page RPi_Easy_SD_Card_Setup, which is shared under the Creative Commons Attribution-ShareAlike 3.0 Unported license&lt;/div&gt;</summary>
		<author><name>Yoyojacky</name></author>
	</entry>
</feed>