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

How to copy built image to SD #9

Open
benhylau opened this issue Apr 30, 2017 · 4 comments
Open

How to copy built image to SD #9

benhylau opened this issue Apr 30, 2017 · 4 comments

Comments

@benhylau
Copy link
Member

From Linux:

$ cat build/sun8i-h2plus-orangepi-zero.raw > /dev/$SDCARD

From Windows (?):
https://riot.im/app/#/room/!yzLpKcnymfPsdJyjnB:tomesh.net/$1493519399489626cWGRX:matrix.org

Verify:

one way to check - eject it and re-insert it, see if it has a filesystem on it with "/boot" now

NOTE: We may be changing .raw to .img.

@benhylau benhylau changed the title How to copy built image How to copy built image to SD Apr 30, 2017
@hamishcoleman
Copy link
Contributor

I think I was trying to be too smart with the linux command - you need root to do this, but the above command does not work with sudo.

Instead:

sudo dd if=build/sun8i-h2plus-orangepi-zero.raw of=/dev/$SDCARD

Also probably useful for documentation at this point is "how do I know what my $SDCARD is":

lsblk -d -o NAME,SIZE,LABEL

@benhylau
Copy link
Member Author

benhylau commented May 1, 2017

Are we switching to .img?

@hamishcoleman
Copy link
Contributor

sure, why not

hamishcoleman added a commit that referenced this issue May 1, 2017
…s software cannot cope with the other name (See github issue #9)
@darkdrgn2k
Copy link
Contributor

I use Win32DiskImager for Windows works well

Instructions can be pulled from Raspberry pi site
https://www.raspberrypi.org/documentation/installation/installing-images/windows.md

Also Linux instructions
https://www.raspberrypi.org/documentation/installation/installing-images/linux.md

And MacOS for good measure
https://www.raspberrypi.org/documentation/installation/installing-images/mac.md

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

No branches or pull requests

3 participants