{"id":764,"date":"2017-10-21T13:28:36","date_gmt":"2017-10-21T12:28:36","guid":{"rendered":"http:\/\/chewett.co.uk\/blog\/?p=764"},"modified":"2017-10-21T13:28:36","modified_gmt":"2017-10-21T12:28:36","slug":"virtualized-raspian-os-virtualbox","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/","title":{"rendered":"Virtualized Raspian OS with Virtualbox"},"content":{"rendered":"<p>This post walks you through the process of installing the Raspberry Pi OS, Raspbian, with VirtualBox. I am going to use this at times to test my software running on the OS that the Raspberry Pi Cluster runs.<\/p>\n<p><!--more--><\/p>\n<h2>Why do I need a special version of Raspbian OS to work with Virtulbox<\/h2>\n<p>The Raspbian OS that you install on your SD card for the Raspberry Pi&#8217;s has been compiled to work with ARM CPU&#8217;s. This is because the Raspberry Pi&#8217;s run an ARM CPU as its primary hardware.<\/p>\n<p>Since Virdoesn&#8217;tx doesnt support this ARM CPU it is unable to run the standard Raspbian OS. Due to a large amount of requests the Raspberry Pi Foundation recently created an x86 architecture of the Raspbian image that you can run on your PC. This also lets us emulate it using Virtualbox (or other x86 emulation productions).<\/p>\n<p>Therefore the first step to installing and running Raspberry Pi on your computer is downloading the Raspberry Pi Desktop edition ISO.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"3D6gAStxBd\"><p><a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspberry-pi-desktop\/\">Raspberry Pi Desktop<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.raspberrypi.org\/downloads\/raspberry-pi-desktop\/embed\/#?secret=3D6gAStxBd\" data-secret=\"3D6gAStxBd\" width=\"600\" height=\"338\" title=\"&#8220;Raspberry Pi Desktop&#8221; &#8212; Raspberry Pi\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Using the above link you can download the ISO which you can then use to install.<\/p>\n<h2>Installing Raspbian on Virtualbox<\/h2>\n<p>I have chosen Virtualbox to run Raspbian OS on as it is available for both Linux and Windows. Once the image has downloaded we are ready to create our virtual machine.<\/p>\n<h3>Creating the Virtual machine<\/h3>\n<p>To create the virtual machine you can press &#8220;New&#8221; in the virtualbox interface. This will open the first screen shown below. Here I have named the machine &#8220;Raspbian Bunker Master&#8221; which will be used to refer to the machine. Selecting the version of Linux will pre-fill settings in the later screens. Since Raspbian is built upon a Debian install I have selected Debian (32-bit).<\/p>\n<h3><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"771\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/01_create_vm-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?fit=350%2C399&amp;ssl=1\" data-orig-size=\"350,399\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"01_create_vm.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?fit=263%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?fit=350%2C399&amp;ssl=1\" class=\"size-full wp-image-771 aligncenter\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?resize=350%2C399\" alt=\"\" width=\"350\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?resize=263%2C300&amp;ssl=1 263w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/01_create_vm.fw_.jpg?resize=44%2C50&amp;ssl=1 44w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a>Adding RAM to the virtual machine<\/h3>\n<p>The next screen asks you the amount of RAM you want to allocate to the virtual machine. Here I am going to give it 1 Gigabyte of RAM to work similarly to the Raspberry Pi 3.<\/p>\n<h3><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"772\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/02_set_ram-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?fit=350%2C399&amp;ssl=1\" data-orig-size=\"350,399\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"02_set_ram.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?fit=263%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?fit=350%2C399&amp;ssl=1\" class=\"aligncenter size-full wp-image-772\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?resize=350%2C399\" alt=\"\" width=\"350\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?resize=263%2C300&amp;ssl=1 263w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/02_set_ram.fw_.jpg?resize=44%2C50&amp;ssl=1 44w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a>Choosing the type of Virtual Hard Disk to use<\/h3>\n<p>The next screens allow us to add a virtual hard drive to the machine. This will work like the SD card in the Raspberry Pi. Here I will create a new virtual hard drive.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"773\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/03_create_vhd-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?fit=350%2C399&amp;ssl=1\" data-orig-size=\"350,399\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"03_create_vhd.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?fit=263%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?fit=350%2C399&amp;ssl=1\" class=\"aligncenter size-full wp-image-773\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?resize=350%2C399\" alt=\"\" width=\"350\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?resize=263%2C300&amp;ssl=1 263w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/03_create_vhd.fw_.jpg?resize=44%2C50&amp;ssl=1 44w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>Then it asks me what type of image disk I want to use. Since I am going to be using it with Virtulbox it is fine to keep it in VDI (VirtualBox Disk Image).<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"774\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/04_create_type-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?fit=428%2C454&amp;ssl=1\" data-orig-size=\"428,454\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"04_create_type.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?fit=283%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?fit=428%2C454&amp;ssl=1\" class=\"aligncenter size-full wp-image-774\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?resize=428%2C454\" alt=\"\" width=\"428\" height=\"454\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?w=428&amp;ssl=1 428w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?resize=283%2C300&amp;ssl=1 283w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/04_create_type.fw_.jpg?resize=47%2C50&amp;ssl=1 47w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><\/p>\n<p>Now it asks me how I want the virtual hard drive to behave. Here I select a dynamic drive which means the size of the file will expand as it is used. However this will only expand to the maximum size set in the next step. The virtual machine will still think it has the full size when installing.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"781\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/05_create_dynamic_type-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?fit=428%2C454&amp;ssl=1\" data-orig-size=\"428,454\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"05_create_dynamic_type.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?fit=283%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?fit=428%2C454&amp;ssl=1\" class=\"aligncenter size-full wp-image-781\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?resize=428%2C454\" alt=\"\" width=\"428\" height=\"454\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?w=428&amp;ssl=1 428w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?resize=283%2C300&amp;ssl=1 283w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/05_create_dynamic_type.fw_.jpg?resize=47%2C50&amp;ssl=1 47w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><\/p>\n<p>In this step I choose where I want to save the virtual hard drive to and what size it will be. If you have <span style=\"background-color: #f6d5d9;\">chosen\u00a0<\/span>a dynamic virtual disk type it will expand to this value. If the virtual disk is a fixed type it will be created the maximum size to start with.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"776\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/764\/virtualized-raspian-os-virtualbox\/06_create_size_vhd-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?fit=428%2C454&amp;ssl=1\" data-orig-size=\"428,454\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"06_create_size_vhd.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?fit=283%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?fit=428%2C454&amp;ssl=1\" class=\"aligncenter size-full wp-image-776\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?resize=428%2C454\" alt=\"\" width=\"428\" height=\"454\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?w=428&amp;ssl=1 428w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?resize=283%2C300&amp;ssl=1 283w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/06_create_size_vhd.fw_.jpg?resize=47%2C50&amp;ssl=1 47w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><\/p>\n<p>Once this has been done the virtual machine has been created.<\/p>\n<h3>Turning on PAE<\/h3>\n<p>When I was initially running Raspbian I found that it required PAE to be turned on to be able to function. This needs to be enabled in the &#8220;Processor&#8221; section of the virtual machine. So before installing the OS we need to turn this on. This can be done by selecting the settings menu of the virtual machine. In this options page you need to &#8220;System&#8221;, then go to the &#8220;Processor&#8221; tab. This will have a checkbox for &#8220;Enable PAE\/NX&#8221;. Checking this will allow you to run and install Raspbian.<\/p>\n<h2>Installing Raspbian OS on the virtual machine<\/h2>\n<p>Once the virtual machine has been created you can launch the VM. This will prompt you to insert an ISO into the virtual machine. Here I selected the Raspbian OS I downloaded earlier.<\/p>\n<p>From here I select the command line based install, selecting these options in order<\/p>\n<ol>\n<li>Select Install<\/li>\n<li>Choose language as British English<\/li>\n<li>Select &#8220;Guided, use entire disk and LVM&#8221; partition install option<\/li>\n<li>Select the main partition to install the OS to, <code>\/dev\/sda<\/code><\/li>\n<li>Choose to &#8220;Put all files on one partition&#8221;<\/li>\n<li>Confirm all partition changes<\/li>\n<li>Finish the partitioning and confirm writing partitions to disk<\/li>\n<li>Install GRUB, since this is the first OS we need a bootloader<\/li>\n<li>Choose <code>\/dev\/sda1<\/code>\u00a0as the boot partition<\/li>\n<li>Finish the installation<\/li>\n<\/ol>\n<p>Once this has been done the live CD will be removed and the machine will reboot.<\/p>\n<p>Now we have a virtual machine that can replicate the Raspbian OS that will run on the Raspberry Pi. I will use this for some testing when using a Raspberry Pi isn&#8217;t feasible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post walks you through the process of installing the Raspberry Pi OS, Raspbian, with VirtualBox. I am going to use this at times to test my software running on the OS that the Raspberry Pi Cluster runs.<\/p>\n","protected":false},"author":1,"featured_media":783,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[122],"tags":[39,37,101,114,82],"class_list":["post-764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-cluster","tag-linux","tag-raspberry-pi","tag-raspberry-pi-cluster","tag-raspbian","tag-virtualbox"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/raspbian_on_virtualbox.jpg?fit=800%2C800&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-ck","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":521,"url":"https:\/\/chewett.co.uk\/blog\/521\/add-new-user-account-raspbian-raspberry-pi\/","url_meta":{"origin":764,"position":0},"title":"Add a new user account in Raspbian Raspberry Pi","author":"Chewett","date":"August 5, 2017","format":false,"excerpt":"For my cluster project I will add a new user to each Raspberry Pi. This is so the user I use for all other systems will be the \u00a0same on the Raspberry Pi's. This post describes how to add another user to Raspbian OS. Adding a new user to Raspbian\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/add_user_to_raspbian_os.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/add_user_to_raspbian_os.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/add_user_to_raspbian_os.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/add_user_to_raspbian_os.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":567,"url":"https:\/\/chewett.co.uk\/blog\/567\/upgrading-raspbian-jessie-raspbian-stretch\/","url_meta":{"origin":764,"position":1},"title":"Upgrading Raspbian Jessie to Raspbian Stretch","author":"Chewett","date":"November 4, 2017","format":false,"excerpt":"This post describes how you can upgrade Raspbian Jessie, version 8, to Raspbian Stretch, version 9. Raspbian Stretch was recently released and while they recommend installing from fresh you are able to upgrade the versions. Here I follow the steps of upgrading the Raspberry Pi's in my cluster including some\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/upgrading_to_raspbian_stretch.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/upgrading_to_raspbian_stretch.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/upgrading_to_raspbian_stretch.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/upgrading_to_raspbian_stretch.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":241,"url":"https:\/\/chewett.co.uk\/blog\/241\/installing-raspbian-onto-raspberry-pi\/","url_meta":{"origin":764,"position":2},"title":"Installing Raspbian onto a Raspberry Pi","author":"Chewett","date":"May 17, 2017","format":false,"excerpt":"Here I suggest some recommended steps to install Raspbian on top of their install guide. Choosing an OS for the Raspberry Pi One of the main ways to install a Raspberry Pi OS is to download a disk image called NOOBS.\u00a0This lets you\u00a0choose to easily install a number of different\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":448,"url":"https:\/\/chewett.co.uk\/blog\/448\/testing-performance-raspberry-pi\/","url_meta":{"origin":764,"position":3},"title":"Testing the performance of a Raspberry Pi","author":"Chewett","date":"July 12, 2017","format":false,"excerpt":"I will be testing the performance of each Raspberry Pi version in my cluster. This is to determine what each one is best suited to running. To do this I need a similar set of tests to run for each and compare them. Ideally the tests will also be runnable\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":673,"url":"https:\/\/chewett.co.uk\/blog\/673\/grant-sudo-access-user-raspberry-pi-raspbian\/","url_meta":{"origin":764,"position":4},"title":"Grant sudo access for a user with Raspberry Pi Raspbian","author":"Chewett","date":"September 30, 2017","format":false,"excerpt":"This blog post describes how you can enable sudo for any user on the Raspberry Pi OS, Raspbian. Why sudo is important Sudo is a command that lets you run a command as the \"Super User\". The super user's username is typically root on Linux machines. Instead of logging in\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/add_sudo_to_a_user_raspbian.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/add_sudo_to_a_user_raspbian.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/add_sudo_to_a_user_raspbian.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/09\/add_sudo_to_a_user_raspbian.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":307,"url":"https:\/\/chewett.co.uk\/blog\/307\/adding-a-creator-ci20-to-the-cluster\/","url_meta":{"origin":764,"position":5},"title":"Adding a Creator CI20 to the cluster","author":"Chewett","date":"October 17, 2018","format":false,"excerpt":"This post talks about the Creator CI20 and explains the differences between it and the Raspberry Pi. What is the Creator CI20? The Creator CI20 is a small Linux based computer that is similar to the Raspberry Pi. I have been looking at these for a while and decided to\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=764"}],"version-history":[{"count":7,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/764\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/764\/revisions\/784"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/783"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}