<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thirdwheel</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thirdwheel"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Thirdwheel"/>
	<updated>2026-05-02T09:37:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Hyper-V_guest_services&amp;diff=27905</id>
		<title>Hyper-V guest services</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Hyper-V_guest_services&amp;diff=27905"/>
		<updated>2024-11-26T04:59:07Z</updated>

		<summary type="html">&lt;p&gt;Thirdwheel: We don&amp;#039;t need to mention using Hyper-V in an article that already assumes you&amp;#039;re using Hyper-V&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to install Hyper-V guest services == &lt;br /&gt;
&lt;br /&gt;
Hyper-V tools is nicely packaged, so the install is simple, as follows:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add hvtools}}&lt;br /&gt;
&lt;br /&gt;
Then enable the services&lt;br /&gt;
{{Cmd|rc-service hv_fcopy_daemon start}}&lt;br /&gt;
{{Cmd|rc-service hv_kvp_daemon start}}&lt;br /&gt;
{{Cmd|rc-service hv_vss_daemon start}}&lt;br /&gt;
&lt;br /&gt;
Then to ensure these services start on boot&lt;br /&gt;
{{Cmd|rc-update add hv_fcopy_daemon}}&lt;br /&gt;
{{Cmd|rc-update add hv_kvp_daemon}}&lt;br /&gt;
{{Cmd|rc-update add hv_vss_daemon}}&lt;br /&gt;
&lt;br /&gt;
== Hyper-V Settings ==&lt;br /&gt;
* When creating the VHDX, use 1MB BlockSizeBytes (from the default 32MB) See [https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v#tuning-linux-file-systems-on-dynamic-vhdx-files| Microsoft&#039;s official docs on running Hyper-V with Linux Guest VMs] . this will reduce host filesystem usage by 75-90%&lt;br /&gt;
{{cmd|New-VHD -Path C:\MyVHDs\test.vhdx -SizeBytes 127GB -Dynamic -BlockSizeBytes 1MB}}&lt;br /&gt;
&lt;br /&gt;
* If [[Xorg]] refuses to start, blacklist the &amp;lt;code&amp;gt;hyperv_drm&amp;lt;/code&amp;gt; module by adding it to the &amp;lt;code&amp;gt;/etc/modprobe.d/blacklist.conf&amp;lt;/code&amp;gt; file.&lt;br /&gt;
[[category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Thirdwheel</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Include:Setup-desktop&amp;diff=27855</id>
		<title>Include:Setup-desktop</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Include:Setup-desktop&amp;diff=27855"/>
		<updated>2024-11-20T21:02:46Z</updated>

		<summary type="html">&lt;p&gt;Thirdwheel: Add note about an extra step required for getting a desktop in a Hyper-V guest&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|Before installing any desktop,&lt;br /&gt;
* Create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons, if you skipped this step during [[Installation]]. &lt;br /&gt;
* [[Repositories#Managing_repositories|Enable]] community repository. [[Setup-desktop#Installation_using_setup-desktop|Setup-desktop]] script automatically does this for you. &lt;br /&gt;
* Install [[graphics driver]] for your video hardware.&lt;br /&gt;
&lt;br /&gt;
If you are using Hyper-V and Xorg refuses to start, blacklist the &amp;lt;code&amp;gt;hyperv_drm&amp;lt;/code&amp;gt; module by adding it to the &amp;lt;code&amp;gt;/etc/modprobe.d/blacklist.conf&amp;lt;/code&amp;gt; file.}}&lt;br /&gt;
&lt;br /&gt;
== Installation using setup-desktop ==&lt;br /&gt;
&lt;br /&gt;
The Alpine Linux script for setting up a desktop quickly is [[Alpine_setup_scripts#setup-desktop|setup-desktop]]. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|# setup-desktop}}&lt;br /&gt;
&lt;br /&gt;
On running the above command, you will be prompted to select a desktop environment.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|Which desktop environment? (&#039;gnome&#039;, &#039;plasma&#039;, &#039;xfce&#039;, &#039;mate&#039;, &#039;sway&#039; or &#039;none&#039;) [none]}}&lt;br /&gt;
&lt;br /&gt;
Once you have chosen a desktop environment, this script installs the chosen desktop along with all the necessary packages, {{pkg|firefox|repo=community}} browser and adds the necessary services to run on startup. You can reboot when complete and the system will boot into a graphical login screen with the desktop environment. Depending on the desktop chosen, the script also activates the necessary services like dbus, elogind, login manager etc..  &lt;br /&gt;
&lt;br /&gt;
To view all the packages that are installed by the script for the chosen desktop you can issue the below command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# cat /sbin/setup-desktop}}&lt;/div&gt;</summary>
		<author><name>Thirdwheel</name></author>
	</entry>
</feed>