> On 6/3/20 10:58 PM, Boot problems wrote: > > How do I restore a mounted vm using dd?
qvm-run -p HELPERVM "sudo cat /dev/mapper/qubes_dom0-vm--VMOLD--private" | sudo dd conv=sparse of=/dev/mapper/qubes_dom0-vm--VMNEW--private this assumes you have the old disk opened in HELPERVM, the old vm name is VMOLD and the new VM name is VMNEW. this needs to be run in dom0, as one line (or with a linebreak after the |) VMOLD and VMNEW can have the same name. VMNEW needs to be created and should not have been started before running this. if you started VMNEW already (or need to rerun the dd), run "blkdiscard /dev/mapper/qubes_dom0-vm--VMNEW--private" before the dd chain. the private volume for VMNEW needs to be same-or-bigger than the one of VMOLD. On Thu, Jun 04, 2020 at 01:20:43PM +0200, haaber wrote: > dd = disk destroyer. > I there is the slightest chance of error, don't use it. that is really overly pessimistic, you can completely destroy your system with pretty much any tool when used the wrong way. yes, even with firefox. -- 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/20200604113641.GI1079%40priv-mua.
