From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzIjL-0002Dp-23 for qemu-devel@nongnu.org; Sun, 31 Jul 2005 14:40:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzIZb-0001Fl-KU for qemu-devel@nongnu.org; Sun, 31 Jul 2005 14:30:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzIZZ-00014S-03 for qemu-devel@nongnu.org; Sun, 31 Jul 2005 14:30:05 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DzIJB-0002Iq-Eb for qemu-devel@nongnu.org; Sun, 31 Jul 2005 14:13:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DzI6e-0007FA-Pa for qemu-devel@nongnu.org; Sun, 31 Jul 2005 20:00:12 +0200 Received: from dsl093-191-107.nyc2.dsl.speakeasy.net ([66.93.191.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2005 20:00:12 +0200 Received: from esj by dsl093-191-107.nyc2.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2005 20:00:12 +0200 From: "Eric S. Johansson" Date: Sun, 31 Jul 2005 13:59:22 -0400 Message-ID: References: <200507310258.13169.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <200507310258.13169.mark.williamson@cl.cam.ac.uk> Sender: news Subject: [Qemu-devel] lomount : Re: file system sharing Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Mark Williamson wrote: > If you're using a file-based disk and it's partitioned you'll need to use > lomount http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/lomount/ to > mount the right partition in the host. this works great for some of the partitions but not the last one. For some reason the file based image of a disk thinks the cylinder number is * and if I try to set it to the right value, fdisk gives me error 25 and something about wrong ioctk. I reboot to flush the cache in the kerneland it's still not set to the right number of cylinders. The disk image was formatted inside of qemu as part of the IPCop installation process. It boots up just fine, I can create files change files etc. no problem. It's just one I have stopped qemu and are trying to modify files within the disk image, I can't mount the partition I need to change. ---eric