[Pardus-kullanicilari] qemu ile pardus arasinda dosya transferi

M.Murat AKBAŞ muratakbas at gmail.com
27 Ara 2006 Çar 11:43:28 EET


Merhaba,
Sanırım bu bilgi işinize yarayacaktır;

Mounting the hard disk image

Fortunately there is a way to mount the hard disk image with a loopback
device. Login as root, make a temporary directory and mount the image with
the command:

mount -o loop,offset=32256 [[hd''image]] [[tmp''dir]]

Now you can copy data in both directions. When you are done, umount with:

umount [hd_image]

The drawback of this solution is that you cannot use it with qcow images
(including overlay images). So you need to create you images without \"-f
qcow\" option. Tip: create a second, raw hardrive image. This way you'll be
able to transfer data easily and use qcow overlay images for the primary
drive.

REMEMBER: never run qemu when the image is mounted!


On 12/27/06, Atamert Ölçgen <muhuk at muhuk.com> wrote:
>
> selim ok wrote On 27-12-2006 10:29:
> > Aslinda tam olarak ne yaptigimizi anlamadim bu komutla. Simdi isim
> > oldugundan deneyemiyorum, bir ara denerim, ama biraz
> > aciklayabilirseniz de fena olmaz. Yinede cok tesekkür ederim.
> >
> Samba kullanmak yerine bir dizin göstererek o dizini windows'a bir disk
> olarak bağlamasını sağlıyoruz. İzinlere dikkat ederek ve dizindeki
> dosyaların yedeğini alarak denerseniz örneğin hdb olarak bağladığınız
> dizinin (CD varsa) E: olarak görünmesi gerek.
>
> --
> Saygılarımla,
> Atamert Ölçgen
>
> www.muhuk.com
> muhuk.blogspot.com
> muhuk at jabber.org
>
>
> _______________________________________________
> Pardus-kullanicilari mailing list
> Pardus-kullanicilari at uludag.org.tr
> http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilari
> Arama: http://liste.uludag.org.tr/arama/
>



-- 
M.Murat AKBAS
http://mmakbas.wordpress.com/
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.uludag.org.tr/pardus-kullanicilari/attachments/20061227/373dee96/attachment.htm 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi