Machine/template-focal: Difference between revisions

Srevin03 (talk | contribs)
Tag: visualeditor-switched
Srevin03 (talk | contribs)
Line 25: Line 25:
#* OpenSSH server
#* OpenSSH server
# GRUB: let the installer setup grub on /dev/vba (which contains /boot)
# GRUB: let the installer setup grub on /dev/vba (which contains /boot)
== Partitioning ==
The goal is to have a small disk file for the MBR and /boot, and a larger raw filesystem in
an LVM Logical Volume. We don't want the LV to be partitioned because this makes it harder to
resize, mount, etc.
Now create a partition table in the smallest disk (256MB) and create a single partition in it.
Format this partition as ext4, labeled "boot" and mounted as /boot.
The installer won't let you format the entire disk as a filesystem, so go ahead and partition
the 10GB disk too, then create a primary partition in it and format it as ext4, mounted as /
and labeled "template-xenial" ('''"template-focal-root" would exceed the ext4 limit''').
And yes.. just in case you're wondering. We don't use swap partitions.
We'll have to fix the disk later.