<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc=" http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>briancarper.net (λ) (Tag: FreeBSD)</title><link>http://briancarper.net/tag/186/freebsd</link><description>Some guy's blog about programming and Linux and cows.</description><item><title>Debian?</title><link>http://briancarper.net/blog/debian</link><guid>http://briancarper.net/blog/debian</guid><pubDate>Mon, 09 Oct 2006 11:32:03 -0700</pubDate><description>&lt;p&gt;So scrapped FreeBSD on my secondary computer.  I figured I don't need to play with yet another source-based OS.  I was a bit confused by the odd mixture of packages I had to compile myself, and packages I could install in binary form.  There were also a large number of tools that could be used as an interface to installing packages.&lt;/p&gt;

&lt;p&gt;So I went with Debian.  It has a reputation for stability etc. right?  We'll see.  I'm also sort of testing the waters again for a potential jump-ship to Ubuntu.  We'll see.  The Debian install was mostly uneventful.  I installed from a single DVD.  There were two DVD ISOs available for download; I couldn't find anywhere that indicated the contents of either one, so I figured the second probably only had additional packages on it, or whatever.  I guessed right, I imagine.&lt;/p&gt;

&lt;p&gt;After booting from the DVD, the installer died after about a minute, complaining about a corrupt package on the DVD.  I ran the &quot;Verify CD contents&quot; and it confirmed, corrupt disc or package on the disc.  (bochs, I think.)  I know the ISO was fine, I checked the md5sum.  So I rebooted.  Same DVD, second run, it worked fine.  Some kind of ghost problem?  Flaky DVD-R?  Who knows.  &lt;/p&gt;

&lt;p&gt;I don't like that Debian installed an X server by default.  I chose to do a &quot;server&quot; install, and I picked File, Print, Web, SSH server from the options.  Somehow this still installed X.  I was happy though at how easy it was to uninstall.  apt-get remove xfree86 or something similar, and it removed all the dependencies.  A nice change from what I'm used to.  The whole install took maybe 45 minutes.  When I boot, I get a ton and a half of kernel module errors though.  That's the price you pay when you don't compile your own kernel, I guess.  Everything still works, so I don't know how much it matters.  For now.&lt;/p&gt;

&lt;p&gt;A very minor observation: For some reason I like Debian's networking config file much more than Gentoo's. &lt;/p&gt;

&lt;p&gt;Debian's &lt;code&gt;/etc/networking/interfaces&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;auto eth1
iface eth1 inet static
    address 192.168.15.7
    netmask 255.255.255.0
    gateway 192.168.15.1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Gentoo's &lt;code&gt;/etc/conf.d/net&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;config_eth0=(&quot;192.168.15.7 netmask 255.255.255.0 broadcast 192.168.15.255&quot;)
routes_eth0=(
    &quot;default via 192.168.15.1&quot;
)
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Installing FreeBSD</title><link>http://briancarper.net/blog/installing-freebsd</link><guid>http://briancarper.net/blog/installing-freebsd</guid><pubDate>Fri, 22 Sep 2006 23:40:17 -0700</pubDate><description>&lt;p&gt;I have an extra computer here, so I decided to install FreeBSD today.  I've never used FreeBSD before.  Never touched it.  So to make this fun, I decided to try the install without reading any directions.  What better way to tesout t an installer?  It's also arguably a stupid way to install an OS, but stupid is fun sometimes.&lt;/p&gt;

&lt;!--more--&gt;

&lt;p&gt;So first I went to the &lt;a href=&quot;http://www.freebsd.org/&quot;&gt;FreeBSD website&lt;/a&gt; (which looks pretty spiffy, by the way) and went to &quot;Get FreeBSD&quot;.  At this point I admit I did glance around a bit to make sure I wasn't going to download a gigabyte of ISOs that I wouldn't be able to use.  But it's pretty straightforward, so I got the latest version ISOs (2 of them) for i386.  (I did also look for mirrors or a torrent download (just to be polite), but I couldn't find a link for those.)&lt;/p&gt;

&lt;p&gt;A couple hours and two burned CDs later, I was ready to go.  I booted from the CD and I was presented with something looking vaguely like Grub, but with way more options (Boot with APM?  Boot into single-user mode?)  Faced with a 10-second countdown which I apparently could not stop, I picked the default.&lt;/p&gt;

&lt;p&gt;I was then presented with a nice ncurses menu.  Again there were lots of options.  The second was &quot;Standard install&quot; or something similar.  There was also &quot;Expert install&quot; but given that I have no idea what I'm doing and that I'm not reading any directions, I went with standard.&lt;/p&gt;

&lt;p&gt;There were a bunch more screens of text which I read through quickly.  Then I got to disk partitioning, which is what I was expecting.  So far so good.  The disk partitioning system was different from fdisk; it was ncurses based.  There was a nice key of commands at the bottom indicating which key to press for which function.  Included was an option A which would auto-partition everything.  I found this system extremely easy to use.&lt;/p&gt;

