Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missed eject the card step for Mac OS / Command line install instruction #912

Closed
oleksii-leonov opened this issue May 30, 2018 · 4 comments

Comments

@oleksii-leonov
Copy link

https://github.com/raspberrypi/documentation/blob/master/installation/installing-images/mac.md

Alternative method section have eject the card step in instruction:

- After the `dd` command finishes, eject the card:

    ```
    sudo diskutil eject /dev/rdisk3
    ```

    Alternatively, open Disk Utility and use this to eject the SD card.

This step missed in Command line section:

    - If this command still fails, try using `disk` instead of `rdisk`, for example:
    
       ```
       sudo dd bs=1m if=2018-04-18-raspbian-stretch.img of=/dev/disk4 conv=sync
       ```
       or
       ```
       sudo dd bs=1M if=2018-04-18-raspbian-stretch.img of=/dev/disk4 conv=sync
       ```

## Alternative method

I believe, Command line section ending should be:

- After the `dd` command finishes, eject the card:

    ```
    sudo diskutil eject /dev/rdisk<disk# from diskutil>
    ```

## Alternative method
@lurch
Copy link
Contributor

lurch commented May 31, 2018

From what I can tell (I don't have a Mac myself), I think you only need to "software eject" a card (i.e. ensure the buffers are fully written to disk) if using e.g. /dev/disk4, and not if using /dev/rdisk4 ?

#693 (comment)

@oleksii-leonov
Copy link
Author

@lurch, you are right, looks like eject not required when using /dev/rdiskN.

But Command line section contains both ways, with /dev/diskN and /dev/rdiskN.

If this command still fails, try using disk instead of rdisk, for example

So, adding eject the card step could help someone using /dev/diskN instead /dev/rdiskN.

@JamesH65
Copy link
Contributor

JamesH65 commented Jul 3, 2018

Proposed fix in #934

@JamesH65
Copy link
Contributor

Closing as fixed by #934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants