qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Mounting qemu virtual disk images from host linux os


From: Tom Sandholm
Subject: Re: [Qemu-devel] Mounting qemu virtual disk images from host linux os
Date: Mon, 17 Jan 2005 17:04:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2

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
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel
    


  

Attachment: sandholm.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]