How to make root-fs larger when RuntimeSize is configured? #2209
-
Hi, this might be my missing experience when working with systemd-repart but I could not figure out how to resolve this. What I want is pretty simple: I'm building a dev vm using mkosi and I need a larger root-fs for building software inside the VM. I fund the My question is: How can I configure mkosi so that given a I've tried configuring repart but that did not bring the expected result. What's the most simple way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Put the following in
That should be sufficient (you might need a somewhat recent systemd as I remember a recent bugfix for this). Although for dev vms using mkosi I would skip the |
Beta Was this translation helpful? Give feedback.
Put the following in
mkosi.extra/usr/lib/repart.d/10-root.conf
:That should be sufficient (you might need a somewhat recent systemd as I remember a recent bugfix for this).
Although for dev vms using mkosi I would skip the
disk
output completely and just use thedirectory
output instead which will use virtiofs so there will be no need to select a size in the first place.