We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

GELIBoot Booting

Formal Metadata

Title
GELIBoot Booting
Subtitle
FreeBSD from encrypted disk
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
FreeBSD has supported disk encryption with GBDE and GELI since 2002 and 2005respectively. However, booting the system required storing the loader andkernel unencrypted so that the requisite GEOM module could be loaded to handledecryption. This became a significantly larger stumbling block with theintroduction of ZFS, as having multiple separate partitions detracts from theadvantages of ZFS, and also causes headaches when upgrading the operatingsystem. With the growing popularity of ZFS Boot Environments, a solution wasneeded that allowed the kernel and loader to remain part of the primary filesystem, even if it was encrypted. This paper provides an overview of thedesign of the GELI enabled BIOS boot code and loader, as well as the numerouschallenges encountered during their development. A walk through the tale of woe that was implementing support for GELI in theFreeBSD bootcode and loader. Hear the story of a very junior developerpersisting through countless complications and roadblocks to finally arrive atworking code. Learn just how complicated it is to boot a computer, and howmuch worse it can get. In the end, we are left with working ZFS BootEnvironments, even with fully encrypted pools.