From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqLCU-0000Pu-9W for qemu-devel@nongnu.org; Sun, 16 Jan 2005 19:56:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqLCN-0000MD-Ui for qemu-devel@nongnu.org; Sun, 16 Jan 2005 19:56:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqLCN-0000KZ-4t for qemu-devel@nongnu.org; Sun, 16 Jan 2005 19:56:51 -0500 Received: from [64.233.184.201] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CqKyK-0007lK-4k for qemu-devel@nongnu.org; Sun, 16 Jan 2005 19:42:20 -0500 Received: by wproxy.gmail.com with SMTP id 40so1038131wri for ; Sun, 16 Jan 2005 16:42:19 -0800 (PST) Message-ID: Date: Mon, 17 Jan 2005 01:42:19 +0100 From: Magnus Damm Subject: Re: [Qemu-devel] Mounting qemu virtual disk images from host linux os In-Reply-To: <41EAF9E2.9030108@gsinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41EAF9E2.9030108@gsinet.net> Reply-To: Magnus Damm , 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 On Sun, 16 Jan 2005 18:33:54 -0500, Tom Sandholm wrote: > I found the lomount program that is supposed to mount your qemu > virtual-disk-images; but it isn't working for me. > > I've installed debian "sarge" onto the virtual image, using ext3 > filesystems as default, with /dev/hda1 as the primary bootable linux > partition (root). > > When I execute the lomount program, here's what I get. > ============================================================ > nixsys:/qemu# ./lomount -t ext3 -diskimage debian02_sarge_hda.img /mnt > mount: wrong fs type, bad option, bad superblock on /dev/loop0, > or too many mounted file systems > nixsys:/qemu# > =========================================================== > > What am I doing wrong? I don't know about lomount, but are you sure your .img-file is a partition? Maybe the file represents a virtual disk with partition table and partitions? / magnus