How to access data partition created with repart? #2353
-
Host: Debian 12 Lets say i have a mkosi.repart/20-data.conf with the following content:
On boot the partition is also shown in the overview before systemd starts. This is just the start of a more complex setup. So there are a few questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am adding fstab support in systemd/systemd#30636. Until that lands, you have to write /etc/fstab yourself (which is complicated unless you use fixed UUIDS)
You cannot mount additional partitions from within a systemd-nspawn containers. These have to be mounted on the host and passed into the container. Maybe systemd-nspawn should look at fstab, but this is something related to systemd, not mkosi, so I'd suggest opening an issue in the systemd repo.
There's no fstab, and systemd-nspawn doesn't automatically mount generic data partitions
I'll need a lot more information that that to be able to debug this |
Beta Was this translation helpful? Give feedback.
Ok, thatnk you. I guess I missunderstood the concept a bit.
What I came up with is the following:
30-data.conf