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

From ArchWiki
Jump to: navigation, search
(Prerequisites: Merged to Installing_Arch_Linux_in_VMware.)
(Enable shared folders: Merged to main page.)
Line 3: Line 3:
 
{{Merge|Installing Arch Linux in VMware|Only Systemd scripts part is systemd centric.}}
 
{{Merge|Installing Arch Linux in VMware|Only Systemd scripts part is systemd centric.}}
 
This article describes how to get Archlinux running in a VMWare virtual machine when you're using ''systemd'' as SysV replacement.
 
This article describes how to get Archlinux running in a VMWare virtual machine when you're using ''systemd'' as SysV replacement.
 
== Enable shared folders ==
 
For shared folders to be working you need to have loaded the ''vmhgfs'' driver.
 
Simply create the following systemd files:
 
{{Hc|head=/etc/systemd/system/mnt-hgfs.mount|output=
 
[Unit]
 
Description=Load VMware shared folders
 
ConditionPathExists=.host:/
 
 
[Mount]
 
What=.host:/
 
Where=/mnt/hgfs
 
Type=vmhgfs
 
Options=defaults,noatime
 
 
[Install]
 
WantedBy=multi-user.target
 
}}
 
 
{{Hc|head=/etc/systemd/system/mnt-hgfs.automount|output=
 
[Unit]
 
Description=Load VMware shared folders
 
ConditionPathExists=.host:/
 
 
[Automount]
 
Where=/mnt/hgfs
 
 
[Install]
 
WantedBy=multi-user.target
 
}}
 
 
Make sure that the folder ''/mnt/hgfs'' exists:
 
  # mkdir -p /mnt/hgfs
 
Enable the mount target with:
 
  # systemctl enable mnt-hgfs.automount
 
  
 
== Enable 3d accleration ==
 
== Enable 3d accleration ==

Revision as of 05:20, 7 March 2013

Merge-arrows-2.pngThis article or section is a candidate for merging with Installing Arch Linux in VMware.Merge-arrows-2.png

Notes: Only Systemd scripts part is systemd centric. (Discuss in Talk: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.

Enable 3d accleration

To enable 3d acceleration go to Edit virtual machine settings -> Hardware -> Display and enable the checkbox for Accelerate 3D graphics

Fix for problems

Mouse not working as expected

If you have the problem that mouse clicks are not registered in some programs you can try the following: edit /etc/X11/xorg.conf.d/10-evdev.conf and comment out the section with the identifier evdev pointer catchall [xf86-input-vmmouse does not work expected]

Network connection not working

Add the following line to your .vmx file:

 ethernet0.virtualDev = "vmxnet3"

More informations about the network adpater types can be found on the following page: Choosing a network adapter for your virtual machine