You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installation/installing-images/mac.md
+24-5Lines changed: 24 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,21 +67,40 @@ This will take a few minutes, depending on the size of the image file. To check
67
67
68
68
## Alternative method
69
69
70
-
**Note**: some users have reported issues with using this method to create SD cards.
70
+
**Note**: Some users have reported issues with using this method to create SD cards, possibly because earlier versions of these instructions didn't note that it may be necessary to unmount multiple partitions on the SD card.
71
71
72
72
These commands and actions must be performed from an account that has administrator privileges.
73
73
74
-
- From the terminal run `df -h`.
74
+
- From the terminal run `df -h`. For example:
75
+
```
76
+
$ df -h
77
+
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
- Connect the SD card reader with the SD card inside.
76
-
- Run `df -h` again and look for the new device that was not previously listed. Record the device name of the filesystem's partition, for example `/dev/disk3s1`.
77
-
- Unmount the partition so that you will be allowed to overwrite the disk:
84
+
- Run `df -h` again and look for the new device which was not previously listed. Record the device name(s) of the filesystem's partition(s), for example `/dev/disk3s5` and `/dev/disk3s1`. Notice the last two lines:
85
+
```
86
+
$ df -h
87
+
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
- Unmount the partition(s) so that you will be allowed to overwrite the disk:
78
96
79
97
```
98
+
sudo diskutil unmount /dev/disk3s5
80
99
sudo diskutil unmount /dev/disk3s1
81
100
```
82
101
83
102
Alternatively, open Disk Utility and unmount the partition of the SD card. Do not eject it. If you eject it, you will have to reconnect it.
84
-
- Using the device name of the partition, work out the **raw device name** for the entire disk by omitting the final `s1` and replacing `disk` with `rdisk`. This is very important, as you will lose all data on the hard drive if you provide the wrong device name. Make sure the device name is the name of the whole SD card as described above, not just a partition of it, for example, `rdisk3`, not `rdisk3s1`. Similarly, you might have another SD drive name/number like `rdisk2` or `rdisk4`. You can check again by using the `df -h` command, both before and after you insert your SD card reader into your Mac. For example: `/dev/disk3s1` becomes `/dev/rdisk3`.
103
+
- 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`. This is very important, as you will lose all data on the hard drive if you provide the wrong device name. Make sure the device name is the name of the whole SD card as described above, not just a partition of it, for example, `rdisk3`, not `rdisk3s1`. Similarly, you might have another SD drive name/number like `rdisk2` or `rdisk4`. You can check again by using the `df -h` command, both before and after you insert your SD card reader into your Mac. For example: `/dev/disk3s1` becomes `/dev/rdisk3`.
85
104
- In the terminal, write the image to the card with this command, using the raw device name from above. Read the above step carefully to make sure that you use the correct `rdisk` number here:
0 commit comments