Hello Adolf,

Thanks for this patch. I have merged it.

The value only specifies a maximum size of the temporary directory. It won’t 
use up all the space on allocation. Therefore setting it to 1024 MiB is 
absolutely fine. The intention was probably to not exhaust the system of the 
entirety of memory, but since we have nowhere else to write the image to, we 
will not probably require more than 1 GiB of memory to make the PXE install 
work.

Are you aware of this being documented anywhere? Do we need to add a note to 
the installation documentation that at least 2 GiB would be needed for PXE?

-Michael

> On 28 Jan 2026, at 19:50, Adolf Belka <[email protected]> wrote:
> 
> - download.sh defines a mount of 512M for downloading the iso for use with 
> PXE.
>   Unfortunately since CU192 the iso sizes have been greater than 512M
> - This was identified by a user on the forum as their PXE install failed to 
> work.
> - They had suggested increasing it to around 800M. As CU200 is already at 
> 658M I
>   thought it made more sense to give a bit more room and so specified 1024M. 
> If this
>   is considered too excessive then it can always be modified.
> 
> Signed-off-by: Adolf Belka <[email protected]>
> ---
> src/installer/downloadsource.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/installer/downloadsource.sh b/src/installer/downloadsource.sh
> index 47086b2b7..d8b1ddd03 100644
> --- a/src/installer/downloadsource.sh
> +++ b/src/installer/downloadsource.sh
> @@ -2,7 +2,7 @@
> ###############################################################################
> #                                                                             
> #
> # IPFire.org - A linux based firewall                                         
> #
> -# Copyright (C) 2007-2022  IPFire Team  <[email protected]>                    
>  #
> +# Copyright (C) 2007-2026  IPFire Team  <[email protected]>                    
>  #
> #                                                                             
> #
> # This program is free software: you can redistribute it and/or modify        
> #
> # it under the terms of the GNU General Public License as published by        
> #
> @@ -35,7 +35,7 @@ URL="${2}"
> OUTPUT_DIR="${OUTPUT%/*}"
> 
> mkdir -p "${OUTPUT_DIR}"
> -if ! mount -t tmpfs none "${OUTPUT_DIR}" -o size=512M; then
> +if ! mount -t tmpfs none "${OUTPUT_DIR}" -o size=1024M; then
> echo "Could not mount tmpfs to ${OUTPUT_DIR}" >&2
> exit 1
> fi
> -- 
> 2.52.0
> 
> 


Reply via email to