Re: [qubes-users] Access to template filesystem on Qubes 4

2018-12-10 Thread mike
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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/120c7709-d64b-43c7-9f13-650e609ec67e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Access to template filesystem on Qubes 4

2018-11-21 Thread haaber

On 11/21/18 6:30 PM, Dominique St-Pierre Boucher wrote:

Hello Qubes-users,



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.


Bernhard


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d9512f70-1971-d3b6-7e3e-8e6d026d8376%40web.de.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Access to template filesystem on Qubes 4

2018-11-21 Thread Dominique St-Pierre Boucher
Hello Qubes-users,



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?


Thanks

Dominique

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b5de09fb-346d-4a3f-b910-2f036433ddd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.