<?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>Syntactic Whitespace &#187; bsd</title>
	<atom:link href="http://www.mikedonaghy.org/tag/bsd/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mikedonaghy.org</link>
	<description>Because semi-colons are for noobs</description>
	<lastBuildDate>Mon, 31 May 2010 17:22:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Freebsd Installation , Brief Howto</title>
		<link>http://www.mikedonaghy.org/post/freebsd-installation-brief-howto</link>
		<comments>http://www.mikedonaghy.org/post/freebsd-installation-brief-howto#comments</comments>
		<pubDate>Sun, 15 Jun 2008 02:30:25 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Unix-Clone]]></category>
		<category><![CDATA[Unix-Variant]]></category>

		<guid isPermaLink="false">http://www.mikedonaghy.org/?p=118</guid>
		<description><![CDATA[This post cross-posted at Daemon Diaries I recently installed FreeBSD on my laptop &#8230; here is how it went: Backing Up! Before we do ANYTHING , make sure you backup all data that you cannot afford to lose &#8230; because more than likely we are going to be erasing any of that durring the partitioning [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><small> This post cross-posted at <a href="http://daemondiaries.wordpress.com/2008/06/12/freebsd-install-brief-how-to">Daemon Diaries</a>
</p></blockquote>
<p>
I recently installed FreeBSD on my laptop &#8230; here is how it went:</p>
<p><span id="more-118"></span></p>
<h1>Backing Up!</h1>
<p>Before we do ANYTHING , make sure you backup all data that you cannot afford to lose &#8230; because more than likely we are going to be erasing any of that durring the partitioning portion &#8230; you have been warned</p>
<p>Disclaimer: I am not responsible if your machine is damaged or harmed in this process , if you follow the guide EXACTLY there should be no problem</p>
<ol>
<li>Go to <a href="http://freebsd.org/where.html">FreeBSD.org</a></li>
<li>Find your architecture in the list and choose [ISO]</li>
<li>In the list of downloads , the files you need should be called 7.0-RELEASE-(YOUR ARCHITECTURE)-disc(1-3).iso , if you want to have the maximum amount of packages available to you you must have all three discs</li>
<li>Burn all three disc images to CD</li>
<li>Insert the first disc and reboot your PC</li>
<li>Select your country</li>
<li>Choose Standard Installation</li>
<li>
<h1><strong>STOP!</strong></h1>
<p>&#8230; depending on how you setup this next big all of your data may be     erased ,</p>
<h1><strong>BACKUP YOUR DATA NOW</strong></h1>
</li>
<li> Once you&#8217;ve backed up all of your data , press the d key until all slices are deleted</li>
<li> Press the c key to create a new slice &#8230; make this one about double the amount of physical ram you have in your computer , if you have 512 megs of ram make this one 1024 megs (1gig) for the type , enter 130 for a swap partition</li>
<li>Now select the remaining unused space and accept the default size (or change if if you want more than one partition and enter type 165 (UFS , the FreeBSD default)</li>
<li>Now in the next screen (the BSD DiskLabel editor) press the c key and enter an amount equal to double the amount of your ram , for instance if you have 512 megs of ram enter 1024M here , select swap as the type</li>
<li>press the c key again , accept the default , select FS as the type and enter / as the Mount Point</li>
<li>Press the q key to finish</li>
<li>Select the distribution set you want , the descriptions are pretty accurate &#8230; I chose X-User which is a pretty good base to use (you can change this at any time)</li>
<li>this is the VERY LAST CHANCE to save your data &#8230; after this it will all be overwritten , select CD/DVD for your source and sit back while FreeBSD installs (this should take between 20-40 minutes depending on your processor speed)</li>
</ol>
<h1>Optional Steps</h1>
<ol>
<h2>Setting up openbox</h2>
<li> follow the prompts after the installation , insert the other cds as the installer requests and after you reboot you should have a full working FreeBSD system , you do have X but no window manager</li>
<li> to easily get a window manager running , login as root at the login prompt using the password you set in the installer</li>
<li> type &#8220;pkg_add -r openbox&#8221; to install a window manager</li>
<li> type &#8220;pkg_add -r feh&#8221; to install a program to set your wallpaper</li>
<li> type &#8220;pkg_add -r xterm&#8221; for an x-terminal-emulator</li>
<li> type &#8220;pkg_add -r firefox&#8221; to install a web browser</li>
<li> finally type &#8220;pkg_add -r sudo&#8221; to install the sudo package &#8230; we&#8217;ll configure this later</li>
<li> type logout to log out of the root user account</li>
<li> now login as your user account</li>
<li> type vi ~/.xinitrc ,  press the i key  and type &#8220;exec openbox-session&#8221; , press the escape key , and type &#8220;:wq&#8221;</li>
<li> Finally type startx to open X and openbox will open , press the right mouse button to view the openbox menu</li>
</ol>
<h2>Setting up sudo</h2>
<p>sudo is a program that allows users to act as root to do certain tasks like adding packages , installing ports ,or editing system files</p>
<ol>
<li> login as root from a virtual-term and type visudo</li>
<li> press the i key , add a line at the bottom that says &#8220;%wheel ALL=(ALL) ALL&#8221; , press the escape key and type &#8220;:wq&#8221;</li>
<li> now you need to add your user to the &#8220;wheel&#8221; group to get sudo access , to do this type (as root) &#8220;pw usermod  -G ftpusers&#8221;     and replace  with your user name&#8230;</li>
</ol>
<p>Now as a regular user you can type sudo  followed by your password to execute any command as root</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikedonaghy.org/post/freebsd-installation-brief-howto/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
