On Fri, Mar 02, 2018 at 05:38:11AM -0500, Chris Laprise wrote:
> 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
> 
> 

But that way you still cat the WHOLE file and then only resparse it after
the transfer. It will take significantly longer.

-- 
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/20180302105643.eqhk2rbgyoqqizbq%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to