Difference between revisions of "Installing Arch Linux in VMware (systemd)"

From ArchWiki
Jump to: navigation, search
(All info merged.)
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Getting and installing Arch (English)]]
+
#REDIRECT [[Installing Arch Linux in VMware]]
[[Category:Virtualization]]
 
{{i18n|Installing Arch Linux in VMWare (systemd}}
 
 
 
This article describes how to get Archlinux running in a VMWare virtual machine when you're using ''systemd'' as SysV replacement.
 
 
 
== Prerequisites ==
 
Please install the ''open-vm-tools-modules'' from the ''Community'' repository.
 
 
 
== Drivers ==
 
Add the VMWare drivers to your ''mkinitcpio.conf'':
 
{{Hc|head=/etc/mkinitcpio.conf|output=
 
...
 
MODULES="vmxnet3 vmgfx vmw_ballon vmci"
 
...}}
 
 
 
Now you have to rebuild your kernel:
 
# 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:
 
{{Hc|head=/etc/tmpfiles.d/vmblock.conf|output=
 
# creates the directory which is used by the vmblock driver
 
d /tmp/VMwareDnD 1777 root root}}
 
 
 
{{Hc|head=/etc/systemd/system/proc-fs-vmblock-mountPoint.mount|output=
 
[Unit]
 
Description&#61Mount the vmblock device
 
ConditionPathExists=/tmp/VMwareDnD
 
After=vmblock.conf
 
Requires=vmblock.conf
 
 
 
[Mount]
 
What&#61none
 
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:
 
{{Hc|head=/etc/xdg/autostart/vmware-user.desktop|output=
 
[Desktop Entry]
 
Type=Application
 
Name=VMWare User Agent
 
Exec=/usr/bin/vmware-user-suid-wrapper
 
Icon=system-run
 
Comment=Enable Unity, DnD, etc.}}
 

Revision as of 05:23, 7 March 2013