Re: How to edit *.qcow2

2010-02-06 Thread Liang Guo
在 星期五 05 二月 2010 14:54:57,sati...@pacific.net.hk 写道: Hi Liang, Thanks for your advice and link. Host - Debian 5.0 KVM libvirt run kvm-nbd VM/vm30.qcow2, modprobe nbd nbd-client localhost 1024 /dev/nbd0 then you can use /dev/nbd0 as a block device like /dev/sda I've write

Re: How to edit *.qcow2

2010-02-04 Thread satimis
Hi Liang, Thanks for your advice and link. Host - Debian 5.0 KVM libvirt run kvm-nbd VM/vm30.qcow2, modprobe nbd nbd-client localhost 1024 /dev/nbd0 then you can use /dev/nbd0 as a block device like /dev/sda I've write a little essay on how to install Debian on kvm image, FYI:

Re: How to edit *.qcow2

2010-02-02 Thread Asias He
you can try guestfish. http://libguestfs.org/recipes.html 2010/2/1 sati...@pacific.net.hk: Hi folks, KVM host – Debian 5.0 I need to mount kvm/qemu *.qcow2 image amending/reading its content. I can't figure out the type of file -t   1. mount -t mke2fs -o loop VM/vm30.qcow2 /mnt   2.

How to edit *.qcow2

2010-01-31 Thread satimis
Hi folks, KVM host – Debian 5.0 I need to mount kvm/qemu *.qcow2 image amending/reading its content. I can't figure out the type of file -t 1. mount -t mke2fs -o loop VM/vm30.qcow2 /mnt 2. mount -t e2fs -o loop VM/vm30.qcow2 /mnt 3. mount -o loop VM/vm30.qcow2 /mnt 4. mount -t

Re: How to edit *.qcow2

2010-01-31 Thread Terry
you need nbd-client and qemu-nbd to access qcow2 file. sati...@pacific.net.hk wrote: Hi folks, KVM host – Debian 5.0 I need to mount kvm/qemu *.qcow2 image amending/reading its content. I can't figure out the type of file -t 1. mount -t mke2fs -o loop VM/vm30.qcow2 /mnt 2.