PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > exporting files from guest to host in QEMU....
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

exporting files from guest to host in QEMU....

Réponse
 
LinkBack Outils de la discussion
Vieux 17/11/2007, 21h50   #1
Michael Fothergill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut exporting files from guest to host in QEMU....


Dear Debianists,

I have a few questions about QEMU. I posted a query a while back about loading cdrom image files into Windows 98 (guest) running under QEMU with Debian Etch r1 (AMD64) as the underlying OS.

I followed the ful recipes and I loaded some software on to Windows 98 and was happy with the result.

Thanks for the .

There is one thing that I am not so sure about however.

How are you supposed to export files out of the Windows 98 guest environment in to the Linux file tree?

If you were to copy the file to a “cdrom” in the guest environment would that end up producing an iso file in the Linux environment?

Or is there a simpler method to get files out of the guest environment to the host one?

There are ways to write files from the guest environment to the Linux disk but there is a warning about data corruption if you aren't careful.

I am looking for a relatively safe and simple way to get files created withsoftware in the guest environment into the host area.

Comments and suggestions welcome.

Regards

Michael Fothergill



__________________________________________________ _______________
Feel like a local wherever you go.
http://www.backofmyhand.com
  Réponse avec citation
Vieux 18/11/2007, 04h50   #2
Michael Pobega
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: exporting files from guest to host in QEMU....

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Nov 17, 2007 at 09:49:43PM +0000, Michael Fothergill wrote:
>
> Dear Debianists,
>
> I have a few questions about QEMU. I posted a query a while
> back about loading cdrom image files into Windows 98 (guest)
> running under QEMU with Debian Etch r1 (AMD64) as the underlying
> OS.
>
> I followed the ful recipes and I loaded some software on to
> Windows 98 and was happy with the result.
>
> Thanks for the .
>
> There is one thing that I am not so sure about however.
>
> How are you supposed to export files out of the Windows 98 guest
> environment in to the Linux file tree?
>
> If you were to copy the file to a “cdrom†in the guest environment
> would that end up producing an iso file in the Linux environment?
>
> Or is there a simpler method to get files out of the guest environment
> to the host one?
>
> There are ways to write files from the guest environment to the Linux
> disk but there is a warning about data corruption if you aren't
> careful.
>
> I am looking for a relatively safe and simple way to get files created
> with software in the guest environment into the host area.
>
> Comments and suggestions welcome.
>
> Regards
>
> Michael Fothergill
>


Well, I'm not sure if this would work, but can't you just loop mount the
image file as you would an ISO type file? Again, I'm not sure if it
works, but it's definitely worth a try.

- --
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHP8KAg6qL2BGnx4QRAmYuAJ9DfIWuzr+G1Qz6M8y8N+ ahISk7IQCghbfl
fRG0AOCPigoiHtOAuPflGqg=
=fOzF
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/11/2007, 05h50   #3
Scott Lair
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: exporting files from guest to host in QEMU....

Michael Fothergill wrote:
>
> Dear Debianists,
>
> I have a few questions about QEMU. I posted a query a while back about loading cdrom image files into Windows 98 (guest) running under QEMU with Debian Etch r1 (AMD64) as the underlying OS.
>
> I followed the ful recipes and I loaded some software on to Windows 98 and was happy with the result.
>
> Thanks for the .
>
> There is one thing that I am not so sure about however.
>
> How are you supposed to export files out of the Windows 98 guest environment in to the Linux file tree?
>
> If you were to copy the file to a “cdrom†in the guest environment would that end up producing an iso file in the Linux environment?
>
> Or is there a simpler method to get files out of the guest environment to the host one?
>
> There are ways to write files from the guest environment to the Linux disk but there is a warning about data corruption if you aren't careful.
>
> I am looking for a relatively safe and simple way to get files created with software in the guest environment into the host area.
>
> Comments and suggestions welcome.
>
> Regards
>
> Michael Fothergill
>
>
>
> __________________________________________________ _______________
> Feel like a local wherever you go.
> http://www.backofmyhand.com
>


Not sure exactly how QEMU works - haven't had time, but under a VMware - XP setup I just ran samba on debian,
shared a path and went over to windows to use the share under network neighborhood. Then you can copy files
back and forth very easily. I haven't had any trouble with this setup yet.

HTH,

Scott Lair


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/11/2007, 09h50   #4
Tobias Nissen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: exporting files from guest to host in QEMU....

Hi Michael!

Michael Pobega wrote:
[QEMU]
>> Or is there a simpler method to get files out of the guest
>> environment to the host one?

[...]
> Well, I'm not sure if this would work, but can't you just loop mount
> the image file as you would an ISO type file? Again, I'm not sure if
> it works, but it's definitely worth a try.


I'm using a raw disk image for my DOS-VM, which I can mount with these
mount-options:

/home/foo/dos.img /mnt/vm auto \
rw,loop=/dev/loop0,offset=32256,noauto,user 0 0

I'm not sure if the offset is needed. But when I had the same problem
a while ago, I stumpled across lomount[0], which seems to be a part of
Xen. All it did with my raw DOS-image, was mounting it with the above
options, so I assumed lomount redundant for my case. YMMV. Maybe for a
FAT32 filesystem the options are different.

If you mount an image this way, be aware that changes the guest makes
are not immediately available. I'm working around that by remounting the
image everytime I need a "new" file.

HTH!
Tobias

[0] http://fedoraproject.org/wiki/FedoraXenQuickstartFC5

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHQAo65jrP7hWxSO8RAkHJAJwIu7PP5qlW7t92Mityr4 nDXe/VdQCeJqUQ
9qO5zEkwwPNaeZSZEiJ2NyQ=
=1/Na
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h02.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11115 seconds with 12 queries