installer: Increase size of /boot to 256 MiB

Message ID 20220807120055.850158-1-michael.tremer@ipfire.org
State Accepted
Commit 06cb5c1bb7cdfafb8bf0bcb0b6d00c5548958806
Headers
Series installer: Increase size of /boot to 256 MiB |

Commit Message

Michael Tremer Aug. 7, 2022, noon UTC
  On some installations, we are running out of space on the /boot
partition due to growing sizes of the ramdisk and the kernel.

To accomodate for that and have room to grow in the future, we increase
the size of the partition to 256 MiB.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/installer/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Peter Müller Aug. 8, 2022, 10:12 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> On some installations, we are running out of space on the /boot
> partition due to growing sizes of the ramdisk and the kernel.
> 
> To accomodate for that and have room to grow in the future, we increase
> the size of the partition to 256 MiB.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  src/installer/hw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/installer/hw.c b/src/installer/hw.c
> index 0ed6050b3..236737c8e 100644
> --- a/src/installer/hw.c
> +++ b/src/installer/hw.c
> @@ -492,7 +492,7 @@ static unsigned long long hw_swap_size(struct hw_destination* dest) {
>  }
>  
>  static unsigned long long hw_boot_size(struct hw_destination* dest) {
> -	return MB2BYTES(128);
> +	return MB2BYTES(256);
>  }
>  
>  static int hw_device_has_p_suffix(const struct hw_destination* dest) {
  

Patch

diff --git a/src/installer/hw.c b/src/installer/hw.c
index 0ed6050b3..236737c8e 100644
--- a/src/installer/hw.c
+++ b/src/installer/hw.c
@@ -492,7 +492,7 @@  static unsigned long long hw_swap_size(struct hw_destination* dest) {
 }
 
 static unsigned long long hw_boot_size(struct hw_destination* dest) {
-	return MB2BYTES(128);
+	return MB2BYTES(256);
 }
 
 static int hw_device_has_p_suffix(const struct hw_destination* dest) {