[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disabling boot time automatic rootfs resize



On 12/14/22 06:03, Paul Wise wrote:
On Tue, 2022-12-13 at 12:06 +0200, Johnny de Villiers wrote:

Have been trying to disable the root boot time automatic rootfs
resize for devices running arm such as the RPi, Odroid, RockPi etc...
with little to no success.

Normal Debian installs do not alter the rootfs size after installation,
so you must be using a custom image with extra packages installed.

If you are using the Debian images for RPi, the site for that gives a
procedure for disabling/limiting the first-boot filesystem resize step:

https://raspi.debian.net/defaults-and-settings/

For other images you will need to consult the folks who created them.

Is there any way to do this? The systems running the 'cloud-init'
packages like ubuntu have given us a means to disable it, however am
unable to find any documentation on the debian system doing this?

cloud-init is available in Debian too, but I assume like something that
would only be used on cloud images, not on ARM images.

Not sure if that's the Debian image (I don't think the Debian image for RPi has cloud-init), though with cloud-init, you may simply disable some modules in /etc/cloud/cloud.cfg.

I hope that helps,
Cheers,

Thomas Goirand (zigo)


Reply to: