On 03/02/2018 04:04 AM, donoban wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 03/02/2018 08:38 AM, Robert Walz wrote:
[robert@dom0 ~]$ qvm-run --pass-io tempDebian 'cat
"/home/user/meta.raw"' >
/var/lib/qubes/appvms/metasploitable/root.img I stopped the command
with Ctrl+C, because the root.img became bigger than the original
file's size. Then I got the following error messages.

Could you post:

[robert@dom0 ~]$ qvm-run --pass-io tempDebian 'ls -lsh
  "/home/user/meta.raw"'

Maybe your raw file is an sparse file. I'm not sure if cat would
handle it fine.


If source is sparse, you can also save it as sparse by piping through dd:

qvm-run --pass-io tempDebian 'cat "/home/user/meta.raw"' | dd conv=sparse of=/var/lib/qubes/appvms/metasploitable/root.img


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6a92dc2f-a37c-6544-75e7-97f8e35795a4%40posteo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to