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

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:
* 80 GiB → 22.5245 GiB /dev/mapper/vgtrisquel-root
* 100 GiB → 22.7479 GiB /dev/mapper/vgtrisquel-root

==Testing==

* Modify and run

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

* Install Trisquel
* Reboot Trisquel
* 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