Happy New Year! Forget all that stuff about the Mayan Calendar. Be Cool!

Latest Reviews & Tutorials

  • GhostBSD 2.5 review
  • How to install Takeoff Launcher on Fedora 16 KDE
  • Install Quick Access on Linux Mint 12 KDE or any KDE installation
  • How to install Linux Mint 12 KDE on a btrfs file system
  • Manual disk partitioning guide for Linux Mint 12 KDE
  • How to compile and install Takeoff Launcher on Linux Mint 12 KDE
  • 3 must-have extensions for Fedora 16 and other GNOME 3 installations
  • How to install Razor-qt on Linux Mint 12 KDE
  • How to enable desktop slideshow on Linux Mint 12 KDE
  • KahelOS 111111 review
  • How to install Cinnamon in Ubuntu 11.10
  • How to customize Cinnamon on Fedora 16 and Linux Mint 12
  • How to install Cinnamon on Fedora 16
  • What does Cinnamon bring to the desktop?
  • How to access Microsoft Windows files and folders from Linux
  • How to dual-boot Pear OS Panther 3 and Windows 7
  • How to dual-boot Chakra Linux Edn and Windows 7, part 1
  • Linpus Lite Desktop 1.6 review
  • Chakra GNU/Linux Edn 2011.12 review
  • How to customize Pear OS Linux Panther 3

How to install PC-BSD on an encrypted ZFS file system


I am reading page: 1 2

PC-BSDAs a desktop distribution built atop FreeBSD, PC-BSD makes available to the desktop user all the cool technologies inside FreeBSD. One of those cool technologies is ZFS, the Zettabyte File System, a file system developed by Sun Microsystems (acquired by Oracle Corporation) for the Solaris operating system. ZFS has no parallel in the Linux/BSD world. It packs features that no other file system in the Linux kernel has (btrfs is a potential answer for ZFS in the Linux kernel, but it is still a work in progress).

This post presents a step by step guide on how to install PC-BSD 8.1, the latest version of PC-BSD, on a single-disk, encrypted ZFS file system. While using ZFS on a single disk system does not take full advantage of the powerful features of ZFS, this configuration allows a user who might not have access to a multiple disk machine to play with some of the basic features of ZFS.

Experienced BSD users likely will not need this tutorial, but if you are new to the BSD world, this ability to use ZFS should be a very good reason to distro-hop, if temporarily, to PC-BSD. Note that the minimum memory requirements for running ZFS is 512 MB. Failure to adhere to this simple requirement could lead to unpredictable results.

To start, I’m sure you have downloaded an iso image of PC-BSD 8.1, transferred it to a medium of your choice (DVD, USD), and booted up your computer from it. If all that has been completed, you should see the image shown below on your screen. Next.

pcbsd1

PC-BSD's intuitive installer

To reduce the number of images used in this tutorial, the next two images immediately following the above in the installation process have been omitted. These are for the Keyboard layout and language selection.

This is the fourth step in the installation process, where all the Installation options are presented. For this tutorial, we are performing a fresh installation of PC-BSD, burned on a DVD. Next.

pcbsd2

Installation options on PC-BSD 8.1

These images were taken from an installation in a virtual environment. Another installation was running on a real computer with 4 GB of RAM and a 600 GB hard disk. The virtual installation had just 62 GB of disk space. To configure ZFS, click on the radio button next to Customize Disk Partitions (Advanced).

pbsdzfs1

Disk available on the computer

With the Customize Disk Partitions (Advanced) option selected, click on the “+” button to start creating partitions. Keep in mind that on a default installation, the PC-BSD installer creates four partitions for /, swap. /var, and /usr with most of the disk space going to /usr. For this custom installation, we are going to do something different. We are going to create three partitions for the following:

  • /boot
  • swap
  • and the third partition for the ZFS root pool
pbsdzfs2

Custom disk partition option

The first partition we are going to create is for /boot. On a fresh installation where /boot occupies a separate partition, about 250 MB is used. So with an eye to the future, allocate a lot more disk space than this to /boot. In this example, 750 has been allocated. Choose the appropriate file system under Type, leave Enable Encryption unchecked, and click Save.

pbsdzfs3

Creating the /boot partition

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email. For simple comments, use the commenting system, but for more involved assistance, please use the Question & Answer section.
I am reading page: 1 2

Posts From The Same Category:




Questions & Answers Hola! Looking for an answer to a question but did not find it? Then surf on over to the Questions & Answers section. It's a brand new addition to our site, and we are waiting just to answer your question(s).

1 Comment

  1. munkyboy says:

    awesome walkthrough. thanks!

Leave a Reply

Trackbacks

  1. Installing PC-BSD on encrypted ZFS « 0ddn1x: tricks with *nix
Read previous post:
Jolicloud 1.0 review
Alpine Linux 2 review
PC-BSD 8.1 review
Close