From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqMEz-0003Tz-CG for qemu-devel@nongnu.org; Sun, 16 Jan 2005 21:03:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqMEj-0003LB-R6 for qemu-devel@nongnu.org; Sun, 16 Jan 2005 21:03:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqMEg-0003Fb-Et for qemu-devel@nongnu.org; Sun, 16 Jan 2005 21:03:18 -0500 Received: from [216.198.101.68] (helo=trueband.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1CqM2p-0004hF-JK for qemu-devel@nongnu.org; Sun, 16 Jan 2005 20:51:04 -0500 Message-ID: <41EB1A04.4060605@gsinet.net> Date: Sun, 16 Jan 2005 20:51:00 -0500 From: Tom Sandholm MIME-Version: 1.0 Subject: Re: [Qemu-devel] Mounting qemu virtual disk images from host linux os References: <41EAF9E2.9030108@gsinet.net> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020603070701060600090300" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Magnus Damm , qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------020603070701060600090300 Content-Type: multipart/alternative; boundary="------------020801060702030904000409" --------------020801060702030904000409 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Oh yes, it is multi-partitioned. Any suggestions on how I can select a specific partition? Thanks Tom Magnus Damm wrote: >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 > > >_______________________________________________ >Qemu-devel mailing list >Qemu-devel@nongnu.org >http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > --------------020801060702030904000409 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Oh yes, it is multi-partitioned.  Any suggestions on how I can select a specific partition?

Thanks
Tom


Magnus Damm wrote:
On Sun, 16 Jan 2005 18:33:54 -0500, Tom Sandholm <sandholm@gsinet.net> 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


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


  
--------------020801060702030904000409-- --------------020603070701060600090300 Content-Type: text/x-vcard; charset=utf-8; name="sandholm.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sandholm.vcf" begin:vcard fn:Tom Sandholm n:Sandholm;Tom email;internet:sandholm@gsinet.net version:2.1 end:vcard --------------020603070701060600090300--