&lt;p&gt;Partitions were called &quot;Slices&quot; for some reason beyond me.  But making a new slice gave me options similar to fdisk.  For example I could list a size in cylinders or in megabytes.  And I had to give a number for the partition type.  Here I met my first bit of confusion.  It only listed 3 partition types in the on-screen text: DOS, Linux, or FreeBSD.  Now, knowing that Linux can read MANY kinds of &quot;DOS&quot; partitions, from FAT16 to FAT32 to who knows what else, I was a bit stumped here.  Would DOS work OK to install Windows XP someday?&lt;/p&gt;

&lt;p&gt;Faced with this, I decided to install a very small Windows XP install first, then come back to FreeBSD later.  So I started pounding Escape like a monkey until the installer exited.&lt;/p&gt;

&lt;p&gt;Fast forward a half hour.  Windows is installed.  (I had the pleasure of waiting for that stupid blue circle thing to start babbling about giving me a tour, and then hard-cutting the power to my computer.  All I wanted is a partition.  I honestly hope I broke something.)  &lt;/p&gt;

&lt;p&gt;Back to the FreeBSD installer, back to partitioning.  It now recognized the Windows partition I made; it called it a &quot;DOS&quot; partition, so I may have been OK making a &quot;DOS&quot; partition in the FreeBSD installer to begin with.  Who knows.&lt;/p&gt;

&lt;p&gt;The installer then asked me to install &quot;FreeBSD partitions&quot;.  I suppose these differ from &quot;slices&quot; in some way.   Perhaps &quot;FreeBSD partitions&quot; are some kind of pseudo-partitions?  I picked &quot;A&quot; which auto-allocated a bunch of mount points and partitons etc.  Couldn't be easier.&lt;/p&gt;

&lt;p&gt;FreeBSD offered to install a boot loader.  There were three options.  One was if I want to install a boot loader to the MBR so I could boot Windows.  A second option said I should pick it if I only plan to use FreeBSD.  A third option would install nothing.  I picked the first option, but I found it strange that there was any difference between the first and second options.  (I found out why this was so later.)&lt;/p&gt;

&lt;p&gt;There were options somewhere along here to pick a type of software I wanted to install.  Developer?  Developer with X-windows?  User?  User with X-windows?  I liked how it gave me the option of not installing X, because I don't want X.  I liked the additional groups beyond &quot;User&quot; and &quot;Developer&quot;.  It also gave me the option to install individual packages if I wanted, which was also nice.&lt;/p&gt;

&lt;p&gt;At this point files started copying from the CD.  It probably took 10 minutes or less.  Remembering how horribly long a Gentoo install is in comparison, I was quite pleased.&lt;/p&gt;

&lt;p&gt;I did hit a snag at the network configuration menu.  The installer did auto-recognize both of my network cards, which is pretty impressive, given that I sometimes have problems with that even in Linux.  The installer then asked &quot;Do you want to use IPV6&quot; to which I said no.  And then it said &quot;Do you want to use DHCP&quot; to which I said yes.  After saying yes I realized I didn't want to use DHCP after all.  I was taken to a screen where I could change the hostname/domainname etc., so I cancelled on this screen.  However instead of taking me back to the network configuration menu, it went right on to the next step, something not related to networking at all.  This was no fun.  However I was later able to come back to the network screen after all the rest of the install questions were done.  So no big deal.  It also brought my network interface online right then and there, which was also very helpful.  I could test whether the network was configured properly without even having to reboot.&lt;/p&gt;

&lt;p&gt;The installer then started asking me a bunch of (I think) quite useful questions.  &quot;Do you want this machine to be an SSH server?&quot;  (The installer also offered to START the SSH server, without interrupting the install.  Very helpful.)  &quot;Do you want to enable anonymous FTP login?&quot;  Etc. etc.  The questions were all in plain English, and quite easy to answer yes/no quickly.  &lt;/p&gt;

&lt;p&gt;The installer did fail miserably when I tried to install exim; it made me swap CDs twice and then claimed it couldn't find the installer.  However that was one of the few snags I ran into.&lt;/p&gt;

&lt;p&gt;Fast forward to the end.  I rebooted from the hard drive and I was faced with a VERY plain prompt, compared to even the barest version of GRUB.  Something like &quot;1 DOS&quot; and &quot;2 FreeBSD&quot;.  I picked DOS, and Windows booted OK.  Nice how that worked without my ever having to touch a configuration file.  I rebooted again into FreeBSD.  After the first boot prompt, I got another which was identical to what I'd seen on the CD.  So apparently FreeBSD has a pseudo boot-loader of some sort.  Very interesting.&lt;/p&gt;

&lt;p&gt;At this point it's up and running, without ever having read any directions.  The whole install took maybe an hour (not counting installing Windows).  I was VERY impressed with how nice and easy the installer was to use.  I think ncurses is the PERFECT balance between a command line and graphical install.  X is just too big and buggy to rely upon for something as important as installing an OS.  But ncurses seems like it works anywhere a console window works (for the most part).  I think the Gentoo GUI installer might've benefitted from taking this route or something similar.&lt;/p&gt;

&lt;p&gt;I'm looking forward to learning ports and seeing how it differs from Portage.  I wonder if I'll need to read the directions for that.&lt;/p&gt;</description></item></channel></rss>

