Introduction
Debian-based Pardus operating system uses ext4 as the file system in the standard installation. In this article, it will be explained to you how to install with btrfs file system in Pardus 21 version.
In this section, the installation steps will be discussed.

Information
Btrfs with a logical volume manager copy-on-writeIt is a computer storage format that combines the file system based on the (COW) principle. Btrfs aims to address the lack of pooling, snapshots, and integrated multi-device coverage on Linux file systems.
You can search the internet for information about other file systems such as ext4, jfs, xfs, zfs, their differences, advantages and disadvantages.
CAUTION !!!
The installation phase is about resetting the entire disk. In addition, the installation will be done as uefi and the gpt disk structure will be created. Therefore, if your disk is in mbr structure, it will already be deleted in such an installation. For this reason, if you are installing on a real machine, you should back up your important data, if any.
Preparation
Download the Pardus iso file and print it as bootable to the usb memory and start your computer with this usb memory. Download link is here https://www.pardus.org.tr/surumler/
You can also apply it on a virtual machine using the ISO image file.
Installation Steps
Let's log in to the live desktop with Pardus Employee. Then let's open a terminal and start with the following codes
sudo su - apt update apt install btrfs-progs -y
Let's check the directory we are in. Let's write the code below.
cd / mkdir target
Important
Since we do not prefer automatic installation target directory will be the place where we will mount the disks just before the installation phase. That's why it matters.

We can move on to disk partitioning. You want to do this from the terminal;
Fdisk to do with Alternative disk partitioning tools in Pardus installation – Part 1 – Fdisk Check out the article.
cfdisk to do with Alternative partitioning tools in Pardus installation – Part 2 – Cfdisk Check out the article.
If you want to do it with an application with a graphical interface, the Pardus iso image file comes pre-installed. Gparted You can do it with
In this article, let's do disk partitioning with Gparted...
Warning !
When using partitioning applications such as Gparted, make sure you are dealing with the correct disk.
Here our disk is vda and continued with this selected. You may have sda or nvme0n1.
Gparted – partitioning disk
From the menu, we go to Device > Create Partition Table…

Gparted – partitioning disk
As the new partition table type gpt to mark and apply we say

Gparted – partitioning disk
We continue by saying create a new partition.

Gparted – partitioning disk
We have determined an area of 32 mb in Fat300 format for the efi partition.

Gparted – partitioning disk
We continue by saying create a new partition again. If you want to optionally create a swap partition, the desired size is entered and linux-swap is set as the file system.

Gparted – partitioning disk
Finally, to set the partition where the system will be installed, we continue by saying add a new partition and set the partition size and select the file system type. Btrfs With the selected add button, we complete the sizing process.
Reminder!
Btrfs-progs If the package is not installed on the system, the btrfs option will not appear in the file system type section in the partitioning operations you will make with gparted or other disk partitioning applications.

Gparted – partitioning disk
We continue by saying apply all operations.

Gparted – partitioning disk
With the Apply button, we confirm that the operations performed are written to the disk.

Gparted – partitioning disk
Right click on the EFI partition and go to Manage Flags.

Gparted – partitioning disk
boat We continue by ticking the option and saying close.

Now let's mount the partition we will install to a suitable mount point to prepare it for btrfs installation.
Reminding
Here our disk is listed as vda. It may be listed as sda or nvme0n1 for you. Edit the command accordingly.
mount /dev/vda3 /mnt

Switch to the directory we have connected and btrfs that is necessary for the system. @ ve @home Let's create directories.
cd /mnt btrfs subvolume create @ btrfs subvolume create @home

Since we do not do automatic installation, the disk partitions to be installed are created with the following codes. target Let's link it to the directory.
mount -o noatime,space_cache,compress=zstd,ssd,discard=async,subvol=@ /dev/vda3 /target mkdir -p /target/boot/efi mkdir /target/home mount -o noatime,space_cache,compress=zstd ,ssd,discard=async,subvol=@home /dev/vda3 /target/home mount /dev/vda1 /target/boot/efi

Now we can start the installation with the live installer.
Reminding
You can run the live installer from the command line. root without --expert
Let's be careful to run it by adding a parameter.
live-installer --expert

Welcome, after setting language, keyboard layout, time zone displays Installation type on the screen expert mode Let's make sure it's selected.

The user account and password are set and the installation process is started by clicking the install button on the next screen.
Reminding
As seen in the summary section, this type of setup grub The installation process is not done automatically. For this reason grub Installation must be done manually.

The warning that appears when the live installer completes the copying of the files. No we will say and grub Let's move on to the installation process. If you say yes, the system will reboot but grub computer will stay on black screen because it is not installed. In such a situation, there is no need to panic. Opening the computer again with Pardus Employee, which is the continuation of this series of articles. Pardus btrfs in installation grub installation process you can apply the text.