Dave: > I have a broken app-vm, from which I want to recover the usr home dir. > I want to mount the private.img as a vol to the new working vm using > qvm-block so I can copy user files in accordance with instructions here: > https://www.qubes-os.org/news/2017/04/26/qubes-compromise-recovery/ > >> >> It is possible to mount one VM’s private image as a volume to another >> AppVM. One can then run whatever malware scanner or investigative software >> in that other AppVM. This operation is indeed very easy to do: >> >> [joanna@dom0 ~]$ qvm-block -A --ro admin-ir >> dom0:/var/lib/qubes/appvms/personal/private.img >> [root@admin-ir user]# mount -o ro /dev/xvdi /mnt/personal/ >> >> However, the command returns err msg for 'admin-ir' argument: > > [David@dom0 ~]$ qvm-block -A --ro admin-ir >> dom0:/var/lib/qubes/appvms/personal/private.img >> usage: qvm-block [--verbose] [--quiet] [--help] [--list-device-classes] >> {list,ls,l,attach,at,a,detach,d,dt} ... >> qvm-block: error: argument command: invalid choice: 'admin-ir' (choose >> from 'list', 'ls', 'l', 'attach', 'at', 'a', 'detach', 'd', 'dt') >> [David@dom0 ~]$ >> > > Please help with proper syntax so I can recover user data from an app-vm > that won't boot. TIA > The article you're referring to is about Qubes 3.2, but the output from the qvm-block command appears to be from 4.0. Probably the safest way to accomplish the same thing is: - Create new VM with same sized private volume as the broken one - Shut it down - Locate the source(broken) and target(new) private volume names with "ls /dev/mapper" in dom0 terminal. They will end in "--private", not --back or --snap. - sudo cp /dev/mapper/[broken]--private /dev/mapper/[new]--private - Power on new VM
-- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/49e378fe-af32-27d6-c6f6-67c12670d433%40danwin1210.me.
