VirtualBox: Share a folder between Mac Host and Windows8 Guest - macos

I have a Mac with Virtual Box, on which I'm running Windows 8.
I have set up a Shared Folder in the Virtual Box settings. When I boot up Windows8 through Virtual Box, I can see the Mac as one of the options - screenshot: http://i.imgur.com/mzMbDh3.png (WINDOWSMAC is the name of the VM. MACINTOSH I'm guessing would then be the host).
I am thinking I need to access MACINTOSH to get to the shared folder. The problem is - when I click on MACINTOSH I am presented with a popup to enter my username and password: http://i.imgur.com/u3HwLYm.png
Is this a username password to my Mac Host or to the Windows Guest? It seems neither will work.
Am I missing some step in creating/accessing the shared folder? Any help will be greatly appreciated

You have to install the VM guest additions. Mount your guest and click the menu item Devices > Insert Guest Additions CD image. Now you can install it on your guest. Possibly you have to reboot your guest.
Afterwards your shared folder should live under \\vboxsrv.

you share files or folder between host and guest system in a simple way:from the devices menu, chose drag and droop ,the default selection is disabled, other option available are either drag and drop in on direction host-> guest or vice versa or in both direction

Related

I cannot click capture button to capture virtual machine image

I cannot click Capture (2nd last button "캡처" in Korean) button in Azure portal.
All other virtual machines are same to this situation.
Yesterday, I captured image by clicking that button, but today I cannot click it.
Could you let me know why this happens and how I can solve this problem???
One more question!
this is error log
Provisioning failed. OS Provisioning for VM 'master0' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image:
* Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/
* Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/. OSProvisioningTimedOut
I use a Linux machine
1.You need stop your VM firstly. Stop the VM by usgin Azure Portal.
2.Create your VM image on Azure Portal.
3.Create new VMs by using the image.
Also, you could use PowerShell to capture image, more information please refer to this link.

genymotion virtual device missing IP

everytime i try to start my virtual device in Genymotion, i get the error that there is no IP for the device i'm trying to start. I opened the Oracle VMBox, set an IP but it still gives me the same error.
I'm using windows 10, the Genymotion version is 2.6.0, and the device i'm trying to start is Nexus 5 5.1.0 android, and my Oracle VMBox version is Version 5.0.20 r106931.
Open Oracle VM VirtualBox:
Click Settings >> System
Now set Base memory to 1024MB from motherboard tab. Click OK.
To solve IP address conflict,
Goto File >> Preferences >> Network
select Host-only Networks tab.
If you don’t have any adapter defined, Genymotion will create it when you try to start the virtual machine.
If you have an adapter,
Click on Edit icon then a new window will be open. In the Adapter tab, set:
IPv4 Address: 192.168.56.1 and
IPv4 Network Mask: 255.255.255.0
Now select DHCP server. Ensure “ Enable Server ” is checked. Set the following configuration:
Server Address : 192.168.56.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.56.101
Upper Address Bound : 192.168.56.254
Click OK.
Now start your Virtual Device.
http://androidcodex.net/unable-to-start-the-virtual-device-genymotion/
CHECK
Ensure that just one virtual adapter is enabled in Network Connections :
Control Panel > Network and Internet > Network Connections
Right click mouse > properties or double click on your enabled VirtualBox Host-Only Network adapter in Network Connections
Enable the Checkbox for VirtualBox Bridged Networking Driver
Click Internet Protocol Version 4 (TCP/IPV4) then click properties button
Tick Use the following IP address
IP address: 192.168.56.1
Subnet Mask: 255.255.255.0
Leave other fields blank
Click OK and start genymotion as administrator
If problem persists try close genymotion, Android studio and
Force kill adb.exe with task manager and any VirtualBox processes.
Start Genymotion as admin
If still fails, Go to your virtualbox settings, under the general tab on the top left , set Type to Microsoft Windows and set Version to windows 10
Start Genymotion again as administrator
Finally if still missing IP,
You may need to change IPV4 address in File > preferences > Network from 192.168.56.1 to 192.168.1.201 or run genymotion in compatibility mode (Windows 8)
Right click genymotion >properties > Compatibility >Tick Run this program in Compatibility mode for > Select Windows 8 in dropdown
PROBLEM WITH VIRTUAL NETWORK ADAPTER
It could be that OracleVirtualBox did not install driver correctly as I experienced too.
Solution:
Delete all previous virtual box adapters
Go to device manager and click "Action" > "Add legacy hardware"
Install the oracle virtual box adapters manually (my path was C:\Program Files\Oracle\VirtualBox\drivers\network\netadp\VBoxNetAdp.inf
After manually installing the driver
Configure VirtualBox Network Settings
Start Oracle VM VirtualBox and go to "File" > "Preferences" > "Network" > "Host-only Network" and configure as above
Click OK and start Genymotion
I'm sorry to bother you 4Jean.
Installing Windows 10 Fall Update fixed it for me, thanks for trying to help.

Unable to Launch Xamarin Android Player

I am getting the following error when I try to launch Xamarin Android Player.
I have tried reducing the allocated memory in Virtual Box, as suggested in some other forums but no results.
I am using Virtual Box V5.0.4.
Kindly guide on resolving the issue.
The Android is working in Virtual Box when I change
Settings>Network>Adapter1>Attached to
to NAT by going into the in virtual box but as I launch the Xamarin Android Player or GenyMotion. it resets it to Host-Only Adapter and the emulator stops working.
Check if you have Virtualization Enabled in your BIOS settings.
Another workaround:
Uninstall previous versions of XAP.
Open up VirtualBox and remove all of the XAP devices, choose to delete files.
Open the VirtualBox Virtual Media Manager and ensure there are no data.vdi, system.vdi or sdcard.vdi files remaining. If there are,
release and remove them.
Delete C:\ProgramData\AndroidPlayer
Source: https://bugzilla.xamarin.com/show_bug.cgi?id=24817
I would update virtual box to 5.0.20 from here try it again.
If that doesn't work then try reinstalling Xamarin Android Player.
If that doesn't work then I would recommend trying GenyMotion
Check this forum post too
They say this:
I solved this issue by reducing the RAM Value in Virtual Box.
Go to Virtual Box
Select Your Device
Go to settings -> System -> Motherboard.
Reduce Base Memory.
Or this might help:
Try starting the emulator in VirtualBox. It will give you a specific error, which you can then google for more info.
In my case, the issue was VERR_INTNET_FLT_IF_NOT_FOUND, and the solution was here
solution https://www.virtualbox.org/ticket/14604#comment:1

Child handles of vbox Windows using Delphi

I want to get all of children handle of Windows that its run in Virtual Box .
I want send a key from Host Windows(Main Windows) to notepad of Guest Windows.
I know that we can find child window by using EnumChildWindows in delphi but Virtual Box only retrieve QWidget class name.
can anyone help me access to all of handle of Guest Windows(its run in Virtual Box) from main windows using delphi ?
thank you.
I want to get all of children handle of Windows that its run in Virtual Box .
Sorry, but you cannot do that. Like AlexK said in comments, windows running within the guest OS simply do not exist within the host OS, so they cannot be accessed or enumerated by apps running in the host OS. The VM is running a completely separate guest OS and is simply rendering the display output of that OS on its own window running on the host OS.
I want send a key from Host Windows(Main Windows) to notepad of Guest Windows.
There is no way to do that directly.
When a user types a key on the physical keyboard or an on-screen keyboard within the host OS, the key is put into the input queue of the host OS and gets routed to the current focused window within the host OS. If that window happens to be the VM, then the VM places the key in the input queue of the guest OS and it gets routed to the current focused window within the guest OS.
An app running on the host OS can use SendInput() to simulate keyboard input in the host OS, and let it get routed accordingly.
If you need more control, you will have to run a separate app within the guest OS that is connected to your main app running on the host OS. The host app can then communicate with the guest app, and the guest app can act on guest windows as needed.
For example, the host app could ask the guest app to enumerate the guest windows and send that list back to the host app. The host app could detect the presence of Notepad and send the desired key(s) to the guest app, which could then send the key(s) to the Notepad window.
I know that we can find child window by using EnumChildWindows in delphi
Only for windows that are running in the same OS that the enumerating app is running in.
but Virtual Box only retrieve QWidget class name.
Because that is the window that is running within the host OS.

Cloudera VM Windows mouse only partially works

I am getting started with Cloudera Hadoop and downloaded the VMWare image from here. While the image itself works fine, my mouse does not.
I am running on a new MacBookAir, using VMWare for the Mac. I created the image using the uncompressed image file, but was unsure which OS to select in VMWare. I tried both Mac OS (which didn't even boot in the VM) and then Windows OS (which did boot).
The mouse behaves as follows in the VM. Right click works fine, i.e. context-menu appears. Left click does nothing. I have tried to use the 'mouse' system setting to fix this, but that doesn't change anything.
Suggestions?
I got it working - a couple of things. First I needed to re-create the VM using the correct OS (it is Linux - CentOS 5.8, and in my case 64-bit).
Next I needed to mount a CD drive (had to force shutdown and then re-start) via the Settings. After that I had to install the VMWare Tools via the newly mounted CD (from the original source media).
After that I had to do a cold restart one more time, then voila - mouse is working ok.

Resources