From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ9e6-0002mR-VU for qemu-devel@nongnu.org; Wed, 19 Mar 2014 02:06:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQ9e5-00080y-Su for qemu-devel@nongnu.org; Wed, 19 Mar 2014 02:06:34 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:50347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ9e5-00080p-LR for qemu-devel@nongnu.org; Wed, 19 Mar 2014 02:06:33 -0400 Received: by mail-wi0-f178.google.com with SMTP id bs8so3727420wib.5 for ; Tue, 18 Mar 2014 23:06:32 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 19 Mar 2014 11:06:31 +0500 Message-ID: From: Atlas Khan Content-Type: multipart/alternative; boundary=001a11c23ed2466c5d04f4ef7429 Subject: [Qemu-devel] Qcow file does not mount List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel --001a11c23ed2466c5d04f4ef7429 Content-Type: text/plain; charset=ISO-8859-1 I am doing a task in which I have to enter some data which is in a directory in qcow/qcow2 file. The thing I want to ask is that how can I do this if I have boot looder or guest system in a directory rather than in iso file. I try to make a qcow image and mount it on my file system. Process for mounting which i m following is $ modprobe nbd max_part=63 $ qemu-nbd -c /dev/nbd0 image.img $ mount /dev/nbd0p1 /mnt/image I have a qcow file of malta mips. If run these commands on malta mips qcow file, It mount it. But if i try to mount a qcow file created by following command qemu-img create -f qcow2 test.qcow2 10G it give following error mount: special device /dev/nbd0p1 does not exist can any one help me how can I write some data in qcow or mount my qcow file. --001a11c23ed2466c5d04f4ef7429 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am doing a task in which I have to enter some data which= is in a directory in qcow/qcow2 file. The thing I want to ask is that how = can I do this if I have boot looder or =A0guest system in a directory rathe= r than in iso file. I try to make a qcow image and mount it on my file syst= em.=A0
Process for mounting which i m following is=A0

$ modprobe nbd max_part=3D63
$ qemu-nbd -c /dev/nbd0 image.img<= /div>
$ mount /dev/nbd0p1 /mnt/image

I h= ave a qcow file of malta mips. If run these commands on malta mips qcow fil= e, It mount it. But if i try to mount a qcow file created by following comm= and

qemu-img create -f qcow2 test.qcow2 10G
<= br>
it give following error

mount: speci= al device /dev/nbd0p1 does not exist

can any o= ne help me how can I write some data in qcow or mount my qcow file.



--001a11c23ed2466c5d04f4ef7429--