I am installing Ubuntu Server, and I noticed that the guided lvm process will create a 512MB /boot/efi fat32 partition as well as a 1GB /boot ext4 partition. The rest of the HDD is then given to LVM to be used as / under a lv.
I understand the 512MB partition that will be mounted as /boot/efi is the EFI System Partition for EFI booting and requires fat32 formatting because EFI does not recognize more exotic filesystems.
However, I want to know why a separate 1GB /boot partition is also carved out.
In another install, I configured partitions manually and selected the "Use as boot device" option under a blank HDD. This created the 512GB ESP. Then, I
- created a backup ESP on another HDD
- created lvm-on-mdadm set up on the free space of both, for / .
After installation completed, the HDDs had 512MB ESPs, the free space was lvm-on-mdadm, and /boot was a subfolder of / . I didn't purposely not create a separate /boot partition, I just didn't know better.
User "user589808: says here that
The ESP - EFI System Partition - should not be confused with /boot (not required for most Ubuntu installations) and is a standard requirement.
On one hand, I don't want to go against guidelines and want to respect the defaults, but on the other hand, I am working with VM's on a machine that has a low amount of storage, and having a separate 1GB /boot partition that might not even get completely filled up (along with all the complexities that may be involved when resizing partitions) seems less ideal than have a lvm lv containing /boot as a subfolder. (I won't be using lvm-on-mdadm though, just lvm)
On a lvm or lvm-on-mdadm systems with ESP's, is a separate /boot partition required?
/boot
as being required and to not deviate unless you're comfortable with fixing problems yourself when the time comes. If you're using a VM, maybe consider purchasing more space? – Ray May 27 '21 at 03:58/boot
wasn't separated. It's only 1 GB...though maybe you can get away with less? – Ray May 27 '21 at 04:31