
Figure A-4.
lsblk on Linux
When the operation finishes, you’ll have a working SD card. If you
want to go the other way and create an image file for use later,
it’s just as simple.
1. Run lsblk before and after inserting the card to determine the
correct disk label.
2. Unmount all partitions on the card. A working Raspberry Pi
SD card will have two partitions; make sure you unmount them
both.
3. Navigate in your terminal to the location where you would like
to store the image file.
4. Run the following command to create the file, substituting
your disk label: sudo dd bs=4M if=/dev/sde of=lename.img
conv=fsync status=progress ...