Closed danielbisar closed 9 months ago
@danielbisar Fix waiting in #2385
You'll also need to add the following to your configuration:
[Content]
# "orphan_file" is enabled by default in recent versions of mkfs.ext4 but not supported by the Jammy/Focal kernels
# so we explicitly disable it.
Environment=SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file"
@DaanDeMeyer I can confirm that with your branch is working.
mkosi version: commit 3d0137492cd66bbe8ad9f2db247dcca034b1ede6 (recent main) mkosi.conf
mkosi.repart/
Extra tree exists but is omitted here (just a /data/testfile). When trying to boot this image with mkosi qemu, I get a kernel panic:
I see that the cause seems to be:
[ 0.449614] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
mkosi qemu executed with sudo does have the same result.
Am I missing something in the configuration?
Additional information: