DISCLAIMER: make sure you have backed up all your data before following these steps. Use these steps solely on your own risk!
- Install Ubuntu 18.04 using server installer, but change partitioning as follows
EFI partition: 1gb
/boot partition ext4: 1gb
/ partition ext4: 4gb (or size for swap usage)