Resizing boot partition in appliance file?

22 views
Skip to first unread message

Alex Gooch

unread,
Oct 7, 2024, 4:26:15 PM10/7/24
to kiwi
Hello all!

I am attempting to increase the size of my boot partition (p.UEIF via parted cmd) from the default 21MB to 1GB. I see the documentation for partitions but I also see the note that boot is a reserved word that cannot be used.

I have deployed my system with the following type attributes:
<type image="oem" bootpartition="true" bootpartsize="1024" filesystem="btrfs" initrd_system="dracut" installiso="true" installboot="install" target_removable="false" firmware="efi" kernelcmdline="rd.kiwi.oem.maxdisk=1T">

I thought that the highlighted piece would take care of the partition size, but that just seems to handle the size of the /boot file system (seen with df -h). Additionally, if this is something that I should be using the partitions element to define, where does that go in the xml? Is it a sub-element?

I appreciate any help that you can offer! Thank you!
  Alex

Gavin Lambert

unread,
Oct 8, 2024, 10:25:43 PM10/8/24
to kiwi
On Tuesday, October 8, 2024 at 9:26:15 AM UTC+13 alex...@gmail.com wrote:
I am attempting to increase the size of my boot partition (p.UEIF via parted cmd) from the default 21MB to 1GB. I see the documentation for partitions but I also see the note that boot is a reserved word that cannot be used.

I have deployed my system with the following type attributes:
<type image="oem" bootpartition="true" bootpartsize="1024" filesystem="btrfs" initrd_system="dracut" installiso="true" installboot="install" target_removable="false" firmware="efi" kernelcmdline="rd.kiwi.oem.maxdisk=1T">

You need to set the efipartsize to alter the size of the UEFI partition.  It's in the documentation. 
Reply all
Reply to author
Forward
0 new messages