All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Sandholm <sandholm@gsinet.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mounting qemu virtual disk images from host linux os
Date: Mon, 17 Jan 2005 17:04:55 -0500	[thread overview]
Message-ID: <41EC3687.20805@gsinet.net> (raw)
In-Reply-To: <20050117142640.GC5486@jbrown.mylinuxbox.org>


[-- Attachment #1.1: Type: text/plain, Size: 2051 bytes --]

Output of "sfdisk -l  debian02_sarge_hda.img".

====================================================
:nixsys:/qemu# sfdisk -l debian02_sarge_hda.img
Disk debian02_sarge_hda.img: cannot get geometry

Disk debian02_sarge_hda.img: 0 cylinders, 0 heads, 0 sectors/track
Warning: The partition table looks like it was made
  for C/H/S=*/16/63 (instead of 0/0/0).
For this listing I'll assume that geometry.
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
debian02_sarge_hda.img1   *      0+   7903    7904-   3983584+  83  Linux
debian02_sarge_hda.img2       7904    8321     418     210672    f  W95 
Ext'd (LBA)
debian02_sarge_hda.img3          0       -       0          0    0  Empty
debian02_sarge_hda.img4          0       -       0          0    0  Empty
debian02_sarge_hda.img5       7904+   8321     418-    210640+  82  
Linux swap

>On Sun, Jan 16, 2005 at 06:33:54PM -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?
>>Thanks!
>>
>>Tom Sandholm
>>
>>    
>>
>
>What partition do you want to mount? Are you sure it is the very first parition?
>What is the output of "sdisk -l debian02_sarge_hda.img" ?
>
>  
>
>>_______________________________________________
>>Qemu-devel mailing list
>>Qemu-devel@nongnu.org
>>http://lists.nongnu.org/mailman/listinfo/qemu-devel
>>    
>>
>
>
>  
>

[-- Attachment #1.2: Type: text/html, Size: 3450 bytes --]

[-- Attachment #2: sandholm.vcf --]
[-- Type: text/x-vcard, Size: 101 bytes --]

begin:vcard
fn:Tom Sandholm
n:Sandholm;Tom
email;internet:sandholm@gsinet.net
version:2.1
end:vcard


  reply	other threads:[~2005-01-17 22:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-16 23:33 [Qemu-devel] Mounting qemu virtual disk images from host linux os Tom Sandholm
2005-01-17  0:42 ` Magnus Damm
2005-01-17  1:51   ` Tom Sandholm
2005-01-17  3:31     ` Mark Williamson
2005-01-17 15:26       ` Jim C. Brown
2005-01-17 21:59         ` Tom Sandholm
2005-01-17  4:01     ` Bartosz Fabianowski
2005-01-17 14:24       ` Jim C. Brown
2005-01-17 14:22   ` Jim C. Brown
2005-01-17 14:26 ` Jim C. Brown
2005-01-17 22:04   ` Tom Sandholm [this message]
2005-01-17 23:13     ` [Qemu-devel] " Heike C. Zimmerer
     [not found]     ` <87r7kjejij.fsf@tazzelwurm.hczim.de>
2005-01-17 23:50       ` Heike C. Zimmerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41EC3687.20805@gsinet.net \
    --to=sandholm@gsinet.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.