Installing Arch Linux in VMware (systemd)

From ArchWiki
Revision as of 19:08, 28 January 2012 by BertiBoeller (Talk | contribs) (VMWare user suid wrapper)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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:

/etc/mkinitcpio.conf
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.

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:

/etc/tmpfiles.d/vmblock.conf
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.
/etc/systemd/system/proc-fs-vmblock-mountPoint.mount
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.

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
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.