From: Gianni Tedesco <gianni@scaramanga.co.uk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mounting a disk image under Linux
Date: Sat, 19 Jun 2004 17:40:08 +0100 [thread overview]
Message-ID: <1087663208.3375.239.camel@sherbert> (raw)
In-Reply-To: <40D46B1B.9070704@silentsoftware.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
On Sat, 2004-06-19 at 17:34 +0100, Benjamin Brown wrote:
> I created a disk image under (host) Linux using dd and fdisked and
> formatted using a (guest)Windows 98 boot disk under QEMU.
> I then tried to mount this under linux to add files to it using:
>
> mount -o loop /opt/qemu/tempImage /mnt/tempImage
>
> This failed and asked me for the filesystem type so I specified:
>
> mount -o loop -t vfat /opt/qemu/tempImage /mnt/tempImage
>
> This also failed with the error:
>
> mount: wrong fs type, bad option, bad superblock on /dev/loop1,
> or too many mounted file systems
> (could this be the IDE device where you in fact use
> ide-scsi so that sr0 or sda or so is needed?)
>
> Any ideas why this happens - this should just a straight fat formatted
> disk image?
*bzzzt* it's partitioned ;)
You need to do losetup manually and specify an offset (`expr 512 \* 63`
usually).
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-19 16:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 14:42 [Qemu-devel] some help Ludovic Gele
2004-06-16 19:13 ` [Qemu-devel] Can't see network under qemu 0.5.5 Leonard T. Erwine
2004-06-17 8:22 ` Ludovic Gele
2004-06-17 15:39 ` Marc Vertes
2004-06-18 20:58 ` Leonard T. Erwine
2004-06-18 20:34 ` Leonard T. Erwine
2004-06-16 20:26 ` [Qemu-devel] Useful Q&A Benjamin Brown
2004-06-16 20:35 ` Bartosz Fabianowski
2004-06-17 10:42 ` Antony T Curtis
2004-06-16 21:02 ` Fabrice Bellard
2004-06-16 21:16 ` malc
2004-06-16 21:41 ` Benjamin Brown
2004-06-17 8:25 ` Johannes Schindelin
2004-06-19 17:35 ` Benjamin Brown
2004-06-19 16:34 ` [Qemu-devel] Mounting a disk image under Linux Benjamin Brown
2004-06-19 16:39 ` Grzegorz Kulewski
2004-06-19 16:40 ` Gianni Tedesco [this message]
2004-06-19 17:16 ` Benjamin Brown
2004-06-19 17:31 ` Jim C. Brown
2004-06-19 20:00 ` Gianni Tedesco
2004-06-19 23:48 ` Jim C. Brown
2004-06-20 8:20 ` Mulyadi Santosa
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=1087663208.3375.239.camel@sherbert \
--to=gianni@scaramanga.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).