<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Virtualization Archives - Rhein-Ruhr-Informatik</title>
	<atom:link href="https://rhein-ruhr-informatik.de/en/category/articles/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>https://rhein-ruhr-informatik.de/en/category/articles/virtualization/</link>
	<description></description>
	<lastbuilddate>Tue, 12 Aug 2025 10:40:46 +0000</lastbuilddate>
	<language>en-US</language>
	<sy:updateperiod>
	hourly	</sy:updateperiod>
	<sy:updatefrequency>
	1	</sy:updatefrequency>
	

<image>
	<url>https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/cropped-favicon-32x32.png</url>
	<title>Virtualization Archives - Rhein-Ruhr-Informatik</title>
	<link>https://rhein-ruhr-informatik.de/en/category/articles/virtualization/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Windows in einem Docker-Container? Ja, wirklich!</title>
		<link>https://rhein-ruhr-informatik.de/en/2025/07/31/windows-in-einem-docker-container/</link>
		
		<dc:creator><![CDATA[Rhein-Ruhr-Informatik]]></dc:creator>
		<pubdate>Thu, 31 Jul 2025 12:28:33 +0000</pubdate>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid ispermalink="false">https://rhein-ruhr-informatik.de/?p=833</guid>

					<description><![CDATA[<p>If you live in a Linux or macOS household, you’ll eventually run into that age-old problem: Suddenly, you need an application that only runs on Windows. Maybe it’s some obscure BIOS tool that technically launches via Wine but doesn’t produce usable results. For tech-savvy folks, the first instinct is<a class="moretag" href="https://rhein-ruhr-informatik.de/en/2025/07/31/windows-in-einem-docker-container/"> Read more&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/07/31/windows-in-einem-docker-container/">Windows in einem Docker-Container? Ja, wirklich!</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you live in a Linux or macOS household, you’ll eventually run into that age-old problem: Suddenly, you need an application that only runs on Windows. Maybe it’s some obscure BIOS tool that technically launches via Wine but doesn’t produce usable results. For tech-savvy folks, the first instinct is usually: "I’ll just set up a VM." Sure, that works—but it’s not exactly straightforward.</p>



<p>First, you need a hypervisor, then a compatible ISO file, followed by VM configuration, partitioning, Windows installation, driver setup, and so on. In short: It’s doable, but not exactly pleasant.</p>



<p>But what if I told you that you could launch a full Windows installation inside a Docker container—with shared storage, RDP access, and optional VLAN support? Sounds crazy? It kind of is. But it works.</p>



<p><strong>The Idea Behind the Project</strong></p>



<p>A developer named Kroese published a GitHub project that makes this possible. A Docker container that automatically sets up a fresh Windows installation—no manual setup required. Just start the container, wait a few minutes, and you get a fully functional Windows environment. Access it via your browser or RDP.</p>



<p>And the best part? You don’t even have to install Windows yourself. The container handles the entire process—from fetching the image to finalizing the setup.</p>



<p><strong>How Does It Work Technically?</strong></p>



<p>If you look closely at the Docker command, you’ll notice the flag passing through /dev/kvm—Linux’s kernel-based virtualization mechanism. In short: This isn’t a "true" Windows container but rather a Linux container running a KVM-based VM. So, no magic here—just clever automation built on proven technology.</p>



<p>The catch? Hardware virtualization must be available and enabled—otherwise, nothing will work.</p>



<p><strong>The Biggest Advantage: Convenience</strong></p>



<p>What makes this special isn’t technical innovation but the massive gain in convenience. The most tedious aspects of a Windows installation—partitioning, initial setup, language, and keyboard selection—are completely automated.</p>



<p>Yet, you still get all the benefits of a "normal" KVM-based VM: USB and SATA passthrough, adjustable CPU cores and RAM allocation, and even optional PCIe passthrough (though that’s probably better suited for dedicated VMs).</p>



<p><strong>Everyday Use: RDP Instead of VNC</strong></p>



<p>The container’s web interface uses VNC, which is fine for quick access—but it’s slow and doesn’t support audio. RDP is the better option here. The container forwards the RDP port by default, allowing easy remote access from macOS, Linux, or even another Windows machine.</p>



<p>With shared folders, you can also mount directories from the host system, making file transfers between Windows and Linux seamless. The default container allocates 2 CPU cores, 4 GB of RAM, and 64 GB of storage—all adjustable via environment variables.</p>



<p><strong>Multiple Windows Versions? No Problem!</strong></p>



<p>The container supports not just Windows 11 but older versions too—from XP to Server 2022. You can even use stripped-down variants like Tiny11 or Tiny10—or supply your own ISO. In one test, five Windows versions ran simultaneously: XP, Vista, 7, 10, and 11—all on an Intel N100 system drawing just 18W.</p>



<p>(Windows 8.1 refused to cooperate—but who misses it anyway?)</p>



<p><strong>What About Licensing?</strong></p>



<p>The Windows images come either directly from Microsoft (for newer versions) or from open sources like Bob Pony. Fresh installations are unactivated but run without restrictions for 30 days. For longer use, you’ll need a valid license key. According to the developer, the project itself contains no proprietary code and relies entirely on open-source components.</p>



<p><strong>Verdict: Simple, Practical, Brilliant</strong></p>



<p>Whether you need to quickly test Windows software, tinker with legacy systems, or run specialized tools like BIOS editors—this Docker project offers a sleek, hassle-free solution without major compromises. Of course, it’s no replacement for a high-performance VM with a dedicated GPU, but that’s not the goal.</p>



<p>What remains is an impressive example of what’s possible today with a bit of creativity and open standards—no installation headaches required.</p>



<p><strong>And who knows? Maybe Windows XP will save your day yet again.</strong></p><p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/07/31/windows-in-einem-docker-container/">Windows in einem Docker-Container? Ja, wirklich!</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</title>
		<link>https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/</link>
		
		<dc:creator><![CDATA[Rhein-Ruhr-Informatik]]></dc:creator>
		<pubdate>Mon, 07 Apr 2025 08:14:01 +0000</pubdate>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid ispermalink="false">https://rhein-ruhr-informatik.de/?p=498</guid>

					<description><![CDATA[<p>Prior to commencing the expansion process, it is imperative to comprehend that extending a virtual disk within the Hyper-V environment entails augmenting its allocated capacity. This action does not inherently result in the automatic population of the supplementary space with data. To effectively utilize the additional storage, it is necessary to manually extend the virtual machine's partitions and file systems, thereby enabling them to occupy the newly allocated space.<a class="moretag" href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/"> Read more&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/">Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="910" height="910" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40.png" alt="" class="wp-image-501" style="width:185px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40.png 910w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-300x300.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-150x150.png 150w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-768x768.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-12x12.png 12w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-50x50.png 50w" sizes="(max-width: 910px) 100vw, 910px" /></figure></div>


<h2 class="wp-block-heading"><strong>Overview</strong></h2>



<p>Prior to commencing the expansion process, it is imperative to comprehend that extending a virtual disk within the Hyper-V environment entails augmenting its allocated capacity. This action does not inherently result in the automatic population of the supplementary space with data. To effectively utilize the additional storage, it is necessary to manually extend the virtual machine's partitions and file systems, thereby enabling them to occupy the newly allocated space.</p>



<p>Before we dive into the steps, let's clarify why we might want to expand a Hyper-V VM's hard disk. This action is typically necessary when the virtual machine's existing storage capacity is insufficient to accommodate growing data or applications.</p>



<h2 class="wp-block-heading"><br><strong>Access Hyper-V Manager</strong></h2>



<p><strong>Windows 10/11:</strong> Search for "Hyper-V Manager" in the Start menu and open it.</p>



<p>First we need to shutdown the server:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="634" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-1024x634.png" alt="" class="wp-image-602" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-1024x634.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-300x186.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-768x475.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65.png 1087w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>On the virtual computer we click on the settings to configure the disk:</p>



<p>Under the Hardware menu we select the storage and on the right hand side we click on the Edit button to be able to continue this the next steps.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="936" height="882" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66.png" alt="" class="wp-image-604" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66.png 936w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-300x283.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-768x724.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-13x12.png 13w" sizes="(max-width: 936px) 100vw, 936px" /></figure>



<p><br>On the left hand side screen we select the Action, select Expand and then Continue:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="974" height="738" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67.png" alt="" class="wp-image-605" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67.png 974w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-300x227.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-768x582.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-16x12.png 16w" sizes="auto, (max-width: 974px) 100vw, 974px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="885" height="674" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68.png" alt="" class="wp-image-606" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68.png 885w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-300x228.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-768x585.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-16x12.png 16w" sizes="auto, (max-width: 885px) 100vw, 885px" /></figure>



<p><br>As we see in the picture below under the Configure Data in the right-hand side there are 50GB. Here we can increase the size of the storage.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="774" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-1024x774.png" alt="" class="wp-image-607" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-1024x774.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-300x227.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-768x581.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-16x12.png 16w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>It is increased to 60GB as shown in the picture below:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="780" height="309" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70.png" alt="" class="wp-image-608" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70.png 780w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-300x119.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-768x304.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-18x7.png 18w" sizes="auto, (max-width: 780px) 100vw, 780px" /></figure>



<p><br>After clickin OK, we have this picture in which we click again OK.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="976" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-1024x976.png" alt="" class="wp-image-609" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-1024x976.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-300x286.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-768x732.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-13x12.png 13w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>I have started the virtual machine:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="347" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-1024x347.png" alt="" class="wp-image-610" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-1024x347.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-300x102.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-768x260.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>After this steps in Hyper-V Manager, we start the virtual machine and going to extend LVM.</p>



<p>Via Putty tool we have to access our virtual machine:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="702" height="692" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73.png" alt="" class="wp-image-611" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73.png 702w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-300x296.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-12x12.png 12w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-50x50.png 50w" sizes="auto, (max-width: 702px) 100vw, 702px" /></figure>



<p><br>Start by checking your root filesystem free space with df -hT. Our root disc is 62%. Now we gonna follow the steps to allocate 10 more GB to increase the percentage of our filesystem.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="431" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-1024x431.png" alt="" class="wp-image-612" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-1024x431.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-300x126.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-768x323.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-18x8.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74.png 1094w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>We enter the following commands <strong><code>parted -l</code></strong> adm type <strong><code>Fix</code></strong> to display the list of disks and partitions:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="651" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-1024x651.png" alt="" class="wp-image-613" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-1024x651.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-300x191.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-768x488.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>In the picture below we see that there is an error named: <strong><code>GPT PMBR size mismatch</code></strong>First we can fix it by typing the command correctin the error.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="423" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-1024x423.png" alt="" class="wp-image-614" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-1024x423.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-300x124.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-768x318.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now everything sims to be fine.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="409" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-1024x409.png" alt="" class="wp-image-615" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-1024x409.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-300x120.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-768x307.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now we can continue to extend our logical volume on /dev/sda3 filesystem as shown below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="424" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-1024x424.png" alt="" class="wp-image-616" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-1024x424.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-300x124.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-768x318.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78.png 1085w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>First we use the command fdisk /dev/sda and continue with the other command showing below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="634" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-1024x634.png" alt="" class="wp-image-617" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-1024x634.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-300x186.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-768x475.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79.png 1092w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now it is required to reboot the system</p>



<p>To check for existing free space on your Volume Group (where it is left by the installer default settings), run the command <strong><code>vgdisplay</code> </strong>and<strong> <code>lvdisplay</code> </strong>check for free space.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="876" height="619" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80.png" alt="" class="wp-image-618" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80.png 876w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-300x212.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-768x543.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-18x12.png 18w" sizes="auto, (max-width: 876px) 100vw, 876px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="927" height="513" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81.png" alt="" class="wp-image-619" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81.png 927w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-300x166.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-768x425.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-18x10.png 18w" sizes="auto, (max-width: 927px) 100vw, 927px" /></figure>



<p><br>After the computer has been restarted, we can use the command<br><strong><code>lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv</code></strong><br>to extend the partition.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="121" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-1024x121.png" alt="" class="wp-image-620" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-1024x121.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-300x35.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-768x91.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>At this point you have increased the size of the block volume where your root filesystem resides, but you still need to extend the filesystem on top of it. First, run <strong><code>lsblk</code></strong> aus:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="487" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-1024x487.png" alt="" class="wp-image-621" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-1024x487.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-300x143.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-768x365.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-18x9.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>To verify our root file system, then run<br><strong><code>resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv</code></strong><br>to extend our filesystem:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="474" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-1024x474.png" alt="" class="wp-image-622" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-1024x474.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-300x139.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-768x356.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-18x8.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now as we see our LVM's size has increased to 48GB.</p>



<h2 class="wp-block-heading"><br><strong>Conclusion</strong></h2>



<p><br>Overall, this guide provides a step-by-step process for expanding a Hyper-V VM's disk, addressing common challenges and ensuring optimal storage utilization</p><p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/">Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>