{"id":679,"date":"2017-01-24T18:50:32","date_gmt":"2017-01-24T18:50:32","guid":{"rendered":"https:\/\/web.apeconsulting.co.uk\/wordpress\/adrian\/?p=679"},"modified":"2017-01-24T18:50:32","modified_gmt":"2017-01-24T18:50:32","slug":"pc-bsd","status":"publish","type":"post","link":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/","title":{"rendered":"PC-BSD"},"content":{"rendered":"<p>I&#8217;ve been wanted to get back to where we started, specifically my MacBook Air (MBA) and doing something with the spare partition I created when I setup eOS, but I hadn&#8217;t really found the time or decided what I was going to use it for.<\/p>\n<p>Given FreeNAS runs on FreeBSD I thought that was probably the most sensible option, so decided to give PC-BSD a shot, mainly as I expected that to be a lot easier than trying to install FreeBSD and then get a desktop environment up and running (although I had managed that in a virtual machine running a Xfce desktop). &nbsp;If PC-BSD works, then maybe I&#8217;ll try that next.<\/p>\n<p><!--more-->Already having the rEFInd boot loader installed, I assumed it would just be a case of downloading the latest PC-BSD.ISO file, burning onto a DVD and then using that to boot. &nbsp;With the DVD inserted into the Superdrive, I get 2 new boot option after a short wait from power on:<\/p>\n<ol>\n<li>Boot Fallback boot loader from 1MiB FAT volume<\/li>\n<li>Boot Legacy OS from ISO-9660 volume<\/li>\n<\/ol>\n<p>I tried the 2nd option first, but this just displays a prompt to select CD-ROM boot type, but neither option 1 or 2 can be selected. &nbsp;The 1st option looked more promising and started to run through the boot process,&nbsp;and then displayed a menu to select boot options. &nbsp;Pretty much left these as the default and clicked to start. &nbsp; I started to see a very similar boot process to that on FreeNAS with lots of devices being detected and configured, and as this process usually takes some time on FreeNAS just left it running.<\/p>\n<p>Needless to say,&nbsp;things are rarely that straightforward, especially when you don&#8217;t really know what you&#8217;re doing! &nbsp;After a little googling, I began to suspect I hadn&#8217;t burned the DVD correctly, and also found some details about copying an .IMG file to a USB stick instead. &nbsp;<\/p>\n<p><span style=\"font-size: 10pt\">In MacOS this is pretty simple through Terminal using &#8216;dd if=PCBSD10.3-RELEASE-x64-DVD-USB.img of=\/dev\/disk3s1 bs=1M&#8217; (where disk3s1 was my USB device)<\/span><\/p>\n<p><span style=\"font-size: 10pt\">When I&#8217;d done this and rebooted the MBA, I got 3 options:<\/span><\/p>\n<ol>\n<li><span style=\"font-size: 10pt\">Boot Fallback boot loader from EFI<\/span><\/li>\n<li><span style=\"font-size: 10pt\">Boot Linux (Legacy) from whole disk volume<\/span><\/li>\n<li><span style=\"font-size: 10pt\">Boot FreeBSD (Legacy) from unknown volume<\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: 10pt\">Option 3 had a FreeBSD logo, so tried that first but it simply brought up the eOS boot menu. &nbsp;Option 1 fails as no bootable partitions are found. &nbsp;Option 2 booted eOS (which I&#8217;d guessed would be the case) but as it looked like I needed to sort out my spare partition this was quite helpful!<\/span><\/p>\n<p>I thought I needed to create and format a UFS partition, but a little googling suggested this wasn&#8217;t going to be easy (if possible?) on Linux. &nbsp;My search did suggest that XFS might work for a FreeBSD install so I used &#8216;sudo&nbsp;apt-get install xfsprogs&#8217; where I could then use GParted to create a 25GB XFS partition.<\/p>\n<p>Back to the rEFInd boot loader and option 1, but the same message and panic as it couldn&#8217;t find a bootable partition. &nbsp; &nbsp;No progress and much more googling required me thinks&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>Haha! &nbsp;And that&#8217;s why I&#8217;ve developed a love-hate relationship with computers over the last 30+ years!! &nbsp;Not much more googling was actually required as a solution was found in probably the first place I should have really been looking &#8211; the <a href=\"http:\/\/web.pcbsd.org\/doc\/10\/html\/advanced.html#using-the-text-installer\">PC-BSD Manual<\/a>! &nbsp;Very much a case of <strong>RTFM.<\/strong><\/p>\n<p>In the advanced installation options, this gave steps for using the text install\/emergency console by enabling some settings in the installation menu. &nbsp;As I&#8217;d managed to get to this stage using the DVD I burned to begin with, I reconnected the Superdrive, stuck in the DVD and attempted option 1 again from the first numbered list. &nbsp;This got me to the text installer, which I used to select the newly created 25GB partition and away it went. &nbsp;It took about 25 minutes to extract and install the required files at which point the system took me back to the text install menu where I could reboot.<\/p>\n<p>And hey presto, I now have a new option in my rEFInd boot menu, which surprisingly is called the same as option 1 in the 2nd numbered list. &nbsp;Selecting this booted PC-BSD to CLI login screen, which then tries to start the GUI, but other than giving me a small arrow cursor doesn&#8217;t get very far. &nbsp;I can escape out to the FreeBSD command line, but it wants to restart the GUI, so pretty hard to troubleshoot at this stage.<\/p>\n<p>I think that&#8217;s enough though for this blog. &nbsp;PC-BSD is now installed alongside the other 2 operating systems, even though I have some more work to get PC-BSD up and running correctly. &nbsp;<\/p>\n<p>To be continued&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been wanted to get back to where we started, specifically my MacBook Air (MBA) and doing something with the spare partition I created when I setup eOS, but I hadn&#8217;t really found the time or decided what I was going to use it for. Given FreeNAS runs on FreeBSD I thought that was probably [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,2,4,6],"tags":[21],"class_list":["post-679","post","type-post","status-publish","format-standard","hentry","category-eos","category-it","category-macos","category-pc-bsd","tag-spellchecked"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PC-BSD - Adrian&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PC-BSD - Adrian&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve been wanted to get back to where we started, specifically my MacBook Air (MBA) and doing something with the spare partition I created when I setup eOS, but I hadn&#8217;t really found the time or decided what I was going to use it for. Given FreeNAS runs on FreeBSD I thought that was probably [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/\" \/>\n<meta property=\"og:site_name\" content=\"Adrian&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-24T18:50:32+00:00\" \/>\n<meta name=\"author\" content=\"Adrian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adrian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/\"},\"author\":{\"name\":\"Adrian\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"headline\":\"PC-BSD\",\"datePublished\":\"2017-01-24T18:50:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/\"},\"wordCount\":822,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"keywords\":[\"Checked\"],\"articleSection\":[\"eOS\",\"IT\",\"macOS\",\"PC-BSD\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/\",\"name\":\"PC-BSD - Adrian&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\"},\"datePublished\":\"2017-01-24T18:50:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/pc-bsd\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PC-BSD\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\",\"name\":\"Adrian&#039;s Blog\",\"description\":\"Ramblings of an IT Geek\",\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\",\"name\":\"Adrian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"caption\":\"Adrian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PC-BSD - Adrian&#039;s Blog","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":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/","og_locale":"en_GB","og_type":"article","og_title":"PC-BSD - Adrian&#039;s Blog","og_description":"I&#8217;ve been wanted to get back to where we started, specifically my MacBook Air (MBA) and doing something with the spare partition I created when I setup eOS, but I hadn&#8217;t really found the time or decided what I was going to use it for. Given FreeNAS runs on FreeBSD I thought that was probably [&hellip;]","og_url":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/","og_site_name":"Adrian&#039;s Blog","article_published_time":"2017-01-24T18:50:32+00:00","author":"Adrian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adrian","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/#article","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/"},"author":{"name":"Adrian","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"headline":"PC-BSD","datePublished":"2017-01-24T18:50:32+00:00","mainEntityOfPage":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/"},"wordCount":822,"commentCount":0,"publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"keywords":["Checked"],"articleSection":["eOS","IT","macOS","PC-BSD"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/","name":"PC-BSD - Adrian&#039;s Blog","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website"},"datePublished":"2017-01-24T18:50:32+00:00","breadcrumb":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/pc-bsd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/home.apeconsulting.co.uk\/adrian\/"},{"@type":"ListItem","position":2,"name":"PC-BSD"}]},{"@type":"WebSite","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/","name":"Adrian&#039;s Blog","description":"Ramblings of an IT Geek","publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/home.apeconsulting.co.uk\/adrian\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a","name":"Adrian","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","caption":"Adrian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p90DI4-aX","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/comments?post=679"}],"version-history":[{"count":0,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/679\/revisions"}],"wp:attachment":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/media?parent=679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/categories?post=679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/tags?post=679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}