Skip to content

Commit 6225f8d

Browse files
committed
Added explainations and headlines
1 parent 9654194 commit 6225f8d

File tree

1 file changed

+18
-15
lines changed
  • installation/installing-images

1 file changed

+18
-15
lines changed

installation/installing-images/mac.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,48 @@ On Mac OS you have the choice of the command line `dd` tool or using the graphic
1616
1717
Remember to replace `n` with the number that you noted before!
1818
19-
- If this command fails, try using `disk` instead of `rdisk`:
19+
- If this command fails, try using `disk` instead of `rdisk`:
2020
21-
```
22-
sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn
23-
```
21+
```
22+
sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn
23+
```
2424
2525
## Command line
2626
2727
- If you are comfortable with the command line, you can image a card without any additional software. Run:
2828
2929
`diskutil list`
3030
31-
- Identify the disk (not partition) of your SD card e.g. `disk4` (not `disk4s1`):
31+
- Identify the disk (not partition) of your SD card e.g. `disk4` (not `disk4s1`).
32+
- Unmount your SD card by using the disk identifier to prepare copying data to it:
3233
3334
`diskutil unmountDisk /dev/disk<disk# from diskutil>`
3435
3536
e.g. `diskutil unmountDisk /dev/disk4`
37+
38+
- Copy the data to your SD card:
3639
3740
`sudo dd bs=1m if=image.img of=/dev/rdisk<disk# from diskutil>`
3841
3942
e.g. `sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/rdisk4`
4043
41-
This may result in an ``dd: invalid number '1m'`` error if you have GNU
44+
- This may result in an ``dd: invalid number '1m'`` error if you have GNU
4245
coreutils installed. In that case you need to use ``1M``:
4346
44-
`sudo dd bs=1M if=image.img of=/dev/rdisk<disk# from diskutil>`
47+
`sudo dd bs=1M if=image.img of=/dev/rdisk<disk# from diskutil>`
4548
4649
This will take a few minutes, depending on the image file size.
4750
You can check the progress by sending a `SIGINFO` signal pressing <kbd>Ctrl</kbd>+<kbd>T</kbd>.
4851
49-
If this command still fails, try using `disk` instead of `rdisk`:
52+
- If this command still fails, try using `disk` instead of `rdisk`:
5053
51-
```
52-
e.g. `sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/disk4`
53-
```
54-
or
55-
```
56-
e.g. `sudo dd bs=1M if=2015-05-05-raspbian-wheezy.img of=/dev/disk4`
57-
```
54+
```
55+
e.g. `sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/disk4`
56+
```
57+
or
58+
```
59+
e.g. `sudo dd bs=1M if=2015-05-05-raspbian-wheezy.img of=/dev/disk4`
60+
```
5861
5962
## Alternative method
6063

0 commit comments

Comments
 (0)