Skip to content

How to make root-fs larger when RuntimeSize is configured? #2209

Closed Answered by DaanDeMeyer
fwilhe2 asked this question in Q&A
Discussion options

You must be logged in to vote

Put the following in mkosi.extra/usr/lib/repart.d/10-root.conf:

[Partition]
Type=root

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 the directory output instead which will use virtiofs so there will be no need to select a size in the first place.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@fwilhe2
Comment options

@Cornelicorn
Comment options

@fwilhe2
Comment options

@DaanDeMeyer
Comment options

@fwilhe2
Comment options

Answer selected by fwilhe2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2207 on December 22, 2023 09:56.