{"id":100,"date":"2013-01-07T21:04:00","date_gmt":"2013-01-07T21:04:00","guid":{"rendered":"http:\/\/prismoid.uk\/wp\/2013\/01\/07\/received-the-raspberry-pi\/"},"modified":"2019-12-26T16:16:54","modified_gmt":"2019-12-26T16:16:54","slug":"received-the-raspberry-pi","status":"publish","type":"post","link":"http:\/\/prismoid.uk\/wp\/2013\/01\/07\/received-the-raspberry-pi\/","title":{"rendered":"Received the Raspberry Pi"},"content":{"rendered":"<p><a href=\"http:\/\/www.prismaqf.com\/pebble\/geek\/2012\/12\/24\/1356382140000.html\">Back to the introduction<\/a><\/p>\n<p>Today I have finally received the raspberry pi and its components by mail and I am preparing for the first step: creating an image of the wheezy raspbian distribution to copy on the memory card.<\/p>\n<p>This is the <a href=\"http:\/\/www.raspberrypi.org\/downloads\" target=\"_blank\" rel=\"noopener noreferrer\">download site<\/a>, and these are the <a href=\"http:\/\/elinux.org\/RPi_Easy_SD_Card_Setup\" target=\"_blank\" rel=\"noopener noreferrer\">instructions to follow<\/a> to prepare the card in a Linux environment.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Download the wheezy package from the download site<\/li>\n<li>Compare the <strong>SHA-1 checksum<\/strong> from the download site with your downloaded file by executing this from command line, after entering the directory containing your downloaded file:n\n<pre>sha1sum file.zip<\/pre>\n<p>n where <em>file.zip<\/em> is the name of your downloaded file. If the checksums are different you need to start from the beginning.<\/li>\n<li>Unzip the downloaded file by performingn\n<pre>unzip file.zip<\/pre>\n<p>n the result is a file with name <em>file.img<\/em><\/li>\n<li>Insert the SD memory card purchased in an available slot of yourn PC \/ laptop (laptop in my case)<\/li>\n<li>Check the file systems mounted by performing: df -h<\/li>\n<li>Figure out which mount point corresponds to your card, let\u2019s say <em>\/dev\/sdb1, <\/em>and unmount it by\n<p>umount \/dev\/sdb1<\/li>\n<li>Now you need to copy the image file to your card, using the linux <strong>dd<\/strong> command. In my case this is performed by<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ol>\n<pre>        dd bs=4M if=2012-12-16-wheezy-raspbian.img of=\/dev\/sdb<\/pre>\n<p>Be careful of what you type above, and be sure of the output file system (<em>\/dev\/sdb<\/em>), since this operation is destructive of whatever found on that output file system path. This process might required to be run as super user (<strong>sudo<\/strong>) and does not give any diagnostic. Also remove the partition number at the end of the output device (\/dev\/sdb and not \/dev\/sdb1), so that the image affects the entire SD card and not only one partition of it. Be prepared to wait for a few minutes.<\/p>\n<p>Before removing the card, from the command line, run <strong>sync<\/strong>, to make sure that everything in the write cash is dumped onto the card.<\/p>\n<p>You can now remove the card. It is ready to be inserted in your <strong>Raspberry Pi<\/strong><\/p>\n<p>In the next step with will fire-up Pi<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back to the introduction Today I have finally received the raspberry pi and its components by mail and I am<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[16,11],"post_folder":[],"_links":{"self":[{"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/posts\/100"}],"collection":[{"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":3,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":196,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/posts\/100\/revisions\/196"}],"wp:attachment":[{"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/tags?post=100"},{"taxonomy":"post_folder","embeddable":true,"href":"http:\/\/prismoid.uk\/wp\/wp-json\/wp\/v2\/post_folder?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}