Ubiquity: Require 25 GB disk space. And document minimum required disk storage and setup partitions details.
- I'd say that miminum 2 GB free disk space should be left in the root partition after the installation + apt-get dist-upgrade, in order to install further upgrades, and to install another desktop environment. Based on the disk usage analysis below, that means 25 GB for Trisquel 11. Keep in mind that Trisquel 12 will consume more disk space for the root partition.
- I think it would be fair if users could define how big their /home/ should be (with or without LUKS in a LVM container) during the installation by simply adding a value instead of having to set up the partition tables manually (because currently it is not possible to modify the default partition setup in the installer).
Detect minimum disk space required by the Trisquel installer
- Created a small VM and installed Trisquel. The installer says that it requires 15.9 GB
Default Trisquel installation
- "Download updates while installing Trisquel": Yes
- "Encrypt the new Trisquel installation for security": Yes
- "Use LVM with the new Trisquel installation": Yes
14,9 GiB (15.9987516.1061 GB) -- default in virt-manager
- Created a VM with 14,9 GiB (14.81 GiB = 15.902116 GB, but only one decimal is allowed in virt-manager)
- The installer crashed at the end of the installation:
20 GB (18.7 GiB in virt-manager) VM
Added to #81 (closed)
Before apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 1,2M 1,6G 1% /run
/dev/mapper/vgtrisquel-root 8,5G 6,5G 1,6G 81% /
tmpfs 7,7G 0 7,7G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/mapper/vgtrisquel-home 7,3G 3,0M 6,9G 1% /home
/dev/sda3 1,7G 95M 1,5G 7% /boot
/dev/sda2 512M 296K 512M 1% /boot/efi
tmpfs 1,6G 164K 1,6G 1% /run/user/1000
After apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 1,3M 1,6G 1% /run
/dev/mapper/vgtrisquel-root 8,5G 7,4G 694M 92% /
tmpfs 7,7G 0 7,7G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/sda3 1,7G 175M 1,4G 12% /boot
/dev/mapper/vgtrisquel-home 7,3G 3,0M 6,9G 1% /home
/dev/sda2 512M 296K 512M 1% /boot/efi
tmpfs 1,6G 108K 1,6G 1% /run/user/116
tmpfs 1,6G 120K 1,6G 1% /run/user/1000
Installation without downloading updates
- "Download updates while installing Trisquel": No
- "Encrypt the new Trisquel installation for security": Yes
- "Use LVM with the new Trisquel installation": Yes
15 GiB (16.1061 GB)
Insufficient disk free disk space on /dev/mapper/vgtrisquel-root to run apt-get dist-upgrade
:
Installation without no encryption, and no LVM
- "Download updates while installing Trisquel": Yes
- "Encrypt the new Trisquel installation for security": No
- "Use LVM with the new Trisquel installation": No
20 GB (18.7 GiB in virt-manager) VM
Before apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 1,2M 1,6G 1% /run
/dev/sda3 8,9G 6,7G 1,7G 80% /
tmpfs 7,7G 0 7,7G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/sda2 512M 296K 512M 1% /boot/efi
/dev/sda5 8,6G 2,6M 8,1G 1% /home
tmpfs 1,6G 112K 1,6G 1% /run/user/116
tmpfs 1,6G 152K 1,6G 1% /run/user/1000
After apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 1,2M 1,6G 1% /run
/dev/sda3 8,9G 7,5G 907M 90% /
tmpfs 7,7G 0 7,7G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/sda5 8,6G 2,6M 8,1G 1% /home
/dev/sda2 512M 296K 512M 1% /boot/efi
tmpfs 1,6G 108K 1,6G 1% /run/user/116
tmpfs 1,6G 120K 1,6G 1% /run/user/1000
25 GiB (26,8435 GB)
22% (2.1 GB) free disk space on /dev/mapper/vgtrisquel-root after apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,5G 1,3M 1,5G 1% /run
/dev/mapper/vgtrisquel-root 9,9G 7,3G 2,1G 78% /
tmpfs 7,2G 0 7,2G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/mapper/vgtrisquel-home 12G 2,6M 12G 1% /home
/dev/sda3 1,7G 175M 1,4G 12% /boot
/dev/sda2 512M 296K 512M 1% /boot/efi
tmpfs 1,5G 108K 1,5G 1% /run/user/116
tmpfs 1,5G 120K 1,5G 1% /run/user/1000
50 GiB (53.6871 GB)
50% (7.6 GB) free disk space on /dev/mapper/vgtrisquel-root after apt-get dist-upgrade
:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,5G 1,3M 1,5G 1% /run
/dev/mapper/vgtrisquel-root 16G 7,3G 7,6G 50% /
tmpfs 7,2G 0 7,2G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/mapper/vgtrisquel-home 30G 2,6M 29G 1% /home
/dev/sda3 1,7G 175M 1,4G 12% /boot
/dev/sda2 512M 296K 512M 1% /boot/efi
tmpfs 1,5G 120K 1,5G 1% /run/user/1000
Ubuntu
Ubuntu 22.04
Required disk space
Ubuntu 23.04
Required disk space
Ubuntu 23.04 requires 19 GB, and has 7.1 GB free disk space after a default installation.
After installation
Conclusions
- Users can choose to install all the system on root partition if they want to use the smallest disk space possible, selecting "Something else".
- Ubiquity will not take upgrades into account when calculating the installation used disk amount, don't aim to that number or you'll have issues.
- Ubuntu and Trisquel do not share the same disk partition recipe, that is not a bug but a feature.
- We should document¹ the required disk usage for out installation mentioning both options,
- using the default partition recipe
- installing all in the root partition.
So users avoid hitting this low numbers and issues when they are not aware how the default partition recipe works.
¹ https://trisquel.info/en/wiki/system-requirements
See also
Edited by Luis Guzmán