Boot arch linux in efi mode inside of vmware fusion - vmware

When I do ls /sys/firmware/efi there is no file or directory. Everything I looked up on booting in this mode does not help me with the vm. I looked at a link from the vmware website that said to go to vm > settings and enable efi instead of bios, but it is not there for me.

go to your vmware directory, on mine is ~/Documents/Virtual Machines.localized/{Machine Name}.vmwarevm. Edit the file {Machine Name}.vmx and add the line
firmware = "efi"

Related

VirtualBox Shared Folder Not Accessible Inside Guest

I have been following this guide: https://www.virtualbox.org/manual/ch04.html#sf_mount_auto
I am running ubuntu 16 with a Windows 2016 VM guest, the VM name is "WindowsServer2016". I need to create a shared folder that is in my home: /home/heatdeath/For_Virtual (is the name of the folder in Ubuntu that I want to share)
In virtualbox I have added the folder to the shared folder, and enabled auto-mount. Yet when I go into the Windows VM, and look under networks, there is no shared folder.
So instead of auto-mounting, I try manually by using
net use x: \\vboxsvr\For_Virtual
And I get the error:
System error 53 had occured
The network path was not found
I also tried vboxsrv.
Kinda at my wits end with this, done alot of research and nothing new turns up. Any help appreciated
Indeed difficult & frustrating to solve, if you don't know.
My Linux distro didn't include VBoxAdditions.iso
I finally found it at http://download.virtualbox.org/virtualbox/
under the version of virtualbox installed.
First, make sure that you belong to the vboxsf and vboxusers groups, and usb if you want to use usb access. (It might be a bit different on your distro)
Just download the iso to a convenient location
(I use the same folder for all the msw sources),
and select it via the cd/dvd option in virtualbox.
Then start the guest session, and in the menu at the bottom of the guest window, make sure that the iso is selected, and start it from the guest file manager.
When finished installing, select reboot.
After, all the defined shared folders appear automatically as virtual optical disks just after the virtual hard disk and the virtual optical installation disk.
BTW, I tried to get help on the virtualbox forum, just getting a rude response.
I finally found the answer with an internet search.

Shared folders with VirtualBox and ReactOS

I want to have shared folders between my computer on Arch Linux and a virtual machine with ReactOS, but I don't know where the folder appears in ReactOS.
Where does it appear?
Do it as you would do on Windows:
Install VirtualBox Guest Additions in your ReactOS VM
Define your shares in your virtual machine configuration (through VirtualBox interface)
Reboot your ReactOS VM
If you checked automount in the VirtualBox GUI, they'll be already available, mapped as a drive letter in the explorer. If you didn't, then either go to 'Network Places' to find them, or directly type the UNC path in the explorer address bar, or use the 'net use' command line tool

vmware-toolbox-cmd Command not found

I'm working with a Redhat VM that indicates VMware Tools OSPs is installed and running, since its VMware Tools status in vSphere is "Running (3rd-party/Independent)". I have also verified that the VMware Tools daemon, vmtoolsd, is running by running the following command ...
# pgrep -fl vmtoolsd
>> 6048 /usr/bin/vmtoolsd
However, whenever I try to run the vmware-toolbox-cmd command, it says command not found. What is this VM missing that it has VMware Tools OSPs installed but does not have the command for it?
There is no GUI interface called vmware-toolbox with vmware player 5 (and other newer products), as per Installing and Configuring VMware Tools:
The graphical user interface for VMware Tools, which is sometimes called the VMware Tools control panel and which is available from the notification area in the guest operating system, has been deprecated
You can however find settings for the toolbox, say "Update automatically", in the graphical user interface of the VMWare Player on the host (as in Player -> Manage -> Virtual Machine Settings -> Options -> VMware Tools).
As for vmware-toolbox-cmd doesn't do anything"? You bet it does, read the doc above.

mkdir: cannot create directory : Protocol error : Virtualbox Shared folder

I am trying to create folders and file in Virtualbox shared folder from Host to guest.
But i get this error mkdir: cannot create directory : Protocol error.
Below are steps i performed to share folder
1:My host OS is Ubuntu and my guest is Ubuntu.
2:I attached a share folder to virtualBox VM
Folder Path:/DR/vault/config
Folder:config selected automount and make permanent.
3:In Guest OS i installed virtualbox guest additions
4:I am trying to mount folder on /mount/config path
I added entry in guest's /etc/fstab as
/config /mount/config vboxsf rw,uid=1000,gid=1000 0 0
Path gets successfully mounted after Guest reboot also i can see the files created in /DR/vault/config(Guest) to /mount/config(Guest) but i cant create folder or file in /mount/config (Guest)
Please suggest if anything is missing or if there is any other way.
In my case, I had the drive full, clearing some space on the drive solved the issue.
I have found this is a problem with filename lengths on DOS hosts.
I have been using VirtualBox VMs as a form of containerised environment for deploying to a JBoss server, having experienced far too many problems with Windows environments for said technology.
I was using a shared-directory with my host machine as I was trying to keep the virtual machine lightweight (i.e. keeping IDEs in the host machine), then checking code into the shared directory for deployment with Maven. However, maven was giving some odd errors when the directory length grew to over 255 characters. Try looking at your file absolute path (type "pwd") and seeing if it's longer than 255.
I've resolved this problem with the following:
On the guest machine, add your user to vboxsf group: sudo adduser username vboxsf
Restart the host machine.
My host OS is Windows, my guest OS Ubuntu.
This might be an indication that the folder does not have the correct permissions on the Virtualbox host.
E.g. my headless Virtualbox server is running as "vbox" user, so I had to give that user write permissions on the host folder.
I had a similar issue, turns out that for me it was the number of folders or length of path name involved in mkdir.
typically I had :
mkdir -p /projects/bot/node_modules/webpack/node_modules/uglifyjs-webpack-plugin/node_modules/uglify-js/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/node_modules/kind-of/node_modules/is-buffer
Manually I could create up to the last part of the path but not the 'is-buffer' folder
I am working in vagrant and my projects folder is a shared VM folder, maybe/probably windows' max path length is the reason.

Is there a way (in Vmware) to open a Host-file with a Guest App from the Host computer?

I'm planning to install Visual Studio (for editing .aspx files) in a guest VM.
If I'm working in the Host computer, is there a way to open a file on that Host with a program in the Guest VM?
You could use the Shared folder feature for access to files on a host machine from Guest VM. To use this feature you should install the VMware tools on Guest VM. After setting up the Shared folder, you can access files on the host in a path like “\.host\Shared Folders\Test files”.
To send a command to open file on Guest OS from the host you could use vmrun utility, which helps you manage virtual machines from command line (for more detail see this official manual and examples in “Running Guest Applications”). On the other hand, you could just open a VM console and run script manually :)
In addition, I don't recommend to install Visual Studio on Guest VM. The Visual Studio will always execute faster on the host. Moreover, you will be more convenient to work with snapshots and few VMs. In this case, you could use remote debugging tools for debug and automatically deploy your application on Guest VM after build.