View previous topic :: View next topic |
Author |
Message |
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 15, 2007 11:51 am Post subject: Accessing physical disk from Gentoo and WinXP under VMWare |
|
|
Hi.
I've installed VMWare Server on my Gentoo laptop and have successfully converted my old Windows partition into a guest VM. My whole disk (/dev/sda) is installed with Gentoo and I am using a logical volume to store my VMWare machines.
Now I want to share data between my guest Windows VM and Gentoo. I thought I just had to map my physical FAT32 partition (/dev/sda7) using VMWare and that's it.
In fact I think all I get is corruption on the FAT32 filesystem: when I add files to the FAT32 from Gentoo I don't see them from Windows in the VM. I deleted files from the FAT32 under Gentoo but I still can see and use them under the Windows VM.
Can anyone tell me what could be wrong? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Sun Apr 15, 2007 2:17 pm Post subject: |
|
|
Hello,
If I understand your post, you have the fat32 partition mounted simultaneously by the Windows guest and the Gentoo host. That will definitely not work! Each OS thinks it has exclusive access to the disk so data corruption happens when each writes to the disk and the other is unaware of the writes.
Assuming /dev/sda7 is a separate fat32 partition, you can use VMWare's host-only networking and modified Samba to share the volume, so it appears as a network drive within Windows. There are other, more complex approaches, but all of them involve sharing drives over the virtual network. You'll find the details in Chapter 7 of the VMWare Server Virtual Machine Guide. |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Apr 16, 2007 12:36 pm Post subject: |
|
|
Thanks for your lights. I should have reasonably suspected that. I'll investigate other directions. Too bad in fact; I was tired of rebooting back and forth to share my data but I see it was the only reason why it worked. I find it ironic .
Thanks a lot for the info. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
|