KIWI::IMAGE::RESIZE(8)
π kiwi::image::resize β the glow-up page
ok so this is part of KIWI NG, and the manual page name is KIWI::IMAGE::RESIZE(8) β yes that's a mouthful, we don't say it out loud, we just vibe with it π«Ά
β¨ NAME β¨
kiwi::image::resize β bestie, it resizes disk images to a new geometry. that's the whole thing. that's the job. π
β¨ SYNOPSIS β¨
here's how you actually call it:
kiwi-ng [global options] service <command> [<args>]
kiwi-ng image resize --help
kiwi-ng image resize --target-dir=<directory> --size=<size>
[--root=<directory>]
the --help one is your safe little intro, the second one is the real deal π₯
β¨ DESCRIPTION β¨
okay so picture this: you've got a disk-based image, right? and you want to resize it to a new disk geometry. that's literally what this does β slay. π
the extra space it gives you is free and not in use by the image. it's just sitting there, hanging out, unused, like a spare room nobody's decorated yet π
but here's the cute part: the OEM boot code in KIWI NG ships with a resizing procedure that can actually make use of that additional free space. so the space doesn't just sit there forever being useless β the OEM boot code swoops in and puts it to work. icon behaviour tbh π
and for OEM image builds specifically? it is <highkey>advisable</highkey> to run the resizing operation. like, do it. don't skip it. it's giving self-care for your image β¨
β¨ OPTIONS β¨
every single flag, no skips, no cap:
--root=<directory>β the path to the root directory. but like, if you don't specify it? kiwi goes hunting for it β it searches for the root directory inbuild/image-rootunder the specified target directory. so it'll find it, it's just doing a lil scavenger hunt first ππ--size=<size>β the new size of the image, bestie. and you've got options for how to say it: either a plain size in bytes, or you can spice it up withmfor MB orgfor GB. the example they give is20gβ see, lowercaseg, no space, chefs kiss π--target-dir=<directory>β the directory containing the kiwi build results. that's where the goodies live πβ¨
β¨ AUTHOR β¨
Marcus SchΓ€fer β the main character who wrote this. respect the icon π
β¨ COPYRIGHT β¨
2020-2026, Marcus SchΓ€fer β yeah, that's the copyright line, keeping it exactly as it is, periodt.
and that's the whole page, bestie π¦ so this version is 11.1.1 and it's dated Oct 06, 2026 β go forth and resize responsibly, iykyk ππ
π¦ where this page comes from
- epel 10: kiwi-cli 11.1.1-2.el10_3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms