[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Mounting a disk image under Linux
From: |
Gianni Tedesco |
Subject: |
Re: [Qemu-devel] Mounting a disk image under Linux |
Date: |
Sat, 19 Jun 2004 17:40:08 +0100 |
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
signature.asc
Description: This is a digitally signed message part
- [Qemu-devel] Useful Q&A, (continued)
- [Qemu-devel] Useful Q&A, Benjamin Brown, 2004/06/16
- Re: [Qemu-devel] Useful Q&A, Bartosz Fabianowski, 2004/06/16
- Re: [Qemu-devel] Useful Q&A, Fabrice Bellard, 2004/06/16
- [Qemu-devel] Mounting a disk image under Linux, Benjamin Brown, 2004/06/19
- Re: [Qemu-devel] Mounting a disk image under Linux, Grzegorz Kulewski, 2004/06/19
- Re: [Qemu-devel] Mounting a disk image under Linux,
Gianni Tedesco <=
- Re: [Qemu-devel] Mounting a disk image under Linux, Benjamin Brown, 2004/06/19
- Re: [Qemu-devel] Mounting a disk image under Linux, Jim C. Brown, 2004/06/19
- Re: [Qemu-devel] Mounting a disk image under Linux, Gianni Tedesco, 2004/06/19
- Re: [Qemu-devel] Mounting a disk image under Linux, Jim C. Brown, 2004/06/20
- Re: Re: [Qemu-devel] Mounting a disk image under Linux, Mulyadi Santosa, 2004/06/20