<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[TechGameGeeks Forum - Probleme und Lösungen beim LiveBuild]]></title>
		<link>https://forum.techgamegeek.com/</link>
		<description><![CDATA[TechGameGeeks Forum - https://forum.techgamegeek.com]]></description>
		<pubDate>Sun, 26 Apr 2026 12:58:36 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Debian Live Build erstellt keine konforme UEFI ISO]]></title>
			<link>https://forum.techgamegeek.com/thread-36.html</link>
			<pubDate>Tue, 05 Aug 2025 17:03:50 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.techgamegeek.com/member.php?action=profile&uid=2">Daniel</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.techgamegeek.com/thread-36.html</guid>
			<description><![CDATA[Es hat sich herausgestellt, dass Live Build zwar eine ISO erstellt, die grundsätzlich UEFI-bootfähig ist, jedoch bootet diese ISO offenbar nicht auf Systemen, die eine strikte Vorgabe bzgl. des EFI-Boots haben. Mein Lenovo X240 zum Beispiel verweigert den UEFI - Boot komplett, wenn ich die erstelle UEFI-ISO booten will.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Repack der ISO</span><br />
Die erstellte ISO muss nochmals neu "verpackt" werden, wobei zuvor das EFI.img ausgelesen werden muss. Danach wird abgesehen von der eigentlichen Partition mit Debian vom Livebuild, eine eigene EFI Partition hinzugefügt. Wir gehen in dem Fall von einem fertig erstellten ISO aus, das ausschließlich in UEFI booten soll.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Schritt 1 UEFI Boot (efi.img) auslesen</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Wichtig:</span> Wir befinden uns direkt im Buildverzeichnis, in dem die ISO liegt!<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>xorriso -osirrox on -indev live-image-amd64.hybrid.iso -extract /boot/grub/efi.img efi.img</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Schritt 2 erstellte ISO in Unterordner /iso-content (unter dem livebuildordner) extrahieren.</span><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir iso-content<br />
mount -o loop &lt;isodatei.iso&gt; /mnt<br />
cp -a /mnt/. iso-content/</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Schritt 3 ISO mit UEFI Einbindung neu verpacken</span><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>xorriso -as mkisofs &#92;<br />
  -iso-level 3 &#92;<br />
  -full-iso9660-filenames &#92;<br />
  -volid "TGG_LIVE" &#92;<br />
  -output tgg-live-uefi.iso &#92;<br />
  -eltorito-platform efi &#92;<br />
  -eltorito-boot boot/grub/efi.img &#92;<br />
    -no-emul-boot &#92;<br />
  -append_partition 2 0xef efi.img &#92;<br />
  -partition_offset 16 &#92;<br />
  -graft-points &#92;<br />
    iso-content</code></div></div><br />
Abschließend die ISO auf eine USB-Stick schreiben und das System booten.]]></description>
			<content:encoded><![CDATA[Es hat sich herausgestellt, dass Live Build zwar eine ISO erstellt, die grundsätzlich UEFI-bootfähig ist, jedoch bootet diese ISO offenbar nicht auf Systemen, die eine strikte Vorgabe bzgl. des EFI-Boots haben. Mein Lenovo X240 zum Beispiel verweigert den UEFI - Boot komplett, wenn ich die erstelle UEFI-ISO booten will.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Repack der ISO</span><br />
Die erstellte ISO muss nochmals neu "verpackt" werden, wobei zuvor das EFI.img ausgelesen werden muss. Danach wird abgesehen von der eigentlichen Partition mit Debian vom Livebuild, eine eigene EFI Partition hinzugefügt. Wir gehen in dem Fall von einem fertig erstellten ISO aus, das ausschließlich in UEFI booten soll.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Schritt 1 UEFI Boot (efi.img) auslesen</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Wichtig:</span> Wir befinden uns direkt im Buildverzeichnis, in dem die ISO liegt!<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>xorriso -osirrox on -indev live-image-amd64.hybrid.iso -extract /boot/grub/efi.img efi.img</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Schritt 2 erstellte ISO in Unterordner /iso-content (unter dem livebuildordner) extrahieren.</span><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir iso-content<br />
mount -o loop &lt;isodatei.iso&gt; /mnt<br />
cp -a /mnt/. iso-content/</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Schritt 3 ISO mit UEFI Einbindung neu verpacken</span><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>xorriso -as mkisofs &#92;<br />
  -iso-level 3 &#92;<br />
  -full-iso9660-filenames &#92;<br />
  -volid "TGG_LIVE" &#92;<br />
  -output tgg-live-uefi.iso &#92;<br />
  -eltorito-platform efi &#92;<br />
  -eltorito-boot boot/grub/efi.img &#92;<br />
    -no-emul-boot &#92;<br />
  -append_partition 2 0xef efi.img &#92;<br />
  -partition_offset 16 &#92;<br />
  -graft-points &#92;<br />
    iso-content</code></div></div><br />
Abschließend die ISO auf eine USB-Stick schreiben und das System booten.]]></content:encoded>
		</item>
	</channel>
</rss>