KIWI::IMAGE::RESIZE(8) KIWI NG KIWI::IMAGE::RESIZE(8)

kiwi::image::resize - Resize disk images to new geometry

kiwi-ng [global options] service <command> [<args>]
kiwi-ng image resize -h | --help
kiwi-ng image resize --target-dir=<directory> --size=<size>
    [--root=<directory>]
kiwi-ng image resize help


For disk based images, allow to resize the image to a new disk geometry. The additional space is free and not in use by the image. In order to make use of the additional free space a repartition process is required like it is provided by kiwi's oem boot code. Therefore the resize operation is useful for oem image builds most of the time.

The path to the root directory, if not specified kiwi searches the root directory in build/image-root below the specified target directory
New size of the image. The value is either a size in bytes or can be specified with m=MB or g=GB. Example: 20g
Directory containing the kiwi build results

Marcus Schäfer

2024, Marcus Schäfer

February 2, 2024 9.25.22