dbcrvl
August 29th, 2017, 05:53 PM
Hi,
I need to install Ubuntu 16.04 on many computers and need to change the /boot partition size to be 4GBs (from the default 512MB) on all of them. The computers have to use EFI and LVM (for the /swap and / partitions).
Ubuntu installs and works fine with the defaults (but /boot is only 512MB!).
I am trying to use partman-auto/expert_recipe with the below string, but it does not work as I get an error at the end of the installation process saying:
the 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.
This is the recipe I am using:
d-i partman-auto/expert_recipe string boot-root :: \
1 1 1 free \
$bios_boot{ } \
method{ biosgrub } . \
256 256 256 fat32 \
$primary{ } $lvmignore{ } \
method{ efi } format{ } . \
4096 4096 4096 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } . \
40000 430000 -1 ext4 \
$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } . \
16384 16384 16384 linux-swap \
$lvmok{ } \
method{ swap } format{ } .
What can be causing this?
Or maybe there is an easier way to resize the /boot partition without a recipe?
Thanks!
I need to install Ubuntu 16.04 on many computers and need to change the /boot partition size to be 4GBs (from the default 512MB) on all of them. The computers have to use EFI and LVM (for the /swap and / partitions).
Ubuntu installs and works fine with the defaults (but /boot is only 512MB!).
I am trying to use partman-auto/expert_recipe with the below string, but it does not work as I get an error at the end of the installation process saying:
the 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.
This is the recipe I am using:
d-i partman-auto/expert_recipe string boot-root :: \
1 1 1 free \
$bios_boot{ } \
method{ biosgrub } . \
256 256 256 fat32 \
$primary{ } $lvmignore{ } \
method{ efi } format{ } . \
4096 4096 4096 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } . \
40000 430000 -1 ext4 \
$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } . \
16384 16384 16384 linux-swap \
$lvmok{ } \
method{ swap } format{ } .
What can be causing this?
Or maybe there is an easier way to resize the /boot partition without a recipe?
Thanks!