Revisión de Root partition size based on disk size de Sáb, 09/13/2025 - 19:05

As revisións permítenlle rastrexar as diferenzas que hai entre distintas versións dunha entrada.

/dev/mapper/vgtrisquel-root is the device node that corresponds to the root filesystem (root partition) in an LVM-managed setup.

Disk size with automatic partitioning yields:
* 40 GiB → 13.3632 GiB /dev/mapper/vgtrisquel-root
* 75 GiB → 21,3787 GiB /dev/mapper/vgtrisquel-root
* 80 GiB → 22.5245 GiB /dev/mapper/vgtrisquel-root
* 100 GiB → 22.7479 GiB /dev/mapper/vgtrisquel-root

====Virtual machine testing====

* Modify disk_size_gib to the value you want to evaluate in

os_variant=trisquel11
disk_size_gib=80

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

In the Trisquel VM
* Install Trisquel
* Reboot Trisquel and log in
* Open the terminal and run this to get the exact GiB value for /dev/mapper/vgtrisquel-root: df --block-size=1 | awk '$1=="/dev/mapper/vgtrisquel-root" {printf "%.4f GiB\n", $2/1024/1024/1024}'

Revisión

09/13/2025 - 17:47
David_Hedlund