Machine/template-focal: Difference between revisions

Srevin03 (talk | contribs)
Srevin03 (talk | contribs)
No edit summary
 
Line 25: Line 25:
#* OpenSSH server
#* OpenSSH server
# GRUB: let the installer setup grub on /dev/vda (which contains /boot)
# GRUB: let the installer setup grub on /dev/vda (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-focal" ('''"template-focal-root" would exceed the ext4 limit''').
Preferably, when asked for size, remove the contents and replace it with 'max'
And yes.. just in case you're wondering. We don't use swap partitions.
We'll have to fix the disk later.




Line 88: Line 109:
   lvremove /dev/justice/template-focal-root
   lvremove /dev/justice/template-focal-root
   lvrename justice template-focal-root2 template-focal-root
   lvrename justice template-focal-root2 template-focal-root
== 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-focal" ('''"template-focal-root" would exceed the ext4 limit''').
Preferably, when asked for size, remove the contents and replace it with 'max'
And yes.. just in case you're wondering. We don't use swap partitions.
We'll have to fix the disk later.