1. Video
  2. Greetings
  3. Links
  4. Steps
    1. Hack Ubiquity
      1. Install vim
      2. Editing files
    2. Partitioning
    3. Install
    4. Update and Upgrade
    5. Install Timeshift
    6. First Snapshot

Video

Greetings

Zorin OS 16 Full Install with btrfs + Timeshift

Hi all, in this video i will show how to install Zorin OS 16 with btrfs + Timeshift + grub-btrfs.

btrfs is a modern copy on write (CoW) filesystem for Linux.

Timeshift is a system restore tool for Linux. Creates filesystem snapshots using BTRFS snapshots.

I hope you enjoy!

Links

  1. Zorin OS - Download
  2. btrfs - ArchWiki
  3. grub-btrfs Github

Steps

Hack Ubiquity

Install vim

If you use nano editor, skip this step.

i will use vim, so:

$ sudo apt install vim

Editing files

Edit the file /usr/lib/partman/mount.d/70btrfs:

Start the console and type:

$ sudo vim /usr/lib/mount.d/70btrfs

Append this line bellow pass=$6:

btrfs_options="ssd,noatime,compress=zstd:5"

and change to:

70btrfs.png

Edit the file /usr/lib/partman/fstab.d/btrfs:

Start the console and type:

$ sudo vim /usr/lib/partman/fstab.d/btrfs

Append to line 6, bellow home_found-“unknow”:

btrfs_options

Change the lines 30,31,32 as image bellow:

fstab.d.btrfs.png

Change the lines 36,37 and 40 as image bellow:

fstab.d.btrfs.png

And the last, change the line 55 to:

fstab.d.btrfs.png

Start the installer.

Partitioning

It is very important, in this stage, you need choose everything else. option.

We will create only three partitions:

  • efi with 512Mb
  • Swap
  • / btrfs remanning space

If you have have doubt about swap space necessary for you, see the table bellow:

swap_size_table.png

If you want learn about btrfs and snapper, you can visit the site in description and i prepared links for your study.

Install

Now, proceed with installation normally.

Follow the video

Update and Upgrade

After the first reboot, perform update and upgrade for your system.

$ sudo apt update
$ sudo apt updgrade

Install Timeshift

$ sudo apt install timeshift 

First Snapshot

Start Timeshift and follow the video

Create your first snapshot and see the changes.