How to mount App-VMs from Outside qubes

42 views
Skip to first unread message

Dieter

unread,
May 1, 2020, 12:18:18 PM5/1/20
to qubes-users
Hi,

I tried accessing data on an old qubes (3.2) drive that doesnt boot
anymore(stuck after decryption with a black screen with blinking _)
using this documentation article.

https://www.qubes-os.org/doc/mount-from-other-os/

However after decryption I only see the lvms "qubes_dom0-swap" and
"qubes_dom0-root" 

reading from dom0 is no problem but how can I access the other VMs?

(I accessed the drive via a live linux so I didnt rename the VG)

kind regards,

dieter

dhorf-hfre...@hashmail.org

unread,
May 1, 2020, 12:54:05 PM5/1/20
to Dieter, qubes-users
On Fri, May 01, 2020 at 06:18:10PM +0200, Dieter wrote:
> I tried accessing data on an old qubes (3.2) drive that doesnt boot

> However after decryption I only see the lvms "qubes_dom0-swap" and
> "qubes_dom0-root" 

> reading from dom0 is no problem but how can I access the other VMs?


mount the dom0 root volume
check for .img files under /var/lib/qubes/

these are loop-mountable volumes

you can dd them to blockdevices, or use as-is.
private volumes should be usable on qubes 4.0 unless they contain
fancy configuration.

if you want to copy them around, beware of them being sparse files.
(== unless you use some copy tooling that can handle sparse files,
they will take a lot more space after copying than before)


David Hobach

unread,
May 2, 2020, 4:54:09 AM5/2/20
to dhorf-hfre...@hashmail.org, Dieter, qubes-users
On 5/1/20 6:53 PM, dhorf-hfre...@hashmail.org wrote:
> On Fri, May 01, 2020 at 06:18:10PM +0200, Dieter wrote:
>> I tried accessing data on an old qubes (3.2) drive that doesnt boot
>
>> However after decryption I only see the lvms "qubes_dom0-swap" and
>> "qubes_dom0-root"
>
>> reading from dom0 is no problem but how can I access the other VMs?
>
>
> mount the dom0 root volume
> check for .img files under /var/lib/qubes/
>
> these are loop-mountable volumes

Doesn't that depend on the storage pool being used? Your instructions
should be valid for file storage pools.

However with Qubes 4 LVM thin storage pools became the default. You
should be able to find instructions on this forum; there's also [1]
describing how to do it from dom0.

[1] https://www.qubes-os.org/doc/mount-lvm-image/

Dieter

unread,
May 2, 2020, 6:10:06 AM5/2/20
to David Hobach, dhorf-hfre...@hashmail.org, qubes-users
Its a Qubes 3.2 drive.

Reply all
Reply to author
Forward
0 new messages