[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] virt-ls windows



On Thu, Aug 02, 2012 at 02:46:25PM +0300, Evaggelos Balaskas wrote:
> thanks for your reply and for the listdrive.pl
> 
> I am guessing the same limitation apply on virt-copy-out too.

virt-copy-out is just a wrapper around the guestfish copy-out command.

You can use the guestfish command copy-out directly, but you have to
do the drive letter mapping "by hand":

guestfish --ro -d Win2003 -i <<EOF
umount-all
# to display drive mappings, do 'inspect-get-drive-mappings /dev/vda2'
# this assumes d: is /dev/sdb1
mount-ro /dev/sdb1 /
copy-out win:/foo /bar
EOF

There's a related RFE to have guestfish create drive mountpoints which
would make this happen automagically.  See the TODO file.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]