In a default Trisquel installation using LVM-managed storage, the root filesystem /dev/mapper/vgtrisquel-root is automatically created. Its size is determined during installation by the automatic partitioning scheme.
From testing with different disk sizes, the following results were observed:
* 40 GiB disk → root size: 13.3632 GiB
* 75 GiB disk → root size: 21.3787 GiB
* 80 GiB disk → root size: 22.5245 GiB
* 100 GiB disk → root size: 22.7479 GiB
As shown, the root filesystem reaches its maximum practical size when the disk is around 80 GiB. Increasing the virtual disk beyond this point provides only negligible growth in the root partition. Therefore, allocating more than ~80 GiB to the disk does not significantly increase the root filesystem.
====Virtual machine testing====
You can reproduce these results or test against future Trisquel releases by setting up virtual machines with configurable disk sizes.
* Adjust the disk size variable:
os_variant=trisquel11
disk_size_gib=80
* Install Trisquel in a VM:
qemu-img create -f qcow2 ${os_variant}.qcow2 ${disk_size_gib}G
virt-install --name Trisquel-${disk_size_gib}GiB \
--os-variant $os_variant --vcpus 4 --memory 32000 \
--disk path=${os_variant}.qcow2 \
--cdrom ~/Downloads/trisquel_11.0.1_amd64.iso
* Run the script to generate the VM and start the Trisquel installer
* Complete the installation in the VM, reboot, and log in.
* To check the exact root filesystem size (displayed in the same format as the list above, e.g. 13.3632 GiB), run: df --block-size=1 | awk '$1=="/dev/mapper/vgtrisquel-root" {printf "%.4f GiB\n", $2/1024/1024/1024}'
Révisions
09/13/2025 - 17:47
