@@ -11,34 +11,53 @@ On Mac OS you have the choice of the command line `dd` tool or using the graphic
11
11
- From the terminal run:
12
12
13
13
```
14
- sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn
14
+ sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn
15
15
```
16
16
17
17
Remember to replace `n` with the number that you noted before!
18
18
19
+ - If this command fails, try using `disk` instead of `rdisk`:
20
+
21
+ ```
22
+ sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn
23
+ ```
24
+
19
25
## Command line
20
26
21
27
- If you are comfortable with the command line, you can image a card without any additional software. Run:
22
28
23
29
`diskutil list`
24
30
25
- - 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:
26
33
27
- `diskutil unmountDisk /dev/<disk# from diskutil>`
34
+ `diskutil unmountDisk /dev/disk <disk# from diskutil>`
28
35
29
36
e.g. `diskutil unmountDisk /dev/disk4`
37
+
38
+ - Copy the data to your SD card:
30
39
31
- `sudo dd bs=1m if=image.img of=/dev/<disk# from diskutil>`
40
+ `sudo dd bs=1m if=image.img of=/dev/rdisk <disk# from diskutil>`
32
41
33
- e.g. `sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/disk4 `
42
+ e.g. `sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/rdisk4 `
34
43
35
- 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
36
45
coreutils installed. In that case you need to use ``1M``:
37
46
38
- `sudo dd bs=1M if=image.img of=/dev/<disk# from diskutil>`
47
+ `sudo dd bs=1M if=image.img of=/dev/rdisk <disk# from diskutil>`
39
48
40
49
This will take a few minutes, depending on the image file size.
41
50
You can check the progress by sending a `SIGINFO` signal pressing <kbd>Ctrl</kbd>+<kbd>T</kbd>.
51
+
52
+ - If this command still fails, try using `disk` instead of `rdisk`:
53
+
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
+ ```
42
61
43
62
## Alternative method
44
63
0 commit comments