Create Loop-Device for complex Image #2413
-
Hi, I need to create my own disk image with a base in LVM for real hardware machines. As Now the problem is that I can't loop-mount this disk with Even if I Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hmm … containers/bubblewrap#523 looks unfortunate in this regard. Seems like loop devices are not namespace'able. I'm open for suggestions on how to solve this within |
Beta Was this translation helpful? Give feedback.
-
@killermoehre This is never going to work within mkosi. See |
Beta Was this translation helpful? Give feedback.
@killermoehre This is never going to work within mkosi. See
test_initrd_lvm()
intest_initrd.py
for how we test LVM. Just write a wrapper script that builds the image and then copies the result over into the LVM stuff.