Episode Details
Back to Episodes
170: Sandboxing Cohabitation
Description
This week on the show, we’ve got some new info on the talks from EuroBSDCon, a look at sharing a single ZFS pool between Linux and BSD, Sandboxing and much more! Stay tuned for your place to B...SD!
This episode was brought to you by

alt="DigitalOcean - Simple Cloud Hosting, Built for Developers" />
Headlines
EuroBSDcon 2016 Presentation Slides
- Due to circumstances beyond the control of the organizers of EuroBSDCon, there were not recordings of the talks given at the event.
- However, they have collected the slide decks from each of the speakers and assembled them on this page for you
- Also, we have some stuff from MeetBSD already:
- Youtube Playlist
- Not all of the sessions are posted yet, but the rest should appear shortly
- MeetBSD 2016 Trip Report: Domagoj Stolfa ***
Cohabiting FreeBSD and Gentoo Linux on a Common ZFS Volume
- Eric McCorkle, who has contributed ZFS support to the FreeBSD EFI boot-loader code has posted an in-depth look at how he’s setup dual-boot with FreeBSD and Gentoo on the same ZFS volume.
- He starts by giving us some background on how the layout is done. First up, GRUB is used as the boot-loader, allowing boot of both Linux and BSD
The next non-typical thing was using /etc/fstab to manage mount-points, instead of the typical ‘zfs mount’ usage, (apart from /home datasets)
data/home is mounted to /home, with all of its child datasets using the ZFS mountpoint system
data/freebsd and its child datasets house the FreeBSD system, and all have their mountpoints set to legacy
data/gentoo and its child datasets house the Gentoo system, and have their mountpoints set to legacy as well
So, how did he set this up? He helpfully provides an overview of the steps:
- Use the FreeBSD installer to create the GPT and ZFS pool
- Install and configure FreeBSD, with the native FreeBSD boot loader
- Boot into FreeBSD, create the Gentoo Linux datasets, install GRUB
- Boot into the Gentoo Linux installer, install Gentoo
- Boot into Gentoo, finish any configuration tasks
The rest of the article walks us through the individual commands that make up each of those steps, as well as how to craft a GRUB config file capable of booting both systems.
Personally, since we are using EFI, I would have installed rEFInd, and chain-loaded each systems EFI boot code from there, allowing the use of the BSD loader, but to each their own!
HardenedBSD introduces Safestack into base
- HardenedBSD has integrated SafeStack into its base system and ports tree
- SafeStack is part of the Code Pointer Integrity (CPI) project within clang.
- “SafeStack is an instrumentation pass that protects programs against attacks based on stack buffer overflows, w