Btrfs was supposed to have been the default file system for Fedora 16, but for technical reasons, that did not happen. Word on the street says it will be, in Fedora 17. But you do not have to wait for Fedora 17 to get your system humming on btrfs because you can do it right now.
This tutorial offers a step-by-step guide on how to do just that. To start, you need to download either a DVD installation image, a network install image, or a bfo installation image. The Live CD installation images will not allow you to install Fedora 16 on a btrfs file system. To take advantage of Fedora’s excellent security measures, the root and Swap partitions will be encrypted, giving you an encrypted btrfs file system.
So, if you have downloaded your choice of installation ISO image and transfered it to a CD/DVD, boot your computer from it and click until you get to the step shown in this image.
Which should lead to this, if the target hard drive has an existing installation of Fedora.
Fedora 16 is the first Linux distribution, as far as I know, to use GPT, the GUID Partition Table, as the default. Previous version used the MBR or MS-DOS partition table format. (See Fedora 16 GPT disk partitioning guide.) The use of GPT adds one more step to the process, so that instead of creating three partitions, we are now required to create four. The four partitions required are (in order):
- A BIOS Boot partition no more than 1 MB in size
- A boot partition
- A btrfs partition mounted at /. This is the root file system.
All the partitions will be Standard partitions. Create.
For the “BIOS Boot” partition, select “BIOS Boot” from the “File System Type” menu, allocate a disk space of 1 MB to it, and select ‘Fixed size” if it is not already selected. OK.
For the boot partition, select the mount point as shown, and allocate 500 MB to it. By the way, that size has been the default in Fedora for some time. Do not encrypt this partition. OK.
For Swap, select the values shown in this image. You can encrypt the Swap partition. In fact, it is highly recommended that you do. No point in encrypting the root partition and leave Swap wide open. How much disk space to allocate to Swap is a function of installed RAM or memory. See this guide for help in deciding what to allocate to Swap. OK.
The last partition will be the root file system, so select the appropriate option from the “File System Type” dropdown menu. If you intend to use all available disk space for this partition, select “Fill to maximum allowable size.” Otherwise, specify the size. Encrypt this partition. OK.
With all four partitions created, click Next to continue with the rest of the installation.
The installer will request a passphrase that will be used to encrypt the partitions. Specify a strong one. You will need this passphrase every time the system is booting. OK.
After installation has completed, reboot the computer and see if it worked. You will know, if you see this screen. Enter the passphrase and enjoy.