FreeBSD Installation Notes

Forum rules
Share your brain ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

FreeBSD Installation Notes

Unread post by machinebacon » Sun Feb 16, 2014 7:24 am

This is of course not related to the BBQ, just some notes I wrote down for a smooth FreeBSD installation.

0) grab the ISO from http://ftp.freebsd.org/pub/FreeBSD/rele ... AGES/10.0/ or the memstick image:

Code: Select all

wget -c ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/10.0/FreeBSD-10.0-RELEASE-i386-memstick.img
and dd it.

1) on your hard drive, create a free space of at least 5GB. Leave it unpartitioned.

2) boot into the FreeBSD stick and choose to install

3) use the manual/expert setting and choose to use a partition to install (not the whole disk)

4) you will get a partition on a device, like /dev/ada0 or so - that's what we want. We don't touch any other partitions. Please refer to http://www.freebsd.org/doc/en_US.ISO885 ... stall.html

4a) I recommend to create a user there and add it additionally to the 'wheel' group.

5) After installation, reboot into your (main) Linux system

6)

Code: Select all

sudo nano /etc/grub.d/40_custom
Add this snippet:

Code: Select all

menuentry "FreeBSD" {
    set root=(hd0,2)
    chainloader +1
}
where you need to modify the (hdX,Y) to what you have chosen in the installer. hd0 is the first drive, 2 is the second partition on it. In my case, it refers to what we would know as /dev/sda2

7)

Code: Select all

sudo update-grub
and your FreeBSD installation will be detected as unknown OS (or so) - no problem.

8) reboot, and choose the "FreeBSD" entry in grub

9) login as root with root password

9a) add your normal user to the sudoers file (visudo), if needed

10)

Code: Select all

man ports
is one of the first things you want to read :) Probably make yourself an alias, like:

Code: Select all

alias sport='cd /usr/ports && make search name='
alias iport='cd /usr/ports && make install'
or use 'whereis' ;)

11) for binary package installation, you need

Code: Select all

pkg search foo
pkg install foo

12) for a framebuffer terminal, install 'jfbterm'

Code: Select all

pkg install jfbterm
or install from ports

13) you probably want tmux, mpg123 and lynx or w3m (these are pretty light) Think twice if you want emacs-nox11, it takes up an enormous amount of space ;)

14) ... grow a fucking beard :D
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: FreeBSD Installation Notes

Unread post by dkeg » Sun Feb 16, 2014 12:40 pm

That's great, thank. I'm sure that will come in handy. Appreciate it.

Work hard; Complain less

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: FreeBSD Installation Notes

Unread post by bones » Sun Feb 16, 2014 3:50 pm

Ha! The BSD invasion of the grill begins! Just yesterday I was thinking of writing an OpenBSD HOWTO/Notes for the grill, but wasn't sure it would be welcome/wanted/appropriate. Now I think it is fair game. ;)

Good one, bacon!

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: FreeBSD Installation Notes

Unread post by RandomCharacter » Sun Feb 16, 2014 3:58 pm

Excellent! I had been wondering how to do this, and your guide seems to be crystal clear. Thanks.

Tim

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: FreeBSD Installation Notes

Unread post by machinebacon » Sun Feb 16, 2014 5:51 pm

^ The epic beard you have already :D

The installation and system maintenance is pretty straight-forward, there's excellent documentation online, and FreeBSD works OOTB much better than Debian's kfreebsd (which ws painfully slow to set up and install, and which later - thanks to DFSG - refused to accept my eth card)

Time to roast some BSD flavored remaster ;)
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: FreeBSD Installation Notes

Unread post by ChefIronBelly » Sun Feb 16, 2014 7:04 pm

Thanks for the guide installing now.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: FreeBSD Installation Notes

Unread post by GekkoP » Sun Feb 16, 2014 7:20 pm

Very nice. I went with OpenBSD a while ago but I had to dig deeper in BSD-land sooner or later.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: FreeBSD Installation Notes

Unread post by ivanovnegro » Sun Feb 16, 2014 8:33 pm

Crazy.
bones wrote:Ha! The BSD invasion of the grill begins! Just yesterday I was thinking of writing an OpenBSD HOWTO/Notes for the grill, but wasn't sure it would be welcome/wanted/appropriate. Now I think it is fair game. ;)
Yes, you can.

User avatar
franksinistra
Ivana Fukalot
Posts: 1093
Joined: Mon Jan 27, 2014 2:03 am
Location: 印尼国

Re: FreeBSD Installation Notes

Unread post by franksinistra » Tue Feb 18, 2014 7:32 am

love this , thanks!
would welcome desktop guide to dragonflybsd or openbsd as i can never reach X with both bsd derivative
rice no more.

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: FreeBSD Installation Notes

Unread post by bones » Tue Feb 18, 2014 1:54 pm

franksinistra wrote:would welcome desktop guide to dragonflybsd or openbsd as i can never reach X with both bsd derivative
I will have one for OpenBSD, but it will be a few days... gotta get through the work week first.

Post Reply