Re: [EXT] [qubes-users] Extract image file from Qubes 4.x

2021-11-04 Thread Ulrich Windl

On 10/25/21 11:28 AM, r.wiesb...@web.de wrote:

In Qubes 4.x the images are no longer ordinary files accessible from the
dom0 file system. So how can I extract them as VM images (.img files in
Q 3.x) in Qubes 4.x? In the wiki I only find how to delete, but not how
to extract an image fom LVM. Thank you.


Try "kpartx -va /dev/qubes-dom0/vm-..." for your favorite VM. That 
creates device files for each partition, so you could mount those 
(read-only).


See "man kpartx".





--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/45d708b4-cc9e-83f9-5253-bf33ea098778%40rz.uni-regensburg.de.


Re: [qubes-users] Extract image file from Qubes 4.x

2021-10-30 Thread 'awokd' via qubes-users

r.wiesb...@web.de:

In Qubes 4.x the images are no longer ordinary files accessible from the
dom0 file system. So how can I extract them as VM images (.img files in
Q 3.x) in Qubes 4.x? In the wiki I only find how to delete, but not how
to extract an image fom LVM. Thank you.


You can extract the raw private drive contents with something like:

sudo cp /dev/mapper/qubes_dom0-vm--vmname--private 
/pathtodestinationfolder/vmname.raw


--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c06da239-d71d-1318-340c-cfd8915983f5%40danwin1210.me.


[qubes-users] Extract image file from Qubes 4.x

2021-10-25 Thread r . wiesbach

In Qubes 4.x the images are no longer ordinary files accessible from the
dom0 file system. So how can I extract them as VM images (.img files in
Q 3.x) in Qubes 4.x? In the wiki I only find how to delete, but not how
to extract an image fom LVM. Thank you.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0fed5931-2d81-5b89-39b7-28aea06aa153%40web.de.