{"id":1798,"date":"2019-10-03T21:33:07","date_gmt":"2019-10-04T04:33:07","guid":{"rendered":"https:\/\/doubleecpu.com\/?page_id=1798"},"modified":"2019-10-05T17:16:53","modified_gmt":"2019-10-06T00:16:53","slug":"centos-on-raspberrypi","status":"publish","type":"page","link":"https:\/\/doubleecpu.com\/index.php\/raspian-linux-programs\/centos-on-raspberrypi\/","title":{"rendered":"CentOS on RaspberryPi"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Download <\/h2>\n\n\n\n<p> Download an armhfp image from a mirror site under AltArch Releases<br> <a href=\"https:\/\/wiki.centos.org\/Download\">https:\/\/wiki.centos.org\/Download<\/a> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1100\" height=\"293\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_AltArch_Releases.png\" alt=\"\" class=\"wp-image-1799\"\/><\/figure>\n\n\n\n<p>Unzip the file download and install onto microSD Card<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows 10<\/h2>\n\n\n\n<p>On Windows 10 balenaEtcher can be used to Flash the raw.xz file to the microSD card<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"474\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Etcher_Select_Image.png\" alt=\"\" class=\"wp-image-1809\"\/><figcaption>Select image and microSD Card<br><\/figcaption><\/figure>\n\n\n\n<p>Select the CentOS image file and click flash<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"468\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Etcher_RasPi_Image.png\" alt=\"\" class=\"wp-image-1810\"\/><\/figure>\n\n\n\n<p>On User App Control allow program to make changes to device and wait until Flash is complete. (ETA #m#s will estimate min sec remaining to complete).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"791\" height=\"471\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Etcher_Flash_Progress.png\" alt=\"\" class=\"wp-image-1811\"\/><\/figure>\n\n\n\n<p>After flashing is completed balenaEthcher will validate the image on microSD card.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"469\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Etcher_Valid_Image.png\" alt=\"\" class=\"wp-image-1812\"\/><\/figure>\n\n\n\n<p>After Validation the Flash Complete screen will appear<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"475\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Etcher_Flash_Complete.png\" alt=\"\" class=\"wp-image-1813\"\/><\/figure>\n\n\n\n<p>The microSD card can be ejected and placed into the raspberry Pi and booted into CentOS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Raspian<\/h2>\n\n\n\n<p>Take note of directory where the image was downloaded to<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Extract_raw_XZ_file.png\" alt=\"\" class=\"wp-image-1800\" width=\"296\" height=\"182\"\/><\/figure>\n\n\n\n<p>In this a FAT32 formatted microSD card and USB SD card reader will be used, (Raspian default configuration will automatically mount and microSD card will be listed under \/media\/pi\/XXXX-XXXX<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"271\" height=\"100\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Media_pi_USB_Number.png\" alt=\"\" class=\"wp-image-1802\"\/><figcaption>ls \/media\/pi  can also be used on command prompt<\/figcaption><\/figure>\n\n\n\n<p>To get the device mount point check the mounts file<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo cat \/proc\/mounts<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"75\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Media_pi_USB_mounting.png\" alt=\"\" class=\"wp-image-1801\"\/><figcaption>\/dev\/sda1 is the mounting point<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"93\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/10\/CentOS_Media_Burn_to_microSD.png\" alt=\"\" class=\"wp-image-1803\"\/><\/figure>\n\n\n\n<p>Look through the list of devices listing the \/media\/pi\/number that matches the name given to the usb SD card reader (in this case \/dev\/sda1) which will be used to burn the CentOS image to the microSD card. Using the data duplicator, dd, command can be used to transfer the image data to the micro SD card. The command dd if=\/input\/directory\/filename.raw of=\/dev\/sda1 will create the bootable microSD card. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dd if=CentOS-Userland-7-armv7hl-generic-GNOME-1908-sda.raw.xz of=\/dev\/sda1 bs=2M<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Download Download an armhfp image from a mirror site under AltArch Releases https:\/\/wiki.centos.org\/Download Unzip the file download and install onto microSD Card Windows 10 On Windows 10 balenaEtcher can be used to Flash the raw.xz file to the microSD card Select the CentOS image file and click flash On User App Control allow program to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/doubleecpu.com\/index.php\/raspian-linux-programs\/centos-on-raspberrypi\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;CentOS on RaspberryPi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":261,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1798","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/1798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/comments?post=1798"}],"version-history":[{"count":0,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/1798\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/261"}],"wp:attachment":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/media?parent=1798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}