Write SD Card - Linux

Firstly, download the zip file containing the Cashless Guru Raspberry Pi OS image – you can find the latest version URL here.

[geraint@ip-10-12-34-124 ~]$ wget https://guru-resources.s3-eu-west-1.amazonaws.com/images/pi/guru-std-1.0.2.zip
--2020-10-25 10:12:32--  https://guru-resources.s3-eu-west-1.amazonaws.com/images/pi/guru-std-1.0.2.zip
Resolving guru-resources.s3-eu-west-1.amazonaws.com (guru-resources.s3-eu-west-1.amazonaws.com)...
Connecting to guru-resources.s3-eu-west-1.amazonaws.com (guru-resources.s3-eu-west-1.amazonaws.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1544166913 (1.4G) [application/zip]
Saving to: ‘guru-std-1.0.2.zip’

100%[===================================================>] 1,544,166,913 22.4MB/s   in 66s    

2020-10-25 10:13:39 (22.2 MB/s) - ‘guru-std-1.0.2.zip’ saved [1544166913/1544166913]

Once you’ve downloaded the image, you’ll need to extract it:

$ unzip guru-std-1.0.2.zip

Next insert your SD card and identify the correct path using lsblk.

$ lsblk
sda      8:0    0 111.8G  0 disk 
└─sda1   8:1    0 111.8G  0 part /

In our case, the SD card is sdf and so we next need to unmount the volumes and then we are in a position to write the image to the card.

$ sudo umount /dev/sdf1
$ sudo umount /dev/sdf2
$ sudo dd if=guru-std-1.0.2.img of=/dev/sdf bs=1M sync=conv
$ sudo umount /dev/sdf1
$ sudo umount /dev/sdf2

The above command will not produce any output and can take a long time to complete. You will receive a terminal prompt when the command has succeeded, an error will display if it has failed.

Your SD card is now ready to insert in to your Raspberry Pi.