{"id":370,"date":"2017-07-28T15:01:36","date_gmt":"2017-07-28T14:01:36","guid":{"rendered":"http:\/\/192.168.1.18\/?page_id=370"},"modified":"2018-09-24T15:01:20","modified_gmt":"2018-09-24T14:01:20","slug":"raspberry-pi-installing-operating-system-raspbian","status":"publish","type":"page","link":"http:\/\/www.bulis.co.uk\/?page_id=370","title":{"rendered":"Raspberry Pi: Installing an Operating System (Raspbian)"},"content":{"rendered":"<p>The Raspberry Pi does not have a traditional hard drive like a desktop PC; instead an SD card is used to install the operating system. When it comes to installing an operating system there are a number of options available:<\/p>\n<table class=\" aligncenter\" width=\"759\">\n<tbody>\n<tr>\n<td width=\"366\">\n<ul>\n<li style=\"text-align: left;\">Raspbian (most popular)<\/li>\n<li style=\"text-align: left;\">Ubuntu Mate<\/li>\n<li style=\"text-align: left;\">Snappy Ubuntu Core<\/li>\n<li style=\"text-align: left;\">Windows IOT<\/li>\n<li style=\"text-align: left;\">Noobs<\/li>\n<\/ul>\n<\/td>\n<td width=\"392\">\n<ul>\n<li style=\"text-align: left;\">Libreelec<\/li>\n<li style=\"text-align: left;\">Pinet<\/li>\n<li style=\"text-align: left;\">Risc OS<\/li>\n<li style=\"text-align: left;\">Weather Station<\/li>\n<li style=\"text-align: left;\">OSMC (media player)<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In this tutorial we are going to install the Raspbian OS. Raspbian comes in two different types: Raspbian Jessie and Raspbian Jessie Lite. Raspbian Jessie has everything you would expect from a desktop operating system including a GUI (graphic user interface), whereas the lite version only installs the bare essential software without a GUI.<\/p>\n<h2><strong>Prepare the SD Card<\/strong><\/h2>\n<p>If you are going to install Raspbian on a brand new SD card the following procedure isn&#8217;t required. If you are installing onto an SD card that has been used previously for something else then you may need to clean the sd card first. This will reset the sd card and remove any partitions present.<\/p>\n<p>Using a Windows PC open a Command Prompt and type:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndiskpart\r\n<\/pre>\n<p>This opens another window showing the Diskpart command prompt. To display a list of the available disks type the following:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nlist disk\r\n<\/pre>\n<div id=\"attachment_371\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-371\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-371\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image1-1.png\" alt=\"Diskpart\" width=\"677\" height=\"340\" \/><p id=\"caption-attachment-371\" class=\"wp-caption-text\">Diskpart<\/p><\/div>\n<p>Select the disk number for your SD card (in the above example this is Disk 1) by typing:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nselect disk 1\r\n<\/pre>\n<div id=\"attachment_372\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-372\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-372\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image2-3.png\" alt=\"List Disk\" width=\"677\" height=\"340\" \/><p id=\"caption-attachment-372\" class=\"wp-caption-text\">List Disk<\/p><\/div>\n<p>Now to clean the SD disk and remove partitions type the following:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nclean\r\n<\/pre>\n<div id=\"attachment_373\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-373\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-373\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image3-2.png\" alt=\"Clean Disk\" width=\"677\" height=\"340\" \/><p id=\"caption-attachment-373\" class=\"wp-caption-text\">Clean Disk<\/p><\/div>\n<p>Next remove the SD card and re-insert.<\/p>\n<h2>Install OS Image onto the SD Card<\/h2>\n<p>The first think we need to do is download an operting system image from <a href=\"https:\/\/www.raspberrypi.org\/downloads\/\">https:\/\/www.raspberrypi.org\/downloads\/<\/a>. In this tutrial I have chosen to download Raspbian Jessie Lite.<\/p>\n<p>We will also need to download Win32 Disk Imager from <a href=\"https:\/\/sourceforge.net\/projects\/win32diskimager\/\">https:\/\/sourceforge.net\/projects\/win32diskimager\/<\/a>. Now run the application Win32DiskImager to copy the Raspbian Disk Image to the SD Card:<\/p>\n<div id=\"attachment_374\" style=\"width: 431px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-374\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-374\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image4-2.png\" alt=\"Win32DiskImager\" width=\"421\" height=\"211\" \/><p id=\"caption-attachment-374\" class=\"wp-caption-text\">Win32DiskImager<\/p><\/div>\n<p>Click onto the blue folder icon and navigate to the OS image (in my case Raspbian Jessie Lite):<\/p>\n<div id=\"attachment_375\" style=\"width: 431px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-375\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-375\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image5-2.png\" alt=\"Win32 Disk Imager 2\" width=\"421\" height=\"211\" \/><p id=\"caption-attachment-375\" class=\"wp-caption-text\">Win32 Disk Imager 2<\/p><\/div>\n<p>Now click onto the Write button to start the process, this will display the following warning before proceeding:<\/p>\n<div id=\"attachment_376\" style=\"width: 358px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-376\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-376\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image6.png\" alt=\"Confirm Overwrite\" width=\"348\" height=\"137\" \/><p id=\"caption-attachment-376\" class=\"wp-caption-text\">Confirm Overwrite<\/p><\/div>\n<p>Click onto Yes to start, this will usually take 10-15 minutes to complete:<\/p>\n<div id=\"attachment_377\" style=\"width: 431px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-377\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-377\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image7.png\" alt=\"Win32 Disk Imager 3\" width=\"421\" height=\"211\" \/><p id=\"caption-attachment-377\" class=\"wp-caption-text\">Win32 Disk Imager 3<\/p><\/div>\n<p>Once the operating system completes copying to the sd card; we need to enable SSH. Raspbian Jessie Lite does not have SSH enabled by default so to enable this open the SD card, navigate to the boot directory and create a new file with the name ssh (without any file extension i.e. &#8216;.txt&#8217;). Remove the SD card from the PC, insert into thte Raspberry Pi, plug in the ethernet cable and power up.<\/p>\n<h2>Connect to the Raspberry Pi Over the Network<\/h2>\n<p>To access the Raspberry Pi over the network using SSH from another PC first download putty from <a href=\"http:\/\/www.putty.org\">http:\/\/www.putty.org<\/a>. Next open the command prompt and type:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nping raspberrypi\r\n<\/pre>\n<p>This wil send four packets to the Raspberry Pi over the network and when it receives a response it will show the IP address allocated to the Raspberry Pi:<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_384\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-384\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-384\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/ping.jpg\" alt=\"Ping\" width=\"677\" height=\"340\" \/><p id=\"caption-attachment-384\" class=\"wp-caption-text\">Ping<\/p><\/div>\n<p>Using Putty from another PC on the network type in the IP address we discovered above (in my case 192.168.1.11) into putty and click onto <strong>Open<\/strong>:<\/p>\n<div id=\"attachment_386\" style=\"width: 466px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-386\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-386\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/putty.png\" alt=\"putty\" width=\"456\" height=\"436\" \/><p id=\"caption-attachment-386\" class=\"wp-caption-text\">Putty<\/p><\/div>\n<p>After clicking Open you should see a login prompt; the default username is &#8216;<strong>pi<\/strong>&#8216; and the password is &#8216;<strong>raspberry<\/strong>&#8216;:<\/p>\n<div id=\"attachment_387\" style=\"width: 685px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-387\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-387\" src=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/ssh.png\" alt=\"SSH\" width=\"675\" height=\"422\" \/><p id=\"caption-attachment-387\" class=\"wp-caption-text\">SSH<\/p><\/div>\n<h2>Configure Raspbian Jessie Lite<\/h2>\n<p>To initiate the configuration setup we need to type:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo raspi-config\r\n<\/pre>\n<p>When the system starts you will be presented with the Raspberry Pi System Configuration Tool. We need to set the following settings:<\/p>\n<ul>\n<li>Expand the File System<\/li>\n<li>Change Internationalization\n<ul>\n<li>(Europe, London)<\/li>\n<\/ul>\n<\/li>\n<li>Enable Camera<\/li>\n<li>Advanced Settings:\n<ul>\n<li>Disable Overscan<\/li>\n<li>Enable SSH<\/li>\n<li>Disable Serial<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Once complete select Finish and reboot:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo shutdown -r now\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The Raspberry Pi does not have a traditional hard drive like a desktop PC; instead an SD card is used to install the operating system. When it comes to installing an operating system there are a number of options available: Raspbian (most popular) Ubuntu Mate Snappy Ubuntu Core Windows IOT Noobs Libreelec Pinet Risc OS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":166,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.bulis.co.uk\/?page_id=370\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower\" \/>\n<meta property=\"og:description\" content=\"The Raspberry Pi does not have a traditional hard drive like a desktop PC; instead an SD card is used to install the operating system. When it comes to installing an operating system there are a number of options available: Raspbian (most popular) Ubuntu Mate Snappy Ubuntu Core Windows IOT Noobs Libreelec Pinet Risc OS [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.bulis.co.uk\/?page_id=370\" \/>\n<meta property=\"og:site_name\" content=\"Phantom Raspberry Blower\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-24T14:01:20+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image1-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.bulis.co.uk\/?page_id=370\",\"url\":\"http:\/\/www.bulis.co.uk\/?page_id=370\",\"name\":\"Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower\",\"isPartOf\":{\"@id\":\"http:\/\/www.bulis.co.uk\/#website\"},\"datePublished\":\"2017-07-28T14:01:36+00:00\",\"dateModified\":\"2018-09-24T14:01:20+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.bulis.co.uk\/?page_id=370#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.bulis.co.uk\/?page_id=370\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.bulis.co.uk\/?page_id=370#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.bulis.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"http:\/\/www.bulis.co.uk\/?page_id=57\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Raspberry Pi Tutorials\",\"item\":\"http:\/\/www.bulis.co.uk\/?page_id=166\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Raspberry Pi: Installing an Operating System (Raspbian)\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.bulis.co.uk\/#website\",\"url\":\"http:\/\/www.bulis.co.uk\/\",\"name\":\"Phantom Raspberry Blower\",\"description\":\"Blowing Raspberrys since 1989\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.bulis.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.bulis.co.uk\/?page_id=370","og_locale":"en_GB","og_type":"article","og_title":"Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower","og_description":"The Raspberry Pi does not have a traditional hard drive like a desktop PC; instead an SD card is used to install the operating system. When it comes to installing an operating system there are a number of options available: Raspbian (most popular) Ubuntu Mate Snappy Ubuntu Core Windows IOT Noobs Libreelec Pinet Risc OS [&hellip;]","og_url":"http:\/\/www.bulis.co.uk\/?page_id=370","og_site_name":"Phantom Raspberry Blower","article_modified_time":"2018-09-24T14:01:20+00:00","og_image":[{"url":"http:\/\/www.bulis.co.uk\/wp-content\/uploads\/2017\/07\/image1-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.bulis.co.uk\/?page_id=370","url":"http:\/\/www.bulis.co.uk\/?page_id=370","name":"Raspberry Pi: Installing an Operating System (Raspbian) - Phantom Raspberry Blower","isPartOf":{"@id":"http:\/\/www.bulis.co.uk\/#website"},"datePublished":"2017-07-28T14:01:36+00:00","dateModified":"2018-09-24T14:01:20+00:00","breadcrumb":{"@id":"http:\/\/www.bulis.co.uk\/?page_id=370#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.bulis.co.uk\/?page_id=370"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.bulis.co.uk\/?page_id=370#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.bulis.co.uk\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"http:\/\/www.bulis.co.uk\/?page_id=57"},{"@type":"ListItem","position":3,"name":"Raspberry Pi Tutorials","item":"http:\/\/www.bulis.co.uk\/?page_id=166"},{"@type":"ListItem","position":4,"name":"Raspberry Pi: Installing an Operating System (Raspbian)"}]},{"@type":"WebSite","@id":"http:\/\/www.bulis.co.uk\/#website","url":"http:\/\/www.bulis.co.uk\/","name":"Phantom Raspberry Blower","description":"Blowing Raspberrys since 1989","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.bulis.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/370"}],"collection":[{"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=370"}],"version-history":[{"count":0,"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/370\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/166"}],"wp:attachment":[{"href":"http:\/\/www.bulis.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}