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? |
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 |
|
@killermoehre This is never going to work within mkosi. See |
@killermoehre This is never going to work within mkosi. See
test_initrd_lvm()intest_initrd.pyfor how we test LVM. Just write a wrapper script that builds the image and then copies the result over into the LVM stuff.