Difference between revisions of "Installing Arch Linux in VMware (systemd)"
BertiBoeller (talk | contribs) m (→Systemd scripts) |
BertiBoeller (talk | contribs) |
||
Line 39: | Line 39: | ||
Type=vmblock}} | Type=vmblock}} | ||
− | == | + | == VMware user suid wrapper == |
The following script is responsible that you can resize the window of your virtual machine: | The following script is responsible that you can resize the window of your virtual machine: | ||
{{Hc|head=/etc/xdg/autostart/vmware-user.desktop|output= | {{Hc|head=/etc/xdg/autostart/vmware-user.desktop|output= | ||
Line 48: | Line 48: | ||
Icon=system-run | Icon=system-run | ||
Comment=Enable Unity, DnD, etc.}} | Comment=Enable Unity, DnD, etc.}} | ||
+ | |||
+ | == Not working == | ||
+ | The following things are currently not working. If you know what's wrong please fix the instructions above. | ||
+ | |||
+ | === Loading of vmw_balloon driver === | ||
+ | The ''vmw_balloon'' driver doesn't get loaded with the method mentioned above. | ||
+ | |||
+ | === Drag and drop of files === | ||
+ | The ''vmblock'' driver gets loaded but the directory doesn't get mounted. If you mount the directory manually copying files to the virtual machine will work: | ||
+ | # mount -t vmblock none /proc/fs/vmblock/mountPoint |
Revision as of 15:17, 2 February 2012
This article describes how to get Archlinux running in a VMWare virtual machine when you're using systemd as SysV replacement.
Contents
Prerequisites
Please install the open-vm-tools-modules from the Community repository.
Drivers
Add the VMWare drivers to your mkinitcpio.conf:
/etc/mkinitcpio.conf
... MODULES="vmsync vmblock vmxnet3 vmwgfx vmw_ballon vmci" ...
Now you have to rebuild your kernel:
# depmod # mkinitcpio -p linux
Systemd scripts
In the following steps you have to create some systemd scripts so that the vmblock driver can be used successfully.
Create the following files:
/etc/tmpfiles.d/vmblock.conf
# creates the directory which is used by the vmblock driver d /tmp/VMwareDnD 1777 root root
/etc/systemd/system/proc-fs-vmblock-mountPoint.mount
[Unit] Description=Mount the vmblock device ConditionPathExists=/proc/fs/vmblock/ After=vmblock.conf Requires=vmblock.conf [Mount] What=none Where=/proc/fs/vmblock/mountPoint/ Type=vmblock
VMware user suid wrapper
The following script is responsible that you can resize the window of your virtual machine:
/etc/xdg/autostart/vmware-user.desktop
[Desktop Entry] Type=Application Name=VMWare User Agent Exec=/usr/bin/vmware-user-suid-wrapper Icon=system-run Comment=Enable Unity, DnD, etc.
Not working
The following things are currently not working. If you know what's wrong please fix the instructions above.
Loading of vmw_balloon driver
The vmw_balloon driver doesn't get loaded with the method mentioned above.
Drag and drop of files
The vmblock driver gets loaded but the directory doesn't get mounted. If you mount the directory manually copying files to the virtual machine will work:
# mount -t vmblock none /proc/fs/vmblock/mountPoint