How to install Ubuntu 13.10 and Linux Mint 16 on a Btrfs filesystem

This tutorial presents a step-by-step guide on how to install Linux Mint 16 and Ubuntu 13.10 on a Btrfs filesystem.

Btrfs is CoW (Copy on Write) filesystem with support for features like read-only and writable snapshots, subvolumes, incremental backups, deduplication, and multiple device support. You may view the complete list of features here.

The screen shots used in this tutorial were taken from a test installation using Ubuntu 13.10, but because it shares the same installation program with Linux Mint 16, you can follow along to install the same btrfs system on that edition of Linux Mint.

To start, boot the computer you want to use from the installation media of your favorite distribution. When you start the installer, click until you get to the Installation type step. Since btrfs is not the default filesystem used by any of the automated disk partitioning options, every step of this tutorial will have to be performed manually. That means selecting Something else is the only option at this step. Click Continue.
Ubuntu 13.10 something else

That should open the installer’s Advanced Partitioning Tool’s window. At this step, all disk and disk partitions detected by the installer should be listed. On the system used for this tutorial, I had existing partitions that I didn’t care to keep, so they had to be deleted. If this is the case with your system, select a partition, then click on the “-“ button to delete it. If you wished to install the btrfs system alongside the other distribution or operating system on the target hard disk drive, select a partition that has enough space and resize it. Then use the recovered disk space to create the partitions for the btrfs system.
Ubuntu 13.10 advanced partition tool

Related Post:  How to integrate Prey into the security posture of your Linux PC

This is what that window looks like after all the partitions have been deleted. Now we are ready to create the partitions needed to install the btrfs system. To begin, select the free space and click on the “+” button. This step will have to be repeated three times.
Ubuntu 13.10 create partition

This is the partition setup window. You just need to specify the size of the partition, whether it’s a primary or logical partition, the filesystem, and the mount point. For an installation of Ubuntu 13.10 and Linux Mint 16 on a btrfs filesystem, you need to create at least three partitions – one each for /boot, Swap and a btrfs volume. For this tutorial, I chose to create just three partitions and in that order.
Linux Mint 16 partition editor

For the first partition, which will be mounted at /boot (that’s the value for “Mount point”), the size can be 500 MB or less. On a default installation of Ubuntu 13.10 and Linux Mint 16, the contents of the boot partition takes up about 62 MB of disk space. But be generous here, as resizing this partition after installation is not the type of stuff you want to spend time doing. For “Use as,” select ext2 or ext4. OK.
Ubuntu 13.10 create boot partition

The second partition will be used for Swap space. A size of 2000 MB (2 GB) is enough for it. Be sure to select “swap area” from the “Use as” menu. OK.
Ubuntu 13.10 create btrfs root

Related Post:  Ubuntu Tweak: The first app to install on Ubuntu 13.10

The third and final partition will be used for the btrfs volume, so select “btrfs journaling file system” under the “Use as” combo menu. You may assign all the available disk space to this partition or whatever you feel is needed to install the system. Note that for a default installation of Linux Mint 16 and Ubuntu 13.10, the recommended disk space is around 6 GB. But I’m sure you have more disk space than that, so assign it the right value. Then select “/” for “Mount point.” OK.
Linux Mint 16 create btrfs home

Back to the main installer window, all the newly created partitions should be listed. Click Install Now to continue with the rest of the installation process.
Linux Mint 16 install btrfs filesystem

After installation, it’s important to remember that btrfs is different from other Linux journaling filesystems, like ext3 and ext4, and LVM, the Linux Logical Volume Manager. If you recall, the btrfs partition was mounted at / during installation, but that is a consequence of how the installer works. In btrfs, we refer to subvolumes, so on a running btrfs system derived from this particular setup, there should be two subvolumes by default- / and /home. If you type sudo btrfs subvolumes list /, you should see a listing of the subvolumes. The next article on this subject will be on how to manage a btrfs file system.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Upcoming events

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.