<?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/category/articles/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>https://rhein-ruhr-informatik.de/category/articles/virtualization/</link>
	<description></description>
	<lastBuildDate>Tue, 12 Aug 2025 10:40:46 +0000</lastBuildDate>
	<language>de</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/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/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>Wenn man in einem Linux- oder macOS-Haushalt lebt, stößt man früher oder später auf das altbekannte Problem: Man braucht plötzlich eine Anwendung, die nur unter Windows läuft. Sei es ein obskures BIOS-Tool, das sich zwar per Wine starten lässt, aber schlichtweg keine brauchbaren Ergebnisse liefert. Für technisch versierte Menschen lautet<a class="moretag" href="https://rhein-ruhr-informatik.de/2025/07/31/windows-in-einem-docker-container/"> Weiterlesen&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/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">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Wenn man in einem Linux- oder macOS-Haushalt lebt, stößt man früher oder später auf das altbekannte Problem: Man braucht plötzlich eine Anwendung, die nur unter Windows läuft. Sei es ein obskures BIOS-Tool, das sich zwar per Wine starten lässt, aber schlichtweg keine brauchbaren Ergebnisse liefert. Für technisch versierte Menschen lautet der erste Impuls in der Regel: „Ich richte mir eben eine VM ein.“ Klar, geht – aber einfach ist das nicht unbedingt.</p>



<p>Zunächst benötigt man einen Hypervisor, dann eine passende ISO-Datei, muss die VM konfigurieren, Partitionen einrichten, Windows installieren, Treiber hinzufügen und so weiter. Kurzum: Es ist machbar, aber nicht unbedingt angenehm.</p>



<p>Doch was, wenn ich dir sage, dass du eine vollständige Windows-Installation in einem Docker-Container starten kannst – mit geteiltem Speicher, RDP-Zugang und optionalem VLAN-Support? Klingt verrückt? Ist es auch ein bisschen. Aber es funktioniert.</p>



<p><strong>Die Idee hinter dem Projekt</strong></p>



<p>Ein Entwickler namens Kroese hat auf GitHub ein Projekt veröffentlicht, das genau das ermöglicht. Ein Docker-Container, der automatisch eine frische Windows-Installation einrichtet – und das ganz ohne manuelles Setup. Man startet einfach den Container, wartet ein paar Minuten und bekommt eine vollständig einsatzbereite Windows-Umgebung. Zugriff erfolgt bequem über den Browser oder per RDP.</p>



<p>Und das Beste: Man muss Windows nicht mal selbst installieren. Der Container übernimmt den kompletten Prozess – von der Image-Beschaffung bis zur Einrichtung.</p>



<p><strong>Wie funktioniert das technisch?</strong></p>



<p>Wer genau hinsieht, erkennt im Docker-Command das Flag, das /dev/kvm durchreicht – also den Kernel-basierten Virtualisierungsmechanismus von Linux. Kurz gesagt: Es handelt sich hierbei nicht um einen „echten“ Windows-Container, sondern um einen Linux-Container, der eine KVM-basierte VM aufsetzt. Also doch keine Magie, sondern eine clever automatisierte Lösung auf Basis bewährter Technologie.</p>



<p>Die Voraussetzung: Hardware-Virtualisierung muss vorhanden und aktiviert sein – sonst läuft hier gar nichts.</p>



<p><strong>Der große Vorteil: Komfort</strong></p>



<p>Das Besondere ist nicht die technische Innovation, sondern der enorme Komfortgewinn. Die lästigsten Aspekte einer Windows-Installation – wie Partitionierung, Ersteinrichtung oder die Wahl von Sprache und Tastaturlayout – fallen komplett weg. Alles läuft automatisiert ab.</p>



<p>Man erhält trotzdem alle Vorteile einer „normalen“ VM mit KVM: USB- und SATA-Passthrough, limitierbare CPU-Kerne und RAM, und wenn man will, sogar PCIe-Passthrough – wobei letzteres für ambitionierte Setups wahrscheinlich ohnehin in „richtige“ VMs gehört.</p>



<p><strong>Nutzung im Alltag: RDP statt VNC</strong></p>



<p>Die Web-Oberfläche des Containers nutzt VNC, was für den Anfang genügt – aber langsam ist und keinen Ton überträgt. RDP ist hier die bessere Wahl. Der Container unterstützt standardmäßig die Weiterleitung des RDP-Ports, sodass man einfach per Remotedesktop von Mac, Linux oder Windows aus zugreifen kann.</p>



<p>Dank Datenfreigabe kann man auch einfach Ordner vom Host einbinden – und so Dateien zwischen Windows und Linux austauschen. Der Standard-Container bietet 2 CPU-Kerne, 4 GB RAM und 64 GB Festplattenspeicher – alles über Umgebungsvariablen anpassbar.</p>



<p><strong>Multi-Windows? Kein Problem!</strong></p>



<p>Der Container unterstützt neben Windows 11 auch ältere Versionen – von XP bis Server 2022. Wer will, kann sogar abgespeckte Varianten wie Tiny11 oder Tiny10 nutzen – oder eigene ISO-Dateien einbinden. In einem Test liefen fünf Windows-Versionen parallel: XP, Vista, 7, 10 und 11 – alles gleichzeitig, auf einem Intel N100-System mit gerade einmal 18W Stromverbrauch.</p>



<p>Nur Windows 8.1 wollte nicht – aber wer vermisst das schon?</p>



<p><strong>Und die Lizenz?</strong></p>



<p>Die Windows-Images stammen, je nach Version, entweder direkt von Microsoft oder aus offenen Quellen wie Bob Pony. Neue Versionen sind unaktiviert, laufen aber ohne Einschränkungen 30 Tage lang. Wer länger nutzen will, muss einen gültigen Key eintragen. Das Projekt selbst enthält laut Entwickler keine proprietären Inhalte und basiert ausschließlich auf Open-Source-Code.</p>



<p><strong>Fazit: Einfach, praktisch, genial</strong></p>



<p>Ob für das schnelle Testen von Windows-Software, zum Spielen mit Legacy-Systemen oder für spezielle Tools wie BIOS-Editoren – dieses Docker-Projekt bietet eine komfortable, schlanke Lösung, bei der man auf nahezu nichts verzichten muss. Natürlich ersetzt es keine hochperformante VM mit dedizierter GPU, aber das will es auch gar nicht.</p>



<p>Was bleibt, ist ein beeindruckendes Beispiel dafür, was heute mit etwas Kreativität und offenen Standards möglich ist – ganz ohne den altbekannten Installationsfrust.</p>



<p><strong>Und wer weiß – vielleicht rettet dir Windows XP auch heute noch den Tag.</strong></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/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">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/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>Overview Bevor wir mit der Erweiterung beginnen, ist es wichtig zu verstehen, dass die Erweiterung einer virtuellen Festplatte in der Hyper-V-Umgebung eine Erhöhung ihrer zugewiesenen Kapazität bedeutet. Diese Aktion führt nicht automatisch zur Befüllung des zusätzlichen Speicherplatzes mit Daten. Um den zusätzlichen Speicher effektiv nutzen zu können, müssen die Partitionen<a class="moretag" href="https://rhein-ruhr-informatik.de/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/"> Weiterlesen&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/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">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>Bevor wir mit der Erweiterung beginnen, ist es wichtig zu verstehen, dass die Erweiterung einer virtuellen Festplatte in der Hyper-V-Umgebung eine Erhöhung ihrer zugewiesenen Kapazität bedeutet. Diese Aktion führt nicht automatisch zur Befüllung des zusätzlichen Speicherplatzes mit Daten. Um den zusätzlichen Speicher effektiv nutzen zu können, müssen die Partitionen und Dateisysteme der virtuellen Maschine manuell erweitert werden, damit sie den neu zugewiesenen Speicherplatz belegen können.</p>



<p>Bevor wir auf die Schritte eingehen, klären wir zunächst, warum wir die Festplatte einer Hyper-V-VM möglicherweise erweitern möchten. Diese Aktion ist in der Regel erforderlich, wenn die vorhandene Speicherkapazität der virtuellen Maschine nicht ausreicht, um wachsende Daten oder Anwendungen aufzunehmen.</p>



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



<p><strong>Windows 10/11:</strong> Suchen Sie im Startmenü nach &#8222;Hyper-V Manager&#8220; und öffnen Sie es.</p>



<p>Zuerst müssen wir den Server herunterfahren.</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>Auf dem virtuellen Computer klicken wir auf die Einstellungen, um die Festplatte zu konfigurieren:</p>



<p>Unter dem Menü &#8222;Hardware&#8220; wählen wir den Speicher aus und klicken auf der rechten Seite auf die Schaltfläche &#8222;Bearbeiten&#8220;, um mit den nächsten Schritten fortfahren zu können.</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>Auf dem linken Bildschirm wählen wir &#8222;Aktion&#8220;, dann &#8222;Erweitern&#8220; und schließlich &#8222;Weiter&#8220;:</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>Wie wir im Bild unten unter &#8222;Daten konfigurieren&#8220; auf der rechten Seite sehen, sind 50 GB vorhanden. Hier können wir die Größe des Speichers erweitern.</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>Wie im Bild unten gezeigt, wird es auf 60 GB erweitert.</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>Nachdem wir auf Weiter geklickt haben, erhalten wir dieses Bild, in dem wir erneut auf Weiter klicken.</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>Ich habe die virtuelle Maschine gestartet.</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>Nach diesen Schritten im Hyper-V Manager starten wir die virtuelle Maschine und erweitern das LVM.</p>



<p>Über das Putty-Tool müssen wir auf unsere virtuelle Maschine zugreifen.</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>Beginnen Sie mit der Überprüfung des freien Speicherplatzes Ihres Root-Dateisystems mit df -hT. Unsere Root-Disk ist zu 62% ausgelastet. Jetzt werden wir die Schritte befolgen, um 10 GB mehr zuzuweisen, um den Prozentsatz unseres Dateisystems zu erhöhen.</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>Wir geben die folgenden Befehle ein: <strong><code>parted -l</code></strong> adm type <strong><code>Fix</code></strong> , um die Liste der Festplatten und Partitionen anzuzeigen.</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>Im Bild unten sehen wir, dass ein Fehler namens vorliegt <strong><code>GPT PMBR size mismatch</code></strong>. Zuerst können wir ihn beheben, indem wir den Befehl zur Fehlerkorrektur eingeben.</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>Jetzt scheint alles in Ordnung zu sein.</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>Jetzt können wir unser logisches Volume auf dem /dev/sda3-Dateisystem wie unten gezeigt erweitern:</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>Zuerst verwenden wir den Befehl fdisk /dev/sda und fahren mit den anderen unten gezeigten Befehlen fort.</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>Jetzt ist ein Neustart des Systems erforderlich.</p>



<p>Um den vorhandenen freien Speicherplatz auf Ihrer Volume Group (wo er durch die Standardinstallationswerte hinterlassen wird) zu überprüfen, führen Sie die Befehle <strong><code>vgdisplay</code> </strong>und<strong> <code>lvdisplay</code> </strong>aus, um nach freiem Speicherplatz zu suchen.</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>Nachdem der Computer neu gestartet wurde, können wir den Befehl<br><strong><code>lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv</code></strong><br>verwenden, um die Partition zu erweitern.</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>An dieser Stelle haben Sie die Größe des Blockvolumens, auf dem Ihr Root-Dateisystem residiert, erweitert, aber Sie müssen das Dateisystem darauf noch erweitern. Führen Sie zuerst <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>Um unser Root-Dateisystem zu überprüfen:<br><strong><code>resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv</code></strong><br>um unser Dateisystem zu erweitern:</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>Wie wir jetzt sehen, hat sich die Größe unseres LVM auf 48 GB erweitert.</p>



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



<p><br>Insgesamt bietet dieser Leitfaden eine schrittweise Anleitung zum Erweitern der Festplatte einer Hyper-V-VM, wobei häufige Herausforderungen angesprochen werden, und eine optimale Speichernutzung gewährleistet wird.</p>
<p>The post <a href="https://rhein-ruhr-informatik.de/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">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
