{"id":1317,"date":"2021-01-25T12:14:53","date_gmt":"2021-01-25T16:14:53","guid":{"rendered":"https:\/\/io.bainwerx.com\/blog\/?p=1317"},"modified":"2021-01-25T12:14:57","modified_gmt":"2021-01-25T16:14:57","slug":"pihole-system-v2-0","status":"publish","type":"post","link":"https:\/\/io.bainwerx.com\/blog\/pihole-system-v2-0\/","title":{"rendered":"PiHole System v2.0"},"content":{"rendered":"\n<p>So I&#8217;ve noticed the PiHole being a little bogged down as of late.  I&#8217;m only running it on a Raspberry Pi 3b+ at the moment so I know I am a little limited as to the performance&#8230;but as I have a couple of background projects I want to tackle this year, I thought I would take the oppotunity to replace the SD card with an NVME SSD drive (only about 5000 times faster).<\/p>\n\n\n\n<p>Overall it was a pretty painless process&#8230;the big part was realizing that it takes 5-10 seconds for the USB to recognize the booth drive&#8230;but then it&#8217;s *BOOM* and we are back up and running almost instantly (pretty impressive actually).<\/p>\n\n\n\n<p>The drive went together without a hitch, and was recognized and everything&#8230;but then&#8230;ROADBLOCK.<\/p>\n\n\n\n<p>I boot off of an SD card&#8230;how do I image that to the NVME drive?<\/p>\n\n\n\n<p>Thankfully someone else ran into this same issue and wrote a script\/small app to resolve this very issue&#8230;and DAMN is it easy and impressive.  With a small installation and a simple command of&#8230;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ rpi-clone sda<\/code><\/pre>\n\n\n\n<p>I was up and running with no issues!<\/p>\n\n\n\n<p>================================================================<\/p>\n\n\n\n<p>Mad props to https:\/\/github.com\/billw2\/rpi-clone<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">On a Raspberry Pi:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\t$ git clone https:\/\/github.com\/billw2\/rpi-clone.git \n\t$ cd rpi-clone\n\t$ sudo cp rpi-clone rpi-clone-setup \/usr\/local\/sbin\n<\/code><\/pre>\n\n\n\n<p>Make sure \/usr\/local\/sbin is in your $PATH and then run rpi-clone or rpi-clone-setup with no args to print usage.<\/p>\n\n\n\n<p>rpi-clone-setup is for setting the hostname in \/etc\/hostname and \/etc\/hosts files. It is run automatically by rpi-clone if -s args are given, but before your first clone using a -s option, test run rpi-clone-setup with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      $ sudo rpi-clone-setup -t testhostname\n<\/code><\/pre>\n\n\n\n<p>And check the files under \/tmp\/clone-test to be sure the files have been edited correctly. If you need additional customizations to a clone, add them to the rpi-clone-setup script.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/billw2\/rpi-clone#on-other-os\"><\/a><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;ve noticed the PiHole being a little bogged down as of late. I&#8217;m only running it on a Raspberry Pi 3b+ at the moment so I know I am a little limited as to the performance&#8230;but as I have a couple of background projects I want to tackle this year, I thought I would &hellip; <a href=\"https:\/\/io.bainwerx.com\/blog\/pihole-system-v2-0\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PiHole System v2.0<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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":[1],"tags":[],"class_list":["post-1317","post","type-post","status-publish","format-standard","hentry","category-uncategorized","without-featured-image"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8DcKP-lf","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/comments?post=1317"}],"version-history":[{"count":2,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1317\/revisions"}],"predecessor-version":[{"id":1320,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1317\/revisions\/1320"}],"wp:attachment":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/media?parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/categories?post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/tags?post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}