<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FreeBSD Installation | FreeBSD Foundation</title>
	<atom:link href="https://freebsdfoundation.org/topic/freebsd-installation/feed/" rel="self" type="application/rss+xml" />
	<link>https://freebsdfoundation.org</link>
	<description>A non-profit organization dedicated to supporting and building the FreeBSD Project</description>
	<lastBuildDate>Fri, 13 Feb 2026 18:28:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://freebsdfoundation.org/wp-content/uploads/2015/12/favicon.png</url>
	<title>FreeBSD Installation | FreeBSD Foundation</title>
	<link>https://freebsdfoundation.org</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install FreeBSD on VMware</title>
		<link>https://freebsdfoundation.org/resource/how-to-install-freebsd-on-vmware/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 22 Jul 2024 17:12:26 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=16056</guid>

					<description><![CDATA[<p> 1. Installing VMware Fusion: VMware’s desktop products, recently made available by Broadcom as a free download for personal use, run on a wide range of systems; VMware Fusion is designed for Mac systems and can run on M-Series Apple Silicon systems, whereas VMware Workstation is a similar hypervisor that runs on Windows and Linux. Users [&#8230;]</p>
<p>The post <a href="https://freebsdfoundation.org/resource/how-to-install-freebsd-on-vmware/">How to Install FreeBSD on VMware</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor">
<h2><b> 1. Installing VMware Fusion:</b></h2>
<p><span style="font-weight: 400;">VMware’s desktop products, recently made available by Broadcom </span><a href="https://blogs.vmware.com/teamfusion/2024/05/fusion-pro-now-available-free-for-personal-use.html"><span style="font-weight: 400;">as a free download for personal use</span></a><span style="font-weight: 400;">, run on a wide range of systems; VMware Fusion is designed for Mac systems and can run on M-Series Apple Silicon systems, whereas VMware Workstation is a similar hypervisor that runs on Windows and Linux.</span></p>
<p><img fetchpriority="high" decoding="async" class=" wp-image-16057 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-1.png" alt="" width="632" height="216" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-1.png 512w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-1-300x103.png 300w" sizes="(max-width: 632px) 100vw, 632px" /></p>
<p><span style="font-weight: 400;">Users must first register on the Broadcom support portal to install VMware Fusion or VMware Workstation. This signup process includes being included in Broadcom&#8217;s marketing lists, and free access to the hypervisors is granted for personal use.</span></p>
<p><span style="font-weight: 400;">Once registered, </span><a href="https://www.vmware.com/products/desktop-hypervisor.html"><span style="font-weight: 400;">follow the install links on VMware’s website</span></a><span style="font-weight: 400;">, log in using your Broadcom sign-in, and install the correct hypervisor for your system. </span></p>
<p>&nbsp;</p>
<h2><b>2. Getting the latest FreeBSD release:</b></h2>
<p><span style="font-weight: 400;">Visit the official </span><a href="https://www.freebsd.org/where.html"><b>FreeBSD releases page</b></a><span style="font-weight: 400;">. The disk images are listed </span><i><span style="font-weight: 400;">in order of release date</span></i><span style="font-weight: 400;">, so the most recent release can be found at the top of the page as highlighted.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Newer m1/m2 Apple chips will require aarch64 images</span></li>
</ul>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">64-bit Windows machines will require amd64 images</span></li>
</ul>
<p><img decoding="async" class=" wp-image-16059 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-3.png" alt="" width="619" height="202" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-3.png 512w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-3-300x98.png 300w" sizes="(max-width: 619px) 100vw, 619px" /> </p>
<p><span style="font-weight: 400;">After clicking the link, you will be redirected to a file directory containing multiple formats and versions of the FreeBSD installer.</span></p>
<h4><b>Identifying the Correct Disk Image</b></h4>
<p><img decoding="async" class=" wp-image-16058 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-2.png" alt="" width="599" height="193" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-2.png 512w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-2-300x97.png 300w" sizes="(max-width: 599px) 100vw, 599px" /></p>
<p><span style="font-weight: 400;">For VMware, the correct format will be the image ending in <code>-disc.iso</code>, as shown above. Click this file and start downloading the image</span></p>
<p>&nbsp;</p>
<h2><b>3. Creating a FreeBSD Virtual Machine:</b></h2>
<h3><b>3.1 VMware Fusion (Mac):</b></h3>
<p><span style="font-weight: 400;">In VMware Fusion, click the ‘+’ symbol in the top left or center of the client, then click ‘New’ to create a new virtual machine. On Mac, choose ‘Create a custom virtual machine,’ select ‘Other’ as the Operating System, and ‘FreeBSD 14 64-bit’ as the firmware.</span></p>
<p><img loading="lazy" decoding="async" class=" wp-image-16060 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-5.png" alt="" width="552" height="166" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-5.png 512w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-5-300x90.png 300w" sizes="(max-width: 552px) 100vw, 552px" /></p>
<p><span style="font-weight: 400;">Select ‘Create a new virtual disk’ and ‘Continue.’ Then, finish and save the VM using your own naming convention.</span></p>
<p><span style="font-weight: 400;">Before booting, the new virtual machine must be given a CD drive to boot from, or it will fail to boot. Open it to see this message, and do not suspend it; it must be running to attach a drive.</span></p>
<p><span style="font-weight: 400;">Press command+E to open virtual machine settings and click CD/DVD. Choose the FreeBSD ISO image, the “<code>FreeBSD … disc1.iso</code>” image downloaded earlier. Then, check the box to connect a CD/DVD drive.</span></p>
<p><span style="font-weight: 400;">Right-click “virtual machine” in the top menu, and select “restart.”</span></p>
<h3><b>3.2 VMware Workstation (Windows/Linux:</b></h3>
<p><span style="font-weight: 400;">In the center of the client, click ‘Create a New Virtual Machine’ and choose the ‘Typical’ virtual machine option. </span><span style="font-weight: 400;">Choose the FreeBSD ISO image, the “<code>FreeBSD … disc1.iso</code>” image downloaded earlier.</span></p>
<p><img loading="lazy" decoding="async" class=" wp-image-16062 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-7.png" alt="" width="332" height="331" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-7.png 424w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-7-300x300.png 300w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-7-150x150.png 150w" sizes="(max-width: 332px) 100vw, 332px" /></p>
<p><span style="font-weight: 400;">Name the virtual machine using your own naming convention, and ‘Finish’ to create the VM. </span></p>
<p>&nbsp;</p>
<h2><b>4. Booting into FreeBSD:</b></h2>
<p><span style="font-weight: 400;">The FreeBSD booting system will automatically start once VirtualBox starts the virtual machine. Follow the </span><a href="https://www.freebsd.org/doc/handbook/using-bsdinstall.html"><b>FreeBSD Handbook’s installation guide</b></a><span style="font-weight: 400;"> to configure and set up your system. </span><span style="font-weight: 400;">When in doubt, use the default options provided</span><span style="font-weight: 400;">, which can be reconfigured later.</span></p>
<p><span style="font-weight: 400;">Once installation is complete, use the FreeBSD Handbook’s </span><a href="https://www.freebsd.org/doc/handbook/bsdinstall-post.html"><b>post-installation guide.</b></a></p>
<p><img loading="lazy" decoding="async" class="wp-image-16063 aligncenter" src="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-8.png" alt="" width="564" height="339" srcset="https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-8.png 512w, https://freebsdfoundation.org/wp-content/uploads/2024/07/unnamed-8-300x180.png 300w" sizes="(max-width: 564px) 100vw, 564px" /></p>
<p>&nbsp;</p>
<h2><b>5. Finishing Up:</b></h2>
<p><span style="font-weight: 400;">On a bare-metal system, you would now be able to boot directly into FreeBSD with no further configuration. However, since we’re using a virtual machine, a few more steps are required.</span></p>
<p><span style="font-weight: 400;">Open settings. Click on CD/DVD, and then Un-check the box that says “connect CD/DVD Drive&#8221; or “connect on boot”. Exit out of this screen. </span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">Next, click on Processors and Memory and select more RAM and cores. The default options are quite low for a dedicated virtual machine.</span></p>
<p><span style="font-weight: 400;">Use the Start button to boot the virtual machine, and log in to the root user (or use ‘<code>su</code>’ if the guest user was given admin control)</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">To ensure full VMware support, install the <code>open-vm-tools</code> package with:</span></p>
<p><code><span style="font-weight: 400;">pkg install -y open-vm-tools</span></code></p>
<p><span style="font-weight: 400;">If this is the first time<code> pkg</code> has been run, respond to the prompt with y to bootstrap <code>pkg</code>. The <code>open-vm-tools</code> package contains the core user space utilities, application programs, and libraries, including vmtoolsd, to help effectively manage communication between your host and guest OSs.</span></p>
<p>&nbsp;</p>
</section><p>The post <a href="https://freebsdfoundation.org/resource/how-to-install-freebsd-on-vmware/">How to Install FreeBSD on VMware</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>InstallFest How-To Guide P2</title>
		<link>https://freebsdfoundation.org/resource/installfest-how-to-guide-p2/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 15 Aug 2022 18:47:47 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11570</guid>

					<description><![CDATA[<p>The second part of our in depth guide to running your own FreeBSD Installfest, this section covers installing packages, setting up a desktop environment, and using poudriere and jails to further customize your system.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installfest-how-to-guide-p2/">InstallFest How-To Guide P2</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor"><p></section><section class="block block-core-heading"></p>
<h3 class="has-text-align-center wp-block-heading"><strong>This Walkthrough is a Continuation of Part 1 of the InstallFest How-To Guide</strong></h3>
<p></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center"><a href="https://freebsdfoundation.org/freebsd-project/resources/installfest-how-to-guide/" target="_blank" rel="noreferrer noopener">Follow the link here for part 1</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Updated: August 14, 2020</strong></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.1: Package Installation</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-9495" src="https://freebsdfoundation.org/wp-content/uploads/2021/06/Firefox_Logo_2017-992x1024.png" alt="" width="144" height="148" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Packages can be downloaded in bulk by adding them to the same command line. Try this by installing the GNOME desktop environment, sudo, the vim editor, and Firefox in one line:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install -y gnome3 vim-console firefox</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>The -y flag in the previous command assumes a pre-confirmation to the installation process, so installation will start instantly.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Gnome requires <code>/proc</code> to be mounted, in order to do this, run</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /etc/fstab</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>This time we use the vim editor, Vi iMproved, and to begin typing you need to be in “insert mode” and must press ‘<code>i</code>‘ to enter insert mode and begin typing in text. Type in the following one-line configuration:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>proc      /proc      procfs      rw      0      0</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Exit vim by pressing “<code>Esc</code>” on the keyboard, then type <code>ZZ</code> or <code>:wq</code> followed by Enter/Return. At this point the virtual machine desktop can be started with the following command:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Change to regular user by holding down “<code>control</code>” and pressing “<code>d</code>” on the keyboard which will log out the current user.  Log in again, this time as the regular user account that was created and type the following commands.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ echo "exec /usr/local/bin/gnome-session" &gt; ~/.xinitrc</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ startx</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.2: Desktop Configuration</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-9496" src="https://freebsdfoundation.org/wp-content/uploads/2021/06/download-9.png" alt="" width="160" height="160" srcset="https://freebsdfoundation.org/wp-content/uploads/2021/06/download-9.png 225w, https://freebsdfoundation.org/wp-content/uploads/2021/06/download-9-150x150.png 150w" sizes="(max-width: 160px) 100vw, 160px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Here is how to open a local copy of the handbook we installed in the Final Configuration:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Right click on: Desktop &gt; Applications &gt; Firefox Web Browser</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Open Firefox and navigate to the following URL: file:///usr/local/share/doc/freebsd/handbook/index.html</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>This is a local copy of the FreeBSD Handbook, and it will always be available as it doesn’t require an active internet connection. That’s all it takes to install FreeBSD. The next recommended step is to choose a firewall and configure it. Also recommend you pick up a copy of the book “BSD Hacks” to get more familiar with the tcsh shell as well as to acquire several new skills.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Navigate back to Applications and open the terminal.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.3: FreeBSD Update and Package</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>In the open terminal, run:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sudo -i</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ env PAGER=cat freebsd-update fetch install</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>We’re using <code>env PAGER=cat</code> to modify the value of the <code>PAGER</code> variable which is used by the freebsd-update shell script. If you open up the shell script you will see the default value of <code>PAGER</code> is set to less. You can find the location of the freebsd-update shell script by typing which freebsd-update. By setting the value of <code>PAGER</code> to <code>cat</code>, freebsd-update will not stop to display the list of file to be updated, instead the cat command will only display the list of files and won’t stop to wait for you to read. If you only type freebsd-update fetch install, you’ll need to use the following to get through the prompts</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>‘<code>Page Down</code>‘ &amp; ‘<code>q</code>‘ should get you through the prompts. If the screen shows END press ‘<code>q</code>‘, use ‘<code>Page Down</code>‘ for the other screens. You can also use ‘q’ for every screen.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Now that FreeBSD itself is up to date, we should also update the packages.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg update</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg upgrade -y</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.4: Setting up Jails</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-9497" src="https://freebsdfoundation.org/wp-content/uploads/2021/06/download-10.png" alt="" width="144" height="152" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Set UTF-8 as the locale for this host:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /etc/login.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Change the line with :umask=022: to look like the following:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><code>:umask=022:\</code> <code>:charset=UTF-8:\</code> <code>:lang=en_US.UTF-8:</code></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Save and quit the editor then run the following:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cap_mkdb /etc/login.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ logout</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Log in as root and type the following to verify UTF-8 locale has been set</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ locale</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Install iocage</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install -y py37-iocage</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>The following command assumes your <code>zpool</code> is named <code>zroot</code> adjust as necessary. Type <code>zpool</code> status to see the current name of your <code>zpool.</code></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage activate zroot</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage list</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>We should now see an empty table as the output of <code>iocage</code> list, we’ll do some additional housekeeping below to improve performance of <code>iocage</code>. There are many things you can do to optimize performance of various applications. One way to learn several new tips and tricks is to read the supurb collection of FreeBSD Mastery books available at <a href="https://mwl.io/">https://MWL.io</a> (In fact, the following performance optimization trick was in the book FreeBSD Mastery: Jails)</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ mount -t fdescfs null /dev/fd</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vi /etc/fstab</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Add the following line to the file and exit when finished. ‘<code>i</code>‘ for insert mode, ‘<code>ESC</code>‘ then ‘<code>ZZ</code>‘ to save and quit the file. Press ‘<code>TAB</code>‘ between each of the fields for the fstab file rather than using spaces to separate fields.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>fdescfs /dev/fd fdescfs rw 0 0</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Download a Release branch of FreeBSD first</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage fetch</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>We used [<code>Enter</code>] to fetch the default release <code>iocage</code> wants to provide. Verify the download with the following command</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage list -r</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>View the help documentation</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage --help</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Any sub-commands can also have the –help flag appended</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage create --help</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Create a base jail</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage create -T -n JAILNAME ip4_addr="10.0.2.16" -r 12.1-RELEASE</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>List current jails</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage list</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Startup jail-one and jump into the console</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage console JAILNAME</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>The console command will start the jail if it isn’t already started. To manually start a jail use this:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage start JAILNAME</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Similarly to stop a jail issue</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage stop JAILNAME</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Verify networking is working</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Say yes to the pkg bootstrap prompt. Exit the jail console with <code>ctrl + d</code>.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>To delete a jail:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ iocage destroy JAILNAME</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.5: Poudriere</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>The following commands will work on the virtual machine we’ve been using so far, but it will take a long time to compile all the packages.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>We’re going to use the cloned virtual machine we created earlier to explore Poudriere.</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Start up the cloned VM.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Execute the following commands as the root user:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install -y poudriere vim-console</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ mkdir /usr/ports/distfiles</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ mkdir /usr/local/poudriere</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /usr/local/etc/poudriere.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><code>poudriere.conf</code> content to modify</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><code>ZPOOL=zroot</code> <code>FREEBSD_HOST=https://download.freebsd.org</code></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Continue executing:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere jail -c -j amd64-12-1 -v 12.1-RELEASE</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere jail -l</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere ports -cp head</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere ports -l</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Get together a list of packages to build. I ran <code>pkg query -e '%a=0' %o</code> on my laptop and a large list appeared. <code>pkg query</code> on my VM was much shorter. To learn more about <code>pkg query</code> issue the command <code>pkg help query</code> to see help text for the query subcommand. Most commands support some form of help (-h, –help, or simply reading the man page with <code>man PROGRAM</code>) For this tutorial we will just build a shorter list of packages. The command to export the current packages installed on the system to a file called pkglist is:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg query -e ‘%a=0’ %o | tee pkglist</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ editors/vim-console</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ports-mgmt/pkg</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ports-mgmt/poudriere</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Note</strong>: tee writes output to a file and also to stdout. Also the following two bits of information are optional for this tutorial and are included to show you how to customize packages.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Two ways to configure custom options for packages, manually and with the normal make config screen. FYI: Manually looks like this:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /usr/local/etc/poudriere.d/amd64-12-1-make.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ DEFAULT_VERSIONS += ssl=libressl</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>To customize a package one can use the normal package configuration screens, which will appear when issuing the following command</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere options -j amd64-12-1 -p head -f pkglist</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>For this tutorial we’ll just actually build the packages with the default options to get the hang of Poudriere by issuing the following:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere bulk -j amd64-12-1 -p head -f pkglist</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cd /usr/local/poudriere</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>This directory contains logs related to Poudriere builds. There are even a few different website files generated at <code>/data/logs/bulk/.html/</code> with information about the builds. You can open the website in Firefox using the URL <code>file:///data/logs/bulk/.html/index.html</code> to check on the status of a current Poudriere build. You can also press <code>ctrl + t</code> on the command line where you issued the <code>poudriere bulk</code> command to issue a SIGINFO to Poudriere which is configured to print out the current status of the Poudriere build while the command is still processing. This trick works on many other commands as well to show you the status. For instance if you were using <code>scp</code> to download a large file and wanted to see how far along the download was SIGINFO would print out the status on the command line to show you. Another example is if you were decompressing a zip file and wanted to know the status of the extraction process.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Once Poudriere has finished, the packages that were built are available at</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ /data/packages/amd64-12-1-head</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Create a pkg repository</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ mkdir -p /usr/local/etc/pkg/repos</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Disable the main FreeBSD repo by creating a file to override the default settings found in the default FreeBSD repository <code>file /etc/pkg/FreeBSD.conf</code></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /usr/local/etc/pkg/repos/FreeBSD.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Type in the following configuration with enabled set to no</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>FreeBSD: {  <br />
        enabled: no  <br />
}</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Create a new configuration file for your local Poudriere package repository similar to the FreeBSD.conf file to hold the repository configuration</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /usr/local/etc/pkg/repos/amd64-12-1.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Add the following configuration</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>amd64-12-1: { <br />
          url: “file:///data/packages/amd64-12-1-head”,  <br />
          enabled: yes,  <br />
}</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>To reinstall all packages using the new repo</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg upgrade -fy</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>Step 2.6: Updating Poudriere</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>NOTE: A good Systems Administration practice is to add comments to your configs to let the future you know what the config options do and why there were put there in the first place. That way when you revisit a config file after some time, you’ll have some context as to why those options were chosen.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vim /usr/local/etc/poudriere.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p># by default Poudriere builds all packages in the pkglist by default, these two lines tell Poudriere to look at each package individually</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><code>CHECK_CHANGED_OPTIONS=verbose</code> <code>CHECK_CHANGED_DEPS=yes</code></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere jail -j amd64-12-1 -u</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere ports -p head -u</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ poudriere bulk -j amd64-12-1 -p head -f pkglist</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>You can now install the updated packages:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg update</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Some Additional Useful Commands:</h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Avoiding Issues</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Terminate current command:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ^C (Ctrl-C)</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Clear to start of line:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ^U (Ctrl-U)</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Finding Information:</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Manual page for the “cmd” command, replace with any other command to access its manual page:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ man cmd</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Rebooting / Shutting Down</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Power Down:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sudo shutdown –p now</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Reboot:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sudo shutdown –r now</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Log Out:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ exit</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ logout</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Directory Navigation</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Display present work directory:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pwd</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>List contents of current directory:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ls</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Files</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Create file if it does not exist:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ touch filename</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Delete file:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ rm filename</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Rename a file:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ mv oldname newname</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Search for a file: (full filename is not needed)</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ locate filename</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>File editing</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ vi filename</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ee filename</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Change to your home directory</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cd</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cd ~</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Change to parent directory</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cd ..</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><strong>Change to previous directory</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ cd -</code></em></p>
<p></section>
<section class="block block-core-heading"></p>
<h3 class="wp-block-heading"> </h3>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h3 class="wp-block-heading">Additional Resources: </h3>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Website: <a href="http://www.freebsd.org" target="_blank" rel="noreferrer noopener">www.freebsd.org</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>FreeBSD Foundation: <a href="https://freebsdfoundation.org/" target="_blank" rel="noreferrer noopener">archive.freebsdfoundation.org</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>GitHub: <a href="http://github.com/freebsd" target="_blank" rel="noreferrer noopener">github.com/freebsd </a> </p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Mailing Lists: <a href="https://lists.freebsd.org/mailman/listinfo" target="_blank" rel="noreferrer noopener">https://lists.freebsd.org/mailman/listinfo</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Forums: <a href="https://forums.freebsd.org" target="_blank" rel="noreferrer noopener">https://forums.freebsd.org</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>FreeBSD Handbook:<a href="https://www.freebsd.org/doc/handbook/" target="_blank" rel="noreferrer noopener"> https://www.freebsd.org/doc/handbook/</a></p>
<p></section><section class="block block-classic-editor"></p></section><p>The post <a href="https://freebsdfoundation.org/resource/installfest-how-to-guide-p2/">InstallFest How-To Guide P2</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>InstallFest How-To Guide</title>
		<link>https://freebsdfoundation.org/resource/installfest-how-to-guide/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 15 Aug 2022 18:40:33 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11567</guid>

					<description><![CDATA[<p>The first part of our in depth guide to running your own FreeBSD Installfest, this section covers FreeBSD installation, system configuration, and GUI prep.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installfest-how-to-guide/">InstallFest How-To Guide</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor"><p></section><section class="block block-core-paragraph"></p>
<p><strong>Updated: June 15, 2022</strong></p>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>1.1 Identifying Your Computer:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">macOS:</h4>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Start by opening up the terminal, found under Applications &gt; Utilities &gt; Terminal. Then use the code:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>sysctl -n machdep.cpu.brand_string</code></em></p>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-7748" src="https://freebsdfoundation.org/wp-content/uploads/2020/03/save3-1024x102-1.png" alt="" width="547" height="95" srcset="https://freebsdfoundation.org/wp-content/uploads/2020/03/save3-1024x102-1.png 583w, https://freebsdfoundation.org/wp-content/uploads/2020/03/save3-1024x102-1-300x52.png 300w" sizes="(max-width: 547px) 100vw, 547px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>This will return a string identifying the computer’s processor. Running a web search for this processor will take you to the manufacturers website, which should list the processor’s stats as well as whether it is 32-bit or 64-bit.</p>
<p></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">Windows:</h4>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-5160" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-1024x606.png" alt="" width="635" height="376" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-1024x606.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-300x178.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943.png 1084w" sizes="(max-width: 635px) 100vw, 635px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Navigate to “Control Panel → System and Security → System” and look for the highlighted information to determine whether your system is 32-bit or 64-bit.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>2 Installing VirtualBox</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>Visit the <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank" rel="noreferrer noopener">VirtualBox downloads website</a>, and in the highlighted area, select the <em>platform package binary</em> that applies to your operating system. VirtualBox is available on <strong>Windows, macOS, Linux, and Solaris</strong>.</p>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-5158" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/virtual_box_download-e1584821388890.png" alt="" width="567" height="262" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/virtual_box_download-e1584821388890.png 943w, https://freebsdfoundation.org/wp-content/uploads/2016/06/virtual_box_download-e1584821388890-300x139.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Opening the downloaded file will start the installation walkthrough. Once it finishes, you’ll be able to launch the application.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>1.3 Getting the latest FreeBSD release:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">   </h4>
<p></section>
<section class="block block-core-heading"></p>
<h3 class="wp-block-heading">Downloading FreeBSD</h3>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Visit the official <a href="https://www.freebsd.org/where.html" target="_blank" rel="noreferrer noopener">FreeBSD releases page</a>. The disk images are listed <em>in order of release date</em>, so the most recent release can be found at the top of the page as highlighted.</p>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>For <strong>32-bit</strong> machines, click on <strong>i386</strong></li>
	<li>For <strong>64-bit</strong> machines, click on <strong>amd64</strong></li>
</ul>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="349" class="wp-image-11385" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-300x102.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316.png 1067w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>After clicking the link, you will be redirected to a file directory containing multiple formats and versions of the FreeBSD installer.</p>
<p></section>
<section class="block block-core-heading"></p>
<h3 class="wp-block-heading">Identifying the Correct Disk Image</h3>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="205" class="wp-image-11386" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1024x205.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1024x205.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-300x60.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1536x308.png 1536w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-2048x411.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>For Virtual Machines, the format you are looking for is the file ending in <strong>-disk.iso</strong> as shown above. Click this file and it will start downloading the installer.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>4 Configuring and Starting FreeBSD on VirtualBox:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>Once the FreeBSD installer has been downloaded in the last step, run VirtualBox to start hard disk configuration. Select the “New” button on the top left of the window to open the configuration window. </p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Name your operating system as “FreeBSD”, then select FreeBSD from the dropdown menu as well as the version (32 or 64 bit).</p>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-6892" src="https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-1024x608.png" alt="" width="631" height="374" srcset="https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-1024x608.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-300x178.png 300w, https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321.png 1323w" sizes="(max-width: 631px) 100vw, 631px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Choose the defaults options for disc setup until you reach the memory allocation section</p>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>Pick 2-4GB memory (as long as the slider does not move into the red)</li>
	<li>Hardware drive Option – Recommend 100GB at least 20GB</li>
	<li>Give the VM some extra processors if your machine can handle it (stay in the green)</li>
</ul>
<p></section>
<section class="block block-core-paragraph"></p>
<p>After the hard disk has been configured, boot up the operating system with the “Start” button. VirtualBox will start up a virtual machine and ask for a <em>virtual optical disk file</em>. This will be the <strong>.iso</strong> file that you downloaded through the FreeBSD website. Navigate to this file by clicking the small file symbol next to the drop-down menu. Once selected, the booting process will continue and the FreeBSD installer will start.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>5 Installing FreeBSD:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-5218" src="https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619.png" alt="" width="679" height="378" srcset="https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619.png 722w, https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619-300x167.png 300w" sizes="(max-width: 679px) 100vw, 679px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>The FreeBSD booting system will automatically start once VirtualBox starts the virtual machine. While this how-to will provide a detailed installation guide, the <a href="https://www.freebsd.org/doc/handbook/using-bsdinstall.html">FreeBSD handbook’s installation guide</a> can also be used. <em>When in doubt, use the default options provided</em>, as they can be reconfigured later if necessary.</p>
<p></section>
<section class="block block-core-list"></p>
<ol class="wp-block-list">
	<li>After the first boot, users will be directed to the welcome menu. <strong>Arrow </strong>keys can be used to navigate through the options while the <strong>Enter</strong> key will be used to save the selection and move onto the next menu. To begin installation, select the first [ Install ] option.</li>
	<li>This will enter bdsinstall, a program that allows users to install FreeBSD while offering multiple options for customization. For now, default options will be all that’s needed. The options are a great tool for more advanced users wanting a more personalized experience.</li>
	<li>First, the installer will display a menu for keymap selection. Highlight the option to continue with the default keymap and press <strong>Enter</strong> to use the default keyboard layout.</li>
	<li>The installer will then allow the user to set a hostname for the system. Type in a hostname that is unique for your network. Hit <strong>Enter</strong> again to save the new name.</li>
	<li>After a hostname is selected and saved, the installer will prompt the user to select components to install. Stick with the default options and hit <strong>Enter</strong> to continue.</li>
	<li>The installer will guide the user through the process of allocating disk space. This will allow FreeBSD to set up a partition scheme.

<ul>
	<li>Choose the Auto (UFS) Guided Disk Setup.</li>
	<li>Confirm your selection.</li>
	<li>Use the Entire disk (ada0), this will make sure that all allocation disk space will be utilized.</li>
	<li>Select GPT Partitions when prompted for a partition scheme. To navigate, use the <strong>arrow keys</strong> and <strong>Space </strong>to select the GPT option.</li>
</ul>
</li>
	<li>When prompted, complete the setup process and create the disk partition by selecting [ Finish ] and [ Commit ]. Once these changes have been saved and committed, bsdinstall will start the FreeBSD installation process. This may take a few minutes.</li>
</ol>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>6 Post- Installation Setup</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>While the FreeBSD installation process has been completed, there a few more configuration options that need to be set before booting into the newly installed system.</p>
<p></section>
<section class="block block-core-list"></p>
<ol class="wp-block-list">
	<li>First, the <em>root </em>password must be set. The <em>root</em> account is a superuser that has access to all files and commands. Characters that are typed during this section will not be displayed on the screen. Type the new root password and then a second time when prompted.</li>
	<li>Next, FreeBSD will need to configure the network interfaces found on the computer. Select <strong>Enter</strong> to continue. The default options should be used.

<ul>
	<li>Select [ Yes ] to configure IPv4</li>
	<li>Select [ Yes ] to use DHCP to configure</li>
	<li>Select [ Yes ] to configure IPv6</li>
	<li>Select [ Yes ] to try SLAAC</li>
	<li>At this point you will be directed to a menu with Resolver Configuration values, hit <strong>Enter</strong> to continue to the next step.</li>
</ul>
</li>
	<li>The next menu is a large list of regions for time zone configuration. Use the arrow keys to navigate to the correct region and hit <strong>Enter</strong>. Next, navigate to the correct country or region. Finally, identify and choose the correct time zone. Select [ Yes] to confirm.</li>
	<li>A menu to set the correct date will be next, while you can navigate through the menu to set date, choose [ Skip ] if the displayed date is already correct. [ Skip ] the next menu as the time zone was set up in the previous configuration menu.</li>
	<li>The next two menus will be to configure what system services will be started when the system boots. All services are optional and for now select [ OK ] in both menus to continue with the default configuration.</li>
	<li>The next step will be to add a user besides <em>root</em>. Because <em>root </em>has no limits and protection, it is recommended to log in to the system using a user account to limit the damage if a mistake is made (even a typo could be catastrophic).</li>
	<li>When prompted to create a user account select [ Yes ]. Bsdinstall will follow with a series of prompts to customize the account. Below is a quick summary of the information to input. For clarity, text in bold notates when the user should input text and not just use the default option:

<ul>
	<li>Username – username used to log in. <strong>Username is case sensitive and should not contain spaces</strong></li>
	<li>Full name – <strong>The user’s full name</strong></li>
	<li>Uid – user ID (leave this blank)</li>
	<li>Login group – The user’s group (leave blank)</li>
	<li>Invite user into other groups? – Additional groups for the user. <strong>Type: <em>wheel operator video  </em></strong><strong>here, which will assign the user to the wheel (admin), operator, and video groups.</strong></li>
	<li>Login Class – (leave blank)</li>
	<li>Shell – (leave blank)</li>
	<li>Home directory – The user’s home directory (leave blank)</li>
	<li>Home directory permissions – Permissions on the user’s home directory (leave blank)</li>
	<li>Use password-based authentication? – Prompts user to input password at logic (leave blank)</li>
	<li>Use an empty password? – Option to use a blank password, though this is insecure (leave blank)</li>
	<li>Use a random password? – Option for a randomized password (leave blank)</li>
	<li>Enter password – The password for this user. <strong>Characters typed will not show on screen.</strong></li>
	<li>Enter password again – <strong>The password must be typed again for verification.</strong></li>
	<li>Lock out the account after creation? – Option to lock out use (leave blank)</li>
	<li>User will be prompted to review the summary. If a mistake was made enter <em>no</em> and try again. If everything is correct, enter <em>yes</em> to finalize and create the new user. The menu will then ask if the user wants to create further user accounts, for now enter <em>no.</em></li>
</ul>
</li>
	<li>Final configuration: Use the arrow keys to navigate to <em>Handbook </em>and press <strong>Enter</strong> to install the FreeBSD Handbook. Select [ Ok ] to begin installation.</li>
	<li>Navigate to <em>Exit </em>and hit <strong>Enter</strong> to finalize changes. Select [ No ] when asked if further manual configuration is required and [ Reboot ] to complete the FreeBSD installation process.</li>
</ol>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>1.7 Saving Your Configuration:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>Once FreeBSD has been properly configured, a window will appear asking to reboot. Select “yes” and wait until the FreeBSD booting page appears again. Once this happens, manually close the virtual machine window and select “Power off the machine”.</p>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-4091" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-1024x384.png" alt="" width="573" height="214" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-1024x384.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-300x113.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802.png 1280w" sizes="(max-width: 573px) 100vw, 573px" /></figure>
<p></section></div>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>8 Removing the Installation Disk:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>On the main VirtualBox application, click the the section (on the lower right side of the window) that says “Storage”. A new window should appear showing the storage options.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Under the main “Controller: IDE” there will be two options. One will be the hard disk that VirtualBox created for the system (it will have a square blue hard drive icon) and the other is the original FreeBSD download (with a light blue disk icon). Right click the <em>sub-storage</em> with the disk icon and select “Remove” from the drop-down menu.</p>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-4092" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-09at10.52.13AM-e1584822334646-1024x299.png" alt="" width="732" height="214" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Once it is removed, the window should resemble the one pictured above.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>9 Cloning a VirtualBox VM</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>Use the Snapshots menu in VirtualBox to Clone the VM. Check the box “Reinitialize the MAC address of all network cards”. We could choose either a Full clone or a Linked clone. We’ll use the Full clone option. Later on in the installfest we’ll use this cloned VM.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.<strong>10 Final Configurations:</strong></h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<section class="block block-core-paragraph"></p>
<p>Click “Start” with the original VM selected, and the FreeBSD virtual machine should now boot in its configured form. In order to download packages you need to be logged into, or emulate the root user. After logging into the previously created user, enter the following command in the terminal:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ su</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Install the VirtualBox guest addition packages, and configure the startup service configuration:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install emulators/virtualbox-ose-additions</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sysrc vboxguest_enable=YES</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sysrc vboxservice_enable=YES</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>sysrc is a pre-packaged command that allows rc.conf (system configuration to be read on boot) to be edited from the command line, without using a text editor.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">1.11 GUI (Desktop) Prep</h2>
<p></section>
<section class="block block-core-separator"></p>
<hr class="wp-block-separator has-css-opacity" />
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img decoding="async" src="https://upload.wikimedia.org/wikipedia/commons/7/77/Xwin.png" alt="" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Before installing a desktop environment, a graphical user interface (GUI) is needed. The X Window System is an open source GUI that supports FreeBSD and offers a ton of customization and user tools.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>To install the Xorg binary package and configure the X Window System:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install -y xorg</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ee /boot/loader.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><code>ee(1)</code> is the first text editor we will be using, the following line can be added simply by typing it:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>kern.vty=vt</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Escape and then hit Enter twice to save changes and exit the <code>ee(1)</code> editor:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ ee /usr/local/etc/X11/xorg.conf.d/driver-vboxvideo.conf</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Use the same method above and add the following content to the new file:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>Section “Device”</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>          Identifier "Card0"</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>          Driver "vboxvideo"</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>EndSection</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Enter the following commands:</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sysrc dbus_enable=YES </code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ sysrc hald_enable=YES</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ dbus-uuidgen &gt; /etc/machine-id </code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ pkg install -y sudo </code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ visudo</code></em></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>(we will use another text editor, the vi editor, to edit sudo )</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Within the sudo config type <code>/wheel</code> press <code>Enter</code> and uncomment the line below to allow all members of the wheel group to use sudo (in vi you can type the following to accomplish this task: <code>j0xxZZ</code>) ( pressing j moves down, 0 moves to the beginning of a line, x deletes one character, ZZ is saves and quits)</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><code>$ reboot</code></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="has-text-align-center wp-block-heading">The Guide Continues in Part II!</h2>
<p></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center"><a href="https://freebsdfoundation.org/freebsd-project/resources/installfest-how-to-guide-p2/" target="_blank" rel="noreferrer noopener">Follow the link here</a></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center">The next part will include installing a desktop environment, updating FreeBSD, setting up a FreeBSD jail, as well as using Ansible and Poudriere.</p>
<p></section><section class="block block-classic-editor"></p></section><p>The post <a href="https://freebsdfoundation.org/resource/installfest-how-to-guide/">InstallFest How-To Guide</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing GhostBSD</title>
		<link>https://freebsdfoundation.org/resource/installing-ghostbsd/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 15 Aug 2022 15:45:04 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11546</guid>

					<description><![CDATA[<p>A quick video guide covering the installation and configuration of GhostBSD.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-ghostbsd/">Installing GhostBSD</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor">
<p><iframe title="Installing GhostBSD" width="500" height="281" src="https://www.youtube.com/embed/YukS88sRq_o?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
</section><p>The post <a href="https://freebsdfoundation.org/resource/installing-ghostbsd/">Installing GhostBSD</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing HelloSystem</title>
		<link>https://freebsdfoundation.org/resource/installing-hellosystem/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 15 Aug 2022 15:43:44 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11544</guid>

					<description><![CDATA[<p>A quick video guide covering the installation and configuration of HelloSystem.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-hellosystem/">Installing HelloSystem</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor">
<p><iframe title="Installing HelloSystem" width="500" height="281" src="https://www.youtube.com/embed/HXOTCJItFeo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
</section><p>The post <a href="https://freebsdfoundation.org/resource/installing-hellosystem/">Installing HelloSystem</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing FreeBSD with VirtualBox &#8211; Video Guide</title>
		<link>https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox-video-guide/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Mon, 15 Aug 2022 15:31:57 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11537</guid>

					<description><![CDATA[<p>Running FreeBSD on VirtualBox is quick and easy, this video how-to will walk through the process of getting started with FreeBSD.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox-video-guide/">Installing FreeBSD with VirtualBox – Video Guide</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor">
<p><iframe src="https://www.youtube.com/embed/lDrNLIXAsT8" width="933" height="525" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
</section><p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox-video-guide/">Installing FreeBSD with VirtualBox – Video Guide</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing FreeBSD for Raspberry Pi</title>
		<link>https://freebsdfoundation.org/resource/installing-freebsd-for-raspberry-pi/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Tue, 09 Aug 2022 18:43:42 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11521</guid>

					<description><![CDATA[<p>A quick how-to guide for getting FreeBSD installed on your Raspberry Pi.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-for-raspberry-pi/">Installing FreeBSD for Raspberry Pi</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor"><p></section><section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Requirements:</h2>
<p></section>
<section class="block block-core-list"></p>
<ol class="wp-block-list">
	<li>Computer with an SD slot for burning the image. You will need root privileges on this device.</li>
	<li>Raspberry Pi B, Raspberry Pi 2, or Raspberry Pi 3</li>
	<li>A blank SD or Micro SD (Raspberry Pi 2) card.</li>
	<li>Windows users will need to download the latest version of <a href="https://launchpad.net/win32-image-writer/">Image Writer for Windows</a>.</li>
	<li>For booting the Raspberry Pi: A monitor with an HDMI cable, USB keyboard, micro USB power source (5V recommended).</li>
</ol>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 1: Installing the FreeBSD image for Raspberry Pi</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="349" class="wp-image-11385" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-300x102.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316.png 1067w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Visit the FreeBSD release page, found <a href="https://www.freebsd.org/where.html" target="_blank" rel="noreferrer noopener">here</a>. This should be done on the computer you are using to burn the image. Select the download link for the type and class of Raspberry Pi you will be using. Once the file has been downloaded, it will be in a .xz format. A decompression tool, such as winzip, may be needed to export the file into the .img format.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 2: Writing the Image File using dd</h2>
<p></section>
<section class="block block-core-paragraph"></p>
<p>When using an SD card, an extra step will need to be made as simply copying the file will not work with .img files. This is where the dd command comes in (Image Writer for Windows users).</p>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>On Mac/Linux open up the Terminal, located in applications or utilities depending on your OS.</li>
</ul>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>Enter the following commands. I&#8217;ve included the explanation of the command on the right. Only enter the command line:</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center"><em><strong>Warning: This example uses /dev/disk2, replace it with your disk location.</strong></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-1c7b7513-a9b5-4504-be00-6b11c9023a5d" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p class="has-text-align-left"><code><em>sudo su</em></code></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}}</style>

<div id="advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Logs the user into the Super User (root) environment. On Mac you may have not set up a root account, if this is the case, refer to <a href="https://support.apple.com/en-us/HT204012">this guide.</a> This requires the root password.</p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-1c7b7513-a9b5-4504-be00-6b11c9023a5d{}@media screen and (max-width: 1023px) {#advgb-cols-1c7b7513-a9b5-4504-be00-6b11c9023a5d{}}@media screen and (max-width: 767px) {#advgb-cols-1c7b7513-a9b5-4504-be00-6b11c9023a5d{}}#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-ca2d6c48-fc6b-4e27-871f-9d22549897e5>.advgb-column-inner{}}#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-2d0b3ead-296c-4879-8ec0-1336a8aea7bc>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-e082202a-2cd5-4290-9611-a91df3ffceeb" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p class="has-text-align-left"><code><em>diskutil list</em></code></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}}</style>

<div id="advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>List the available disks. The memory stick should be listed. <strong>Take note of the location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-e082202a-2cd5-4290-9611-a91df3ffceeb{}@media screen and (max-width: 1023px) {#advgb-cols-e082202a-2cd5-4290-9611-a91df3ffceeb{}}@media screen and (max-width: 767px) {#advgb-cols-e082202a-2cd5-4290-9611-a91df3ffceeb{}}#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-6f8f9016-5cc0-4f19-9c43-f857b9256b28>.advgb-column-inner{}}#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-3fdd4fd1-0c90-4851-833a-1b3fd96f378d>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-73f5b769-06de-431a-91d3-66b98362467f" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p class="has-text-align-left"><code><em>diskutil unmountDisk <strong>/dev/disk2</strong></em></code></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}}</style>

<div id="advgb-col-fad46caa-affd-4ae7-887c-5d755216611f" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Unmounts the volumes on the target disk. <strong>Remember to replace the example location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-73f5b769-06de-431a-91d3-66b98362467f{}@media screen and (max-width: 1023px) {#advgb-cols-73f5b769-06de-431a-91d3-66b98362467f{}}@media screen and (max-width: 767px) {#advgb-cols-73f5b769-06de-431a-91d3-66b98362467f{}}#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-a1ebad15-ff59-435f-99e9-e9879d40f45e>.advgb-column-inner{}}#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-fad46caa-affd-4ae7-887c-5d755216611f>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-70729f2c-2238-4bfd-a83f-370c4bf805d7" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><code><em>dd if=insertFreeBSDImage.img of=<strong>/dev/disk2</strong> bs=1m</em></code></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}}</style>

<div id="advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Replace [insertFreeBSDImage.img] with the file name that was downloaded from the FreeBSD website, this can also be done by dragging the file from your file searching app to the Terminal. The command copies the image to the memory stick. This will take a few minutes so sit back and grab a snack. <strong>Remember to replace the example location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-70729f2c-2238-4bfd-a83f-370c4bf805d7{}@media screen and (max-width: 1023px) {#advgb-cols-70729f2c-2238-4bfd-a83f-370c4bf805d7{}}@media screen and (max-width: 767px) {#advgb-cols-70729f2c-2238-4bfd-a83f-370c4bf805d7{}}#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-4a541eaf-d7da-4c73-8efd-c0eb3f8c214b>.advgb-column-inner{}}#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-f6d711c6-bee5-495d-9d0d-6d8229efceaf>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-421d9dbc-9582-482c-ac89-40fbdaef3420" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><code><em>diskutil eject <strong>/dev/disk2</strong></em></code></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}}</style>

<div id="advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Ejects the memory stick.</p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-421d9dbc-9582-482c-ac89-40fbdaef3420{}@media screen and (max-width: 1023px) {#advgb-cols-421d9dbc-9582-482c-ac89-40fbdaef3420{}}@media screen and (max-width: 767px) {#advgb-cols-421d9dbc-9582-482c-ac89-40fbdaef3420{}}#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-8657985d-17dc-4c8f-8e9b-64106a55ad91>.advgb-column-inner{}}#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-9a82a9a5-6047-4224-89cf-5ea5421cdd22>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 3: Booting the Raspberry Pi</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1080" height="648" class="wp-image-7779" src="https://freebsdfoundation.org/wp-content/uploads/2020/03/Vilrus_0024_RP3_2000x-e1585158257208.jpg" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2020/03/Vilrus_0024_RP3_2000x-e1585158257208.jpg 1080w, https://freebsdfoundation.org/wp-content/uploads/2020/03/Vilrus_0024_RP3_2000x-e1585158257208-300x180.jpg 300w, https://freebsdfoundation.org/wp-content/uploads/2020/03/Vilrus_0024_RP3_2000x-e1585158257208-1024x614.jpg 1024w" sizes="(max-width: 1080px) 100vw, 1080px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>Insert the now-configured SD or Micro SD card into the SD card reader on the Raspberry Pi. The card will only be able to be inserted in one direction.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Connect the USB keyboard, monitor, and power source to the Raspberry Pi. <strong>Connect the power source last to avoid booting problems.</strong></p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>Once the power source has been connected to the Raspberry Pi, the boot process will start. The USB keyboard can be used to enter commands into the shell that will be displayed on the monitor.</p>
<p></section>
<section class="block block-core-paragraph"></p>
<p>FreeBSD will need to be formatted after installation.</p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 4. Post Installation Configuration:</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="572" class="wp-image-4093" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-1024x572.png" alt="FBSD5" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-1024x572.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-300x167.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5.png 1444w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-paragraph"></p>
<p>The FreeBSD booting system will automatically start once the device has been correctly configured to boot from the FreeBSD image. A guide to the next process can be found <a href="https://www.freebsd.org/doc/handbook/bsdinstall-post.html" target="_blank" rel="noreferrer noopener">here</a>. Sections 2.8-2.8.5 provide a step-by-step guide on how to configure the FreeBSD system. <strong>When in doubt, the default options should be used</strong>. These options can be reconfigured later if needed.</p>
<p></section><section class="block block-classic-editor"></p></section><p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-for-raspberry-pi/">Installing FreeBSD for Raspberry Pi</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing FreeBSD as a Primary Operating System</title>
		<link>https://freebsdfoundation.org/resource/installing-freebsd-as-a-primary-operating-system/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Tue, 09 Aug 2022 18:30:14 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11516</guid>

					<description><![CDATA[<p>Have a machine that you want to run FreeBSD but don't know where to start? This how-to guide provides a detailed walkthrough for setting up FreeBSD as your primary operating system.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-as-a-primary-operating-system/">Installing FreeBSD as a Primary Operating System</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor"><p></section><section class="block block-core-heading"></p>
<h1 class="wp-block-heading">Requirements:</h1>
<p></section>
<section class="block block-core-list"></p>
<ol class="wp-block-list">
	<li>Computer with a USB or CD slot for burning the image. You will need root privileges on this device.</li>
	<li>Host device that you intend to run FreeBSD on. The device will need to be able to read either a USB stick or a CD/DVD.</li>
	<li>One of the following depending on the method you will be using to burn the image: a USB memory stick, or a blank disk.</li>
	<li>Windows users will need to download the latest version of <a href="https://launchpad.net/win32-image-writer/">Image Writer for Windows</a>.</li>
</ol>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h1 class="wp-block-heading">Step 1. Identifying the Host Device&#8217;s Processor:</h1>
<p></section>
<section class="block block-core-image"></p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="349" class="wp-image-11385" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-300x102.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316.png 1067w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>The first step will be to identify the processor type on the device that will host FreeBSD. Most computers include hardware stickers on the bottom or back of the device. When in doubt, search for the device on the manufacturer&#8217;s website.</li>
	<li>Once you have the processor info, search the processor name on the manufacturer&#8217;s website to find if it will supports 64 or 32-bit operating systems.</li>
	<li>Visit the official FreeBSD release page, found <a href="https://www.freebsd.org/where.html" target="_blank" rel="noreferrer noopener">here</a>. This should be done on the computer you are using to burn the image <strong>not the FreeBSD host device</strong>. The disk images are listed in order of release date. The most recent release can be found at the top of the page.</li>
	<li>Select &#8220;amd64&#8221; if you will be using FreeBSD on a 64-bit device or i386 for a 32-bit device. You will be redirected to a folder containing the FreeBSD images.</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 2. Choosing the Media for Image Transfer:</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="205" class="wp-image-11386" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1024x205.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1024x205.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-300x60.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1536x308.png 1536w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-2048x411.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>Choose the download link that includes the media you intend to use. The file name will include the media type at the end of the file name.</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 3.1 Writing the Image File using dd (Mac):</h2>
<p></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>If using a CD or DVD, simply use the computer&#8217;s CD or DVD burning application. While OSX and Windows provide these applications, many more can be found on Google. This will be as easy as drag and dropping the installed image to the disk and then ejecting it.</li>
	<li>If using a USB memory stick, however, an extra step will need to be made as simply copying the file will not work with .img files. This is where the dd command comes in (Image Writer for Windows users).

<ul>
	<li>On Mac/Linux open up the Terminal, located in applications or utilities depending on your OS.</li>
	<li>Enter the following commands, I&#8217;ve included the explanation of the command on the right, only enter the command line:</li>
</ul>
</li>
</ul>
<p></section>
<section class="block block-core-paragraph"></p>
<p><em><strong>Warning: This example uses /dev/disk2, replace it with your disk location.</strong></em></p>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
</p>
<div id="advgb-cols-701930e3-f31c-4a88-8b2b-14be94bbd0ef" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><em><code>$ sudo su</code></em></p>
</section>
<section class="block block-core-paragraph">
<p>&nbsp;</p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}}</style>

<div id="advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Logs the user into the Super User (root) environment. On Mac you may have not set up a root account, if this is the case, refer to <a href="https://support.apple.com/en-us/HT204012">this guide.</a> This requires the root password.</p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-701930e3-f31c-4a88-8b2b-14be94bbd0ef{}@media screen and (max-width: 1023px) {#advgb-cols-701930e3-f31c-4a88-8b2b-14be94bbd0ef{}}@media screen and (max-width: 767px) {#advgb-cols-701930e3-f31c-4a88-8b2b-14be94bbd0ef{}}#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-a15a915f-2b86-4eef-92f9-8246585a557b>.advgb-column-inner{}}#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-f46eb1d7-8555-46db-b978-4c87a4e593c8>.advgb-column-inner{}}</style>
</p>
<div id="advgb-cols-17d439f2-755b-4cd8-a8e6-38a31c2b1483" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><em><code>$ diskutil list</code></em></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}}</style>

<div id="advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>List the available disks. The memory stick should be listed. <strong>Take note of the location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-17d439f2-755b-4cd8-a8e6-38a31c2b1483{}@media screen and (max-width: 1023px) {#advgb-cols-17d439f2-755b-4cd8-a8e6-38a31c2b1483{}}@media screen and (max-width: 767px) {#advgb-cols-17d439f2-755b-4cd8-a8e6-38a31c2b1483{}}#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-2b3b6a9d-6916-4936-a339-37b99e967539>.advgb-column-inner{}}#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-bcfc8290-a1c8-4955-9b43-827883d9915e>.advgb-column-inner{}}</style>
</p>
<div id="advgb-cols-0c01a102-fddb-4ccf-8c0c-944f8f08942a" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-8d539763-448f-4f06-8a27-5b310237dc99" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><em><code>$ diskutil unmountDisk <strong>/dev/disk2</strong></code></em></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}}</style>

<div id="advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Unmounts the volumes on the target disk. <strong>Remember to replace the example location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-0c01a102-fddb-4ccf-8c0c-944f8f08942a{}@media screen and (max-width: 1023px) {#advgb-cols-0c01a102-fddb-4ccf-8c0c-944f8f08942a{}}@media screen and (max-width: 767px) {#advgb-cols-0c01a102-fddb-4ccf-8c0c-944f8f08942a{}}#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-8d539763-448f-4f06-8a27-5b310237dc99>.advgb-column-inner{}}#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-6e905156-78f2-4862-9e5c-aaabba92eb15>.advgb-column-inner{}}</style>
</p>
<div id="advgb-cols-1bd5a498-b072-49ca-b4cc-06dd65841f09" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-e457b348-891b-418d-9044-b4d4e3590b02" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><em><code>$ dd if=insertFreeBSDImage.img of=<strong>/dev/disk2</strong> bs=1m</code></em></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}}</style>

<div id="advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Replace [insertFreeBSDImage.img] with the file name that was downloaded from the FreeBSD website, this can also be done by dragging the file from your file searching app to the Terminal. The command copies the image to the memory stick. This will take a few minutes so sit back and grab a snack. <strong>Remember to replace the example location.</strong></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-1bd5a498-b072-49ca-b4cc-06dd65841f09{}@media screen and (max-width: 1023px) {#advgb-cols-1bd5a498-b072-49ca-b4cc-06dd65841f09{}}@media screen and (max-width: 767px) {#advgb-cols-1bd5a498-b072-49ca-b4cc-06dd65841f09{}}#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-e457b348-891b-418d-9044-b4d4e3590b02>.advgb-column-inner{}}#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-c6266749-859e-4a5d-b094-a2f75e3bc7ee>.advgb-column-inner{}}</style>
</p>
<div id="advgb-cols-9ab0ccd7-5f0b-45ec-acb3-3409f4130941" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-2 layout-13-23 mbl-layout-stacked vgutter-10">
<div id="advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf" class="wp-block-advgb-column advgb-column advgb-is-one-third-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p><em><code>$ diskutil eject <strong>/dev/disk2</strong></code></em></p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}}</style>

<div id="advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814" class="wp-block-advgb-column advgb-column advgb-is-two-thirds-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-paragraph">
<p>Ejects the memory stick.</p>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}}</style></div>
</div>
</div>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-9ab0ccd7-5f0b-45ec-acb3-3409f4130941{}@media screen and (max-width: 1023px) {#advgb-cols-9ab0ccd7-5f0b-45ec-acb3-3409f4130941{}}@media screen and (max-width: 767px) {#advgb-cols-9ab0ccd7-5f0b-45ec-acb3-3409f4130941{}}#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-5b806693-b57b-4fea-9e1e-bccdd38b4fdf>.advgb-column-inner{}}#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-19a1267c-96cf-4faf-9f92-59440fa00814>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 3.2 Writing the Image File Using Image Writer (Windows):</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="415" height="311" class="wp-image-4481" src="https://freebsdfoundation.org/wp-content/uploads/2016/08/win32-imagewriter.png" alt="win32-imagewriter" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/08/win32-imagewriter.png 415w, https://freebsdfoundation.org/wp-content/uploads/2016/08/win32-imagewriter-300x225.png 300w" sizes="(max-width: 415px) 100vw, 415px" /></figure>
<p></section></div>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>Start by downloading Image Writer, a program for saving and restoring OS images on removable drives.</li>
	<li>Locate the image from the built-in file browser, then select the USB drive in the drop-down menu under &#8220;Device&#8221;</li>
	<li>Finally, select &#8220;Write&#8221; at the bottom of the application and wait for the program to finish writing the image file to your removable drive.</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 4. Booting From the USB/Disk:</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="722" height="402" class="wp-image-5218" src="https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619.png 722w, https://freebsdfoundation.org/wp-content/uploads/2017/05/freebsd_bootscreen-e1585249387619-300x167.png 300w" sizes="(max-width: 722px) 100vw, 722px" /></figure>
<p></section></div>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>This step is highly dependent on the device you&#8217;re using. If the device comes without a pre-installed operating system, FreeBSD should be the default option when it boots the first time (as long as the image media is inserted)</li>
	<li>If the device comes with an operating system, however, you will have to delay the initial boot process and instruct the device to boot from the FreeBSD media you are using.

<ul>
	<li>Make sure to have the FreeBSD media (disk or USB drive) inserted in the device.</li>
	<li>The boot loader on most computers will have a menu that appears with instructions on how to access boot settings. In general, the f12 key is the most commonly used, make sure to read the instructions and follow them to the boot settings.</li>
	<li>Under the boot settings, select either the disk drive or the USB drive as your primary booting location.</li>
	<li>Accept the changes and continue booting the computer, it should now boot FreeBSD.</li>
</ul>
</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading">Step 5. Post Installation Configuration:</h2>
<p></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="572" class="wp-image-4093" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-1024x572.png" alt="FBSD5" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-1024x572.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5-300x167.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/FBSD5.png 1444w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p></section></div>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>The FreeBSD booting system will automatically start once the device has been correctly configured to boot from the FreeBSD image. A guide to the next process can be found <a href="https://www.freebsd.org/doc/handbook/bsdinstall-post.html" target="_blank" rel="noreferrer noopener">here</a>. Sections 2.8-2.8.5 provide a step-by-step guide on how to configure the FreeBSD system. <strong>When in doubt, the default options should be used</strong>. These options can be reconfigured later if needed.</li>
	<li>Something to note while setting up FreeBSD: while you type in passwords in FreeBSD the text will not appear. </li>
	<li>Once you are finished, you will be prompted to restart the now configured device. Remove the disk or USB stick before doing so and select &#8220;yes&#8221;.</li>
</ul>
<p></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center">You now are running FreeBSD as your primary operating system!</p>
<p></section><section class="block block-classic-editor"></p></section><p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-as-a-primary-operating-system/">Installing FreeBSD as a Primary Operating System</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing FreeBSD with VirtualBox</title>
		<link>https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox/</link>
		
		<dc:creator><![CDATA[Anne Dickison]]></dc:creator>
		<pubDate>Tue, 09 Aug 2022 18:07:34 +0000</pubDate>
				<guid isPermaLink="false">https://freebsdfoundation.org/?post_type=resource&#038;p=11514</guid>

					<description><![CDATA[<p>Running FreeBSD on VirtualBox is quick and easy, this how-to will walk through the process of getting started with FreeBSD.</p>
<p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox/">Installing FreeBSD with VirtualBox</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="block block-classic-editor"><p></section><section class="block block-core-paragraph"></p>
<p class="has-text-align-center"><section class="block block-core-paragraph"></p>
<p><strong>Last Updated: June 15th, 2024 with FreeBSD 14.1</strong></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true">Note: These steps are still applicable when installing FreeBSD 15.o</div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>1. Identifying Your Computer:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Determine if your computer has a <strong>32-bit</strong> or <strong>64-bit</strong> processor. Finding this information will depend on your operating system, so go to the relevant section below:</p>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">macOS:</h4>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Start by opening up the terminal, found under Applications &gt; Utilities &gt; Terminal. Then use the code:</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p><code><em>$ sysctl -n machdep.cpu.brand_string</em></code></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>This will return a string identifying the computer&#8217;s processor. Running a web search for this processor will take you to the manufacturers website, which should list the processor&#8217;s stats as well as whether it is 32-bit or 64-bit.</p>
<p class="has-text-align-center"></section>
</p>
<div id="advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907" class="wp-block-advgb-columns advgb-columns-wrapper">
<div class="advgb-columns-container">
<div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-3 layout-15-35-15 mbl-layout-stacked vgutter-10">
<div id="advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67" class="wp-block-advgb-column advgb-column advgb-is-one-fifth-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"> </div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}</style>

<div id="advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2" class="wp-block-advgb-column advgb-column advgb-is-three-fifths-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"><section class="block block-core-image">
<figure class="wp-block-image"><img decoding="async" src="https://freebsdfoundation.org/wp-content/uploads/2020/03/save3-1024x102-1.png" alt="This image has an empty alt attribute; its file name is save3-1024x102-1.png" /></figure>
</section></div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}</style>

<div id="advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c" class="wp-block-advgb-column advgb-column advgb-is-one-fifth-tablet advgb-is-full-mobile">
<div class="advgb-column-inner"> </div>
</div>
<style type="text/css" class="advgb-blocks-styles-renderer">#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}</style></div>
</div>
</div>
<p class="has-text-align-center"><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}@media screen and (max-width: 1023px) {#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}}@media screen and (max-width: 767px) {#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}}#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}</style>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">Windows:</h4>
<p class="has-text-align-center"></section>
<section class="block block-core-image"></p>
<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1024" height="606" class="wp-image-5160" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-1024x606.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-1024x606.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943-300x178.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/windows_system_info-e1584820042943.png 1084w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Navigate to &#8220;Control Panel → System and Security → System&#8221; and look for the highlighted information to determine whether your system is 32-bit or 64-bit.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>2. Installing VirtualBox</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Visit the <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank" rel="noreferrer noopener">VirtualBox downloads website</a>, and in the highlighted area, select the <em>platform package binary</em> that applies to your operating system. VirtualBox is available on <strong>Windows, macOS, Linux, and Solaris</strong>.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h1 class="wp-block-heading"><img loading="lazy" decoding="async" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/virtual_box_download-e1584821388890.png" alt="" width="980" height="455" /></h1>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Opening the downloaded file will start the installation walkthrough. Once it finishes, you&#8217;ll be able to launch the application.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>3. Getting the latest FreeBSD release:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">Downloading FreeBSD</h4>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Visit the official <a href="https://www.freebsd.org/where.html" target="_blank" rel="noreferrer noopener">FreeBSD releases page</a>. The disk images are listed <em>in order of release date</em>, so the most recent release can be found at the top of the page as highlighted.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>For <strong>32-bit</strong> machines, click on <strong>i386</strong></li>
</ul>
<p class="has-text-align-center"></section>
<section class="block block-core-list"></p>
<ul class="wp-block-list">
	<li>For <strong>64-bit</strong> machines, click on <strong>amd64</strong></li>
</ul>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="349" class="wp-image-11385" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-1024x349.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316-300x102.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112316.png 1067w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-paragraph"></p>
<p>After clicking the link, you will be redirected to a file directory containing multiple formats and versions of the FreeBSD installer.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p><strong>NOTE: </strong>Although there is a section on the release page for virtual machines, do not download those options for VirtualBox.VirtualBox cannot read <strong>.qcow</strong> files like other virtual machines and requires a <strong>.iso</strong> installer format.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h4 class="wp-block-heading">Identifying the Correct Disk Image</h4>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="205" class="wp-image-11397" src="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1-1024x205.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1-1024x205.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1-300x60.png 300w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1-1536x308.png 1536w, https://freebsdfoundation.org/wp-content/uploads/2022/06/Screenshot-2022-06-15-112332-1-2048x411.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-paragraph"></p>
<p>For Virtual Machines, the format you are looking for is the file ending in <strong>-disk.iso</strong> as shown abovew. Click this file and it will start downloading the installer.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>4. Configuring and Starting FreeBSD on VirtualBox:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Once the FreeBSD installer has been downloaded in the last step, open VirtualBox to start hard disk configuration. Select the &#8220;New&#8221; button on the top left of the window to open the configuration window. </p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Name your operating system as &#8220;FreeBSD&#8221;, then select FreeBSD from the dropdown menu as well as the version (32 or 64 bit).</p>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="608" class="wp-image-6892" src="https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-1024x608.png" alt="" srcset="https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-1024x608.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321-300x178.png 300w, https://freebsdfoundation.org/wp-content/uploads/2019/03/Screen-Shot-2019-02-28-at-6.12.28-PM-e1584821693321.png 1323w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-paragraph"></p>
<p>The program will then guide you through hard disk setup. <em>The default settings work perfectly for FreeBSD. </em>However, if you plan on installing a large number of applications or a desktop environment through FreeBSD, allocating 15GB+ of disk space is recommended. This can be adjusted later and the default settings should be plenty of room for the average user. </p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>After the hard disk has been configured, boot up the operating system with the &#8220;Start&#8221; button. VirtualBox will start up a virtual machine and ask for a <em>virtual optical disk file</em>. This will be the file that you downloaded through the FreeBSD website. Navigate to this file by clicking the small file symbol next to the drop-down menu. Once selected, the booting process will continue and the FreeBSD installer will start.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>5. Booting into FreeBSD:</strong></h2>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="628" class="wp-image-4090" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-02at5.24.33PM-1024x628.png" alt="Screen+Shot+2016-06-02+at+5.24.33+PM" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-02at5.24.33PM-1024x628.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-02at5.24.33PM-300x184.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-02at5.24.33PM.png 1444w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-paragraph"></p>
<p>The FreeBSD booting system will automatically start once VirtualBox starts the virtual machine. Follow the <a href="https://www.freebsd.org/doc/handbook/using-bsdinstall.html">FreeBSD handbook&#8217;s installation guide</a> to configure and setup your system. <em>When in doubt, use the default options provided</em>, as they can be reconfigured later if necessary.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Once installation incomplete, continue using FreeBSD handbook&#8217;s <a href="https://www.freebsd.org/doc/handbook/bsdinstall-post.html">post-installation guide</a>. <em>Once again, using default options when recommended.</em></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>While creating the initial account, it is recommended to add the user to the <strong>wheel</strong> group, this will give the user access to administrative commands.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p><strong>NOTE:</strong> when you type in passwords in FreeBSD, the text will not appear on the screen, but will still be entered. </p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>6. Saving Your Configuration:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Once FreeBSD has been properly configured a window will appear asking if you would like to reboot to set the changes. Select &#8220;yes&#8221; and wait until the FreeBSD booting page appears again. Once this happens, close the virtual machine window and select &#8220;Power off the machine&#8221;.</p>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="384" class="wp-image-4091" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-1024x384.png" alt="Screen+Shot+2016-06-14+at+1.23.48+PM" srcset="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-1024x384.png 1024w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802-300x113.png 300w, https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-14at1.23.48PM-e1584822254802.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>7. Removing the Installation Disk:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>On the main VirtualBox application, click the the section (on the lower right side of the window) that says &#8220;Storage&#8221;. A new window should appear showing the storage options.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Under the main &#8220;Controller: IDE&#8221; there will be two options. One will be the hard disk that VirtualBox created for the system (it will have a square blue hard drive icon) and the other is the original FreeBSD download (with a light blue disk icon). Right click the <em>sub-storage</em> with the disk icon and select &#8220;Remove&#8221; from the drop-down menu.</p>
<p class="has-text-align-center"></section>
<div class="wp-block-image"><section class="block block-core-image"></p>
<figure class="aligncenter"><img loading="lazy" decoding="async" width="1024" height="299" class="wp-image-4092" src="https://freebsdfoundation.org/wp-content/uploads/2016/06/ScreenShot2016-06-09at10.52.13AM-e1584822334646-1024x299.png" alt="Screen+Shot+2016-06-09+at+10.52.13+AM" /></figure>
<p class="has-text-align-center"></section></div>
<section class="block block-core-paragraph"></p>
<p>Once it is removed, the window should resemble the one pictured above.</p>
<p class="has-text-align-center"></section>
<section class="block block-core-spacer"></p>
<div class="wp-block-spacer" aria-hidden="true"> </div>
<p class="has-text-align-center"></section>
<section class="block block-core-heading"></p>
<h2 class="wp-block-heading"><strong>8. Final Steps:</strong></h2>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>Select &#8220;OK&#8221; to save your changes and return to the main VirtualBox application. Click &#8220;Start&#8221; again and the FreeBSD virtual machine should now boot in its configured form. <em>You now have FreeBSD installed on your machine!</em></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>VirtualBox comes with virtual graphics/audio drivers that FreeBSD may have trouble identifying. To fix problems that may arise later on as a result, log in and enter these lines at the prompt <strong>(ignoring the &#8220;$&#8221;):</strong></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p>In order to download packages you need to be logged into, or emulate the root user. To quickly do this:</p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p><code>$ su</code><code></code></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p class="has-text-align-center"></section>
<section class="block block-core-paragraph"></p>
<p><em><section class="block block-core-paragraph"></em></p>
<p>Install the VirtualBox guest addition packages:</p>
<p><em></section>
<section class="block block-core-paragraph"></em></p>
<p><code># pkg install -y virtualbox-ose-additions-72</code></p>
<p><em></section>
<section class="block block-core-paragraph"></em></p>
<p>Enable these services with:</p>
<p><em></section>
<section class="block block-core-paragraph"></em></p>
<p><code># sysrc vboxguest_enable=YES</code></p>
<p><em></section>
<section class="block block-core-paragraph"></em></p>
<p><code># sysrc vboxservice_enable=YES</code></p>
<p>&nbsp;</p>
<p style="text-align: center;"><em></section><strong>You are now ready to start using your FreeBSD system!</strong></em></p>
<p class="has-text-align-center"></section></p>
<p><style type="text/css" class="advgb-blocks-styles-renderer">#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}@media screen and (max-width: 1023px) {#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}}@media screen and (max-width: 767px) {#advgb-cols-6d2efd17-37fd-46d7-b93a-967cebc53907{}}#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-90537fed-c3bf-440d-800d-ae0021ef1f67>.advgb-column-inner{}}#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-ccb586ee-86ed-41ce-b46c-a7de1b0e7ca2>.advgb-column-inner{}}#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}@media screen and (max-width: 1023px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}@media screen and (max-width: 767px) {#advgb-col-fa6c92bf-07a8-462e-8f6e-73516a8d8d9c>.advgb-column-inner{}}</style></section><section class="block block-classic-editor"></p></section><p>The post <a href="https://freebsdfoundation.org/resource/installing-freebsd-with-virtualbox/">Installing FreeBSD with VirtualBox</a> first appeared on <a href="https://freebsdfoundation.org">FreeBSD Foundation</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
