Is it possible to mount a HVM from an APPVM?

Need to mount the windows hvm from an appvm to run some linux scripts.
Can anyone point me in the right direction please?

MSQLI via Qubes OS Forum qubes_os@forum.qubes-os.org writes:

Need to mount the windows hvm from an appvm to run some linux scripts.
Can anyone point me in the right direction please?

1 Like

I have tried to create a Manjaro template a while ago. For me, a standalone Windows machine is much easier to create then an AppVM, since AppVMs require a template.

Well, if it’s not important for you to integrate your VM with Qubes,I think my old post might help you.

: )

Trying to do this, so not sure its relevant, but thanks,

Example: /dev/qubes_dom0/vm-debian-9-tmp-root

[user@dom0]$ dev=$(basename $(readlink /dev/YOUR_LVM_VG/YOUR_LVM_IMAGE))
[user@dom0]$ qubesdb-write /qubes-block-devices/$dev/desc “YOUR_LVM_IMAGE”

How do we find out the LVG image name/path?
What is “basename”?

MSQLI via Qubes OS Forum qubes_os@forum.qubes-os.org writes:

  • MSQLI
    February 19

Example: /dev/qubes_dom0/vm-debian-9-tmp-root

[user@dom0]$ dev=$(basename $(readlink /dev/YOUR_LVM_VG/YOUR_LVM_IMAGE))
[user@dom0]$ qubesdb-write /qubes-block-devices/$dev/desc “YOUR_LVM_IMAGE”

How do we find out the LVG image name/path?

Look at /dev/qubes_dom0/ ; from here the names should be pretty obvious.

What is “basename”?

It is a shell command, like readlink. So you can learn more about it
with :
$ man basename
or
$ man readlink

Anyway good luck with https://wiki.ameliorated.info ; that is
interesting, indeed :wink:

1 Like