How to extract a backup from dom0

31 views
Skip to first unread message

Franz

unread,
May 22, 2017, 8:34:51 AM5/22/17
to qubes...@googlegroups.com
After the recent update I lost all communications out of dom0, no network as already described here https://groups.google.com/forum/#!topic/qubes-users/unDqbBa_k_Y

Also  USB sticks do not mount anymore even after deleting all assignments of 00:1a.0  and 00:1d.00  

But dom0 still works, so made a backup of  all VMs. But how to take the backup out of dom0?

I imagine can boot with a live Qubes or live linux distribution and from there try to find my backup somewhere. But where? Also everything is encrypted, so how may I decrypt it?

Well, it seems complicated but perhaps there is a tutorial or something.

Any idea?
Best
Fran

Bernhard

unread,
May 22, 2017, 10:11:53 AM5/22/17
to qubes...@googlegroups.com

> After the recent update I lost all communications out of dom0, no
> network as already described here
> https://groups.google.com/forum/#!topic/qubes-users/unDqbBa_k_Y
> <https://groups.google.com/forum/#%21topic/qubes-users/unDqbBa_k_Y>
>
> Also USB sticks do not mount anymore even after deleting all
> assignments of 00:1a.0 and 00:1d.00
>
> But dom0 still works, so made a backup of all VMs. But how to take
> the backup out of dom0?
Boot a live-linux with built-in LUKS support. Tails for example
(activate root access after boot).
Then "break in" by hand following standard tutorials "how to mount a
luks drive", and copy all
to your usb disc. consider generatinga huge sparse-file, say, BACKUP.enc
then loop-it:
losetup -f % findes out a free slot
losetup /dev/loopxxx BACKUP.enc
Now /dev/loopxxx is a device that can by crypt-setuped by luks in a
standard tutorial way. Mount it, and move your data in.

Bernhard

Vít Šesták

unread,
May 22, 2017, 11:49:34 AM5/22/17
to qubes-users
Do you have Qubes installer anywhere? If so, boot it, choose you want to repair the system. You will be prompted for disk encryption password(s). It will try to autodetect where your broken installation lies and mount it under AFAIR /mnt/sysimage. Then, you can access it or (if you want) chroot to it.

With the rescue mode, you probably won't be able to connect to network, but USB should work.

Regards,
Vít Šesták 'v6ak'

Franz

unread,
May 22, 2017, 1:09:14 PM5/22/17
to Vít Šesták, qubes-users
On Mon, May 22, 2017 at 12:49 PM, Vít Šesták <groups-no-private-mail--con...@v6ak.com> wrote:
Do you have Qubes installer anywhere? If so, boot it, choose you want to repair the system. You will be prompted for disk encryption password(s). It will try to autodetect where your broken installation lies and mount it under AFAIR /mnt/sysimage. Then, you can access it or (if you want) chroot to it.

With the rescue mode, you probably won't be able to connect to network, but USB should work.


Many thanks to all, I'' try
Best
Fran
 
Regards,
Vít Šesták 'v6ak'

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/454d8ada-9c4b-4bc9-8abc-415f5d2617ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages