On Wednesday, November 21, 2018 at 7:41:08 PM UTC+2, haaber wrote:
> > I need to get access to a file on a template I created. I did some changes and I am unable to boot the template.
> >
> > How do I mount the filesystem in another VM to get access to the file?
>
> I presume you use Q4. I would try to use
>
> losetup -f to get a free loopdevice name and then
>
> losetup /dev/loopX /dev/qubes_dom0/YOURTEMPLATE-private
>
> or YOURTEMPLATE-root according to where the problem sits. Once it is
> looped, you can mount it or redirect it with the icon in the corner to
> some other template.
Note that for YOURTEMPLATE-root you might need to add -P parameter to losetup, so the partitioned loop device is created:
losetup -P /dev/loopX /dev/qubes_dom0/YOURTEMPLATE-root
Then you will be able to mount your /dev/loopXpY partition.
Mike