How to dual boot Linux (CrunchBang Linux) and PC-BSD 10 with ZFS file system

This tutorial from The Geeky Linux shows us how to get PC-BSD and Crunchbang Linux to dual boot together.

Original post:

This is a tutorial which shows how to dual boot Linux and PC-BSD 10. PC-BSD 10 uses ZFS as the file system and grub for the boot manager. I was able to successfully dual boot PC-BSD and CrunchBang Linux in my laptop.

I was able to achieve this after lots of trial and error methods. I have not found a valid guide in the internet to do it. All the tutorials were outdated or at least not working for me. I have spend a lot of time in the pc-bsd/freebsd irc channels and finally able to achieve this after trying out different suggestions from the irc members. Thanks to them all for the guidance.

If you want to dual boot PC-BSD, first install the Linux os (in this case, CrunchBang Linux) and then install PC-BSD 10. This is because most of the Linux OS won’t be able to detect ZFS (the default file system in PC-BSD 10). But PC-BSD grub will be able to detect EXT4 the default file system in most of the Linux distros. If you are looking for a tutorial for PC-BSD with UFS and Linux, you can find lot of guides in the interwebs. My guide only applies to PC-BSD with ZFS file system.

1. Install Crunch Bang Linux
2. Copy the relevant part from the Crunch Bang Linux grub menu.  You can get it from the configuration file  /boot/grub/grub.cfg . There will be lot of unwanted details in this menu but we will only need the one starts after the line “### BEGIN /etc/grub.d/10_linux ###” in this file .

For example, below given is the relevant part from my Crunch Bang Linux grub configuration :

[Read more…]

Perl Automation Tool Helper FreeBSD implementation

FreeBSD user developed a Perl Automation Tool Helper for FreeBSD.

Original page:


Slaughter::API::freebsd – Perl Automation Tool Helper FreeBSD implementation


This module is the one that gets loaded upon FreeBSD systems, after the generic API implementation. It implements the platform-specific parts of our primitives.

We also attempt to load Slaughter::API::Local::freebsd, where site-specific primitives may be implemented. If the loading of this additional module fails we report no error/warning.


Now follows documentation on the available methods.


Export all subs in this package into the main namespace.


[Read more…]

Setup of RAID10 (RAID0 stripe of two RAID1 mirrors) on FreeBSD 10.1

FreeBSD user DutchDaemon shows us how to set up RAID10 on FreeBSD 10.1.

Just a quick and unceremonious write-up of an installation I performed just now. Substitute device names at your own leisure. These are four 4 TB disks (ada0ada3) in a QNAP. Note that these disks only constitute a dedicated RAID10 storage pool. The OS runs from a separate disk (USB in this case) and mounts the storage pool.

# load your kernel modules
kldload geom_label
kldload geom_mirror
kldload geom_stripe

# if necessary
dd if=/dev/zero of=/dev/ada0 count=2
dd if=/dev/zero of=/dev/ada1 count=2
dd if=/dev/zero of=/dev/ada2 count=2
dd if=/dev/zero of=/dev/ada3 count=2

gpart create -s gpt ada0
gpart create -s gpt ada1
gpart create -s gpt ada2
gpart create -s gpt ada3

# RAID1 mirror ada0+ada1
gpart add -t freebsd-ufs -l ada0data ada0
gpart add -t freebsd-ufs -l ada1data ada1

gmirror label datastore01 /dev/gpt/ada0data /dev/gpt/ada1data

newfs -U /dev/mirror/datastore01

## echo '/dev/mirror/datastore01 /data1 ufs rw,noatime 1 1' >> /etc/fstab
## mkdir /data1
## mount /data1

# RAID1 mirror ada2+ada3
gpart add -t freebsd-ufs -l ada2data ada2
gpart add -t freebsd-ufs -l ada3data ada3

gmirror label datastore02 /dev/gpt/ada2data /dev/gpt/ada3data

newfs -U /dev/mirror/datastore02

## echo '/dev/mirror/datastore02 /data2 ufs rw,noatime 1 1' >> /etc/fstab
## mkdir /data2
## mount /data2

# RAID0 from both RAID1 mirrors

gstripe label -v datastore /dev/mirror/datastore01 /dev/mirror/datastore02

newfs -U /dev/stripe/datastore

echo '/dev/stripe/datastore /data ufs rw,noatime 2 2' >> /etc/fstab

Et voilà:

mkdir /data
mount -a
df -h | grep datastore

/dev/stripe/datastore  7.0T  8.0K  6.5T  0%  /data

In /boot/loader.conf:


Original post:

Netflix will soon use HTTPS to secure video streams

Netflix is one of the major companies to utilize FreeBSD servers. Their streaming services account for a large amount of internet traffic in many countries.

Original post:

Netflix will soon use the HTTPS protocol to authenticate and encrypt customer streams, a move that helps ensure what users watch stays secret. The move now leaves Amazon as one of the most noticeable no-shows to the Web encryption party.

Flipping on the HTTPS switch on Netflix’s vast network of OpenConnect Appliances (OCAs) has been anything but effortless. That’s because the demands of mass movie streaming can impose severe penalties when transport layer security (TLS) is enabled. Each Netflix OCA is a server-class computer with a 64-bit Xeon CPU running the FreeBSD operating system. Each box stores up to 120 terabytes of data and serves up to 40,000 simultaneous, long-lived connections, a load that requires as much as 40 gigabits per second of continuous bandwidth. Like Amazon, Netflix has long encrypted log-in pages and other sensitive parts of its website but has served movie streams over unsecured HTTP connections. Netflix took the unusual step of announcing the switch in a quarterly earnings letter that company officials sent shareholders Tuesday.

[Read more…]

#InstallFreeBSD event in Landshut – Germany

FreeBSD user banym is hosting a FreeBSD Install event on May 15, 2015 in Landshut, Bavaria.

bsdinstall-newboot-loader-menuToday I want to announce that I will organize a small FreeBSD workshop on 15 May 2015 in our new location in Landshut near Munich, Germany. The is a center of IT-companies and software developers. My company called BayCIX is one of the five founders of the Beside our daily business we planned to have tech talks and events from the beginning. Now that the building is finished and we have the infrastructure working, we will start with two meetups.

Follow our meetup site to check out the first meetup on 30. April and my #InstallFreeBSD workshop on 15. May:

As the name of my workshop indicates it takes place in the #InstallFreeBSD series to introduce people to the FreeBSD system. I will bring some hardware to show where FreeBSD can run on and explain the basics.

If you’re located in Bavaria, feel free to join me and have some fun with FreeBSD.

Original post: