Using Ubuntu 16.04 to validate a Raspbian image and write it to an SD card

If you are using Ubuntu 12.04 or earlier, the Ubuntu ImageWriter is a GUI tool that makes the installation very easy. If you are using a newer version, usb-imagewriter is not available, but SD cards can still be created from the command line. This will generally work on most flavors of Linux; check with your project's documentation to see the recommended method.

How to do it...

  1. I find the easiest method is to look at what is mounted. If the SD card is inserted, it should be automatically recognized:
    $ mount -l
    

  2. Another way to find the mount(s) on the SD card is looking using the dmseg command. Ubuntu's documentation recommends using dmesg to find out which device the SD card ...

Get Raspberry Pi Zero Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.