How to edit the size of the /boot partition when installing Ubuntu? Using the guided partitioning option "use the entire disk and set up encrypted LVM" results is a /boot partition which is only 236MB.
How to edit the size of the /boot partition when installing Ubuntu? Using the guided partitioning option "use the entire disk and set up encrypted LVM" results is a /boot partition which is only 236MB.
Guided partition sizes are specified in
/lib/partman/recipes[-arch]/*
. The file format is here: http://ftp.dc.volia.com/pub/debian/preseed/partman-auto-recipe.txtTo increase the
/boot
size, change the maximum size (third number) in the boot section of the default recipe:sudo nano /lib/partman/recipes/30atomic
Change the 256 to a something bigger and save. Then, start the installer and use the guided option.
Use manual partitioning and try the steps I outline in this solution. The process I use is for Ubuntu 16.04.2 though. With manual partitioning, I was able to create a boot partition 1GB in size with no problem. As an added benefit, you can also create additional logical volumes for /home or any other partition you might want to keep separate.