Featured image of post How to Install Linux Mint on Btrfs

How to Install Linux Mint on Btrfs

Install Linux Mint on B-tree file system

Do you want to use Timeshift on Linux Mint just like System Restore in Windows?

The B-tree file system or Btrfs is a file system on Linux that behaves like the NTFS on Windows. Btrfs is actually better than NTFS because it uses Copy-on-write while NTFS is just a Journaling Filesystem.
The ext4 file system is a pure file system, do it’s one job, no extra stuff like NTFS or Btrfs.
When you use Timeshift on ext4, it uses rsync to make copies of the files, above the file system, that is why it is slow.
When you use System Restore on NTFS, the copies of the files are made as an atomic transaction to the file system, that is why it is fast.
Timeshift on Btrfs behaves like System Restore in Windows.

Install Linux Mint on Btrfs

This will erase everything on your hard drive.

  1. Open Linux Mint installer and follow everything up to Installation Type.
  2. At installation type, click Something else.

Something else

  1. Click New Partition Table

New partition table New partition table 2

  1. Click free space, and click + (plus).

Free space

UEFI

  1. Make a 128 MB partition, use as EFI System Partition, leave other options at default.

Create partition EFI

  1. Click the next free space, and click + (plus).

Free space UEFI

  1. Use as Btrfs journaling file system with a mount point at ‘/’, leave other options at default.

Create partition Btrfs on UEFI

  1. Click Install Now, and follow the installation.

Install now UEFI

GRUB always wait 30 seconds on boot

A patch has been merged fixing grub timeout menu to 30 seconds for UEFI systems with /boot on Btrfs.

To fix this:

  1. Open Terminal.
  2. Type sudo xed /etc/default/grub.
  3. Add GRUB_RECORDFAIL_TIMEOUT=0 on the file. (If you are not sure that you can access UEFI settings, use 1 instead.)
  4. Type sudo update-grub to update GRUB settings.

BIOS

  1. Use as Btrfs journaling file system with a mount point at ‘/’, leave other options at default.

Create partition Btrfs on BIOS

  1. Click Install Now, and follow the installation.

Install now BIOS

After installation, set-up Timeshift using the Btrfs option.

Screenshots taken on Linux Mint 20.2 using VirtualBox 6.1.26

By Shawn M.
Built with Hugo
Theme Stack designed by Jimmy