You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
there is no fstab?
context: system booted with "mkosi boot": how do i mount the additional partition (lsblk show loop5 -> loop5p3), if i try mount -o loop loop5p3 /mnt it says permission denied; and I guess i should probably create some systemd mount files?
mount does not seem to have it mounted
access to internet does not work in mkosi.postinst, event though [Packages] -> WithNetwork=yes is set.
The text was updated successfully, but these errors were encountered:
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)
context: system booted with "mkosi boot": how do i mount the additional partition (lsblk show loop5 -> loop5p3), if i try mount -o loop loop5p3 /mnt it says permission denied; and I guess i should probably create some systemd mount files?
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.
mount does not seem to have it mounted
There's no fstab, and systemd-nspawn doesn't automatically mount generic data partitions
access to internet does not work in mkosi.postinst, event though [Packages] -> WithNetwork=yes is set.
I'll need a lot more information that that to be able to debug this
Host: Debian 12
mkosi v0.20.2 (git) + #2347
Target: Ubuntu focal
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:
there is no fstab?
context: system booted with "mkosi boot": how do i mount the additional partition (lsblk show loop5 -> loop5p3), if i try mount -o loop loop5p3 /mnt it says permission denied; and I guess i should probably create some systemd mount files?
mount does not seem to have it mounted
access to internet does not work in mkosi.postinst, event though [Packages] -> WithNetwork=yes is set.
The text was updated successfully, but these errors were encountered: