<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://linupedia.org/wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Partitionstabelle_sichern_und_wiederherstellen</id>
	<title>Partitionstabelle sichern und wiederherstellen - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://linupedia.org/wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Partitionstabelle_sichern_und_wiederherstellen"/>
	<link rel="alternate" type="text/html" href="https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;action=history"/>
	<updated>2026-04-28T05:29:28Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Linupedia.org</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=25975&amp;oldid=prev</id>
		<title>Robi: intern verlinkt</title>
		<link rel="alternate" type="text/html" href="https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=25975&amp;oldid=prev"/>
		<updated>2008-09-09T20:25:50Z</updated>

		<summary type="html">&lt;p&gt;intern verlinkt&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version vom 9. September 2008, 20:25 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Partitionstabelle sichern und wiederherstellen ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Partitionstabelle sichern und wiederherstellen ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Oftmals stellt sich einem die Frage wie man eine Sicherung von den Partitionstabellen all seiner Platte herstellen kann. Eine solche Sicherung würde zB. in vielen Fällen helfen einzelne Festplatten oder sein gesamtes System wieder aus einem Backup 100% genau so herzustellen. Auch bei einer Reparatur eines mal aus unerklärlichen Gründen oder durch falsche Handhabung zerstörten Partitionstabelle, kann man mit einer solchen Sicherung schnell und sicher seine Platte wieder orginal herstellen. Mann kann damit aber auch die Partitionen einer Platte auf eine Andere übertragen, was sehr hilfreich ist beim aufsetzen von zB. Software Raid Spiegelungen von Festplatten.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Oftmals stellt sich einem die Frage wie man eine Sicherung von den Partitionstabellen all seiner Platte herstellen kann. Eine solche Sicherung würde zB. in vielen Fällen helfen einzelne Festplatten oder sein gesamtes System wieder aus einem Backup 100% genau so herzustellen. Auch bei einer Reparatur eines mal aus unerklärlichen Gründen oder durch falsche Handhabung zerstörten Partitionstabelle, kann man mit einer solchen Sicherung schnell und sicher seine Platte wieder orginal herstellen. Mann kann damit aber auch die Partitionen einer Platte auf eine Andere übertragen, was sehr hilfreich ist beim aufsetzen von zB. Software &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[RAID allgemein|&lt;/ins&gt;Raid&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;Spiegelungen von Festplatten.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Internet wird an einigen Stellen eine Sicherung des [http://de.wikipedia.org/wiki/Master_Boot_Record&amp;#160; MBR] ('''M'''aster '''B'''oot '''R'''ecord) der Festplatte mittels [[dd]] empfohlen. Im MBR befindet sich allerdings nur die Tabelle für die Partitionen 1 bis 4 aber statt dessen auf bootbaren Platten der [http://de.wikipedia.org/wiki/Boot-Loader Bootloader]. Ein zurückspielen einer solchen Sicherung kann also durchaus mehr kaput machen, als einem lieb ist, und ein Übertragen einer solchen Sicherung auf eine andere Platte mehr Probleme bereiten als man erwarten würde. Deshalb soll hier eine Methode vorgestellt werden, die einerseits ein normal lesbares und auch ausdruckbares Backup der kompletten Partitionstabelle herstellt, das man mit wenig Aufwand auch wieder auf die Platte bekommt.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Internet wird an einigen Stellen eine Sicherung des [http://de.wikipedia.org/wiki/Master_Boot_Record&amp;#160; MBR] ('''M'''aster '''B'''oot '''R'''ecord) der Festplatte mittels [[dd]] empfohlen. Im MBR befindet sich allerdings nur die Tabelle für die Partitionen 1 bis 4 aber statt dessen auf bootbaren Platten der [http://de.wikipedia.org/wiki/Boot-Loader Bootloader]. Ein zurückspielen einer solchen Sicherung kann also durchaus mehr kaput machen, als einem lieb ist, und ein Übertragen einer solchen Sicherung auf eine andere Platte mehr Probleme bereiten als man erwarten würde. Deshalb soll hier eine Methode vorgestellt werden, die einerseits ein normal lesbares und auch ausdruckbares Backup der kompletten Partitionstabelle herstellt, das man mit wenig Aufwand auch wieder auf die Platte bekommt.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot; &gt;Zeile 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Manipulation an Partitionstabellen auf Platten auf denen sich noch Daten befinden die noch benötigt werden, stellt immer ein gewisses nicht zu unterschätzendes Risiko dar, dessen sollte man sich immer bewußt sein, mit welchem Tool man auch arbeitet.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Manipulation an Partitionstabellen auf Platten auf denen sich noch Daten befinden die noch benötigt werden, stellt immer ein gewisses nicht zu unterschätzendes Risiko dar, dessen sollte man sich immer bewußt sein, mit welchem Tool man auch arbeitet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Partitionstabelle auf eine andere Platte übertragen ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Partitionstabelle auf eine andere Platte übertragen ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robi</name></author>
		
	</entry>
	<entry>
		<id>https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=24459&amp;oldid=prev</id>
		<title>Robi: unterschiedliche virtuelle Plattengeometrie</title>
		<link rel="alternate" type="text/html" href="https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=24459&amp;oldid=prev"/>
		<updated>2008-02-26T19:41:15Z</updated>

		<summary type="html">&lt;p&gt;unterschiedliche virtuelle Plattengeometrie&lt;/p&gt;
&lt;a href=&quot;https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;amp;diff=24459&amp;amp;oldid=18606&quot;&gt;Änderungen zeigen&lt;/a&gt;</summary>
		<author><name>Robi</name></author>
		
	</entry>
	<entry>
		<id>https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=18606&amp;oldid=prev</id>
		<title>Robi: kleiner Formatfehler</title>
		<link rel="alternate" type="text/html" href="https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=18606&amp;oldid=prev"/>
		<updated>2007-06-26T19:20:04Z</updated>

		<summary type="html">&lt;p&gt;kleiner Formatfehler&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version vom 26. Juni 2007, 19:20 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot; &gt;Zeile 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Etwas komplizierter wird es wenn Teile dieser Platte derzeitig noch in Gebrauch sind. Wenn das wirklich absolut notwendig und unabdingbar sein sollte, dann kann man das Schreiben der neuen Partitionstabelle auch erzwingen obwohl noch etwas gemountet ist. ( Aber wirklich nur im Äußersten Notfall. Ein Reboot oder das Aushängen dieser Paritition muss dann aber dennoch erfolgen, damit die neue Tabelle auch dem Kernel aktiv bekannt gemacht werden kann.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Etwas komplizierter wird es wenn Teile dieser Platte derzeitig noch in Gebrauch sind. Wenn das wirklich absolut notwendig und unabdingbar sein sollte, dann kann man das Schreiben der neuen Partitionstabelle auch erzwingen obwohl noch etwas gemountet ist. ( Aber wirklich nur im Äußersten Notfall. Ein Reboot oder das Aushängen dieser Paritition muss dann aber dennoch erfolgen, damit die neue Tabelle auch dem Kernel aktiv bekannt gemacht werden kann.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;LINUX:/tmp # sfdisk --no-reread -f /dev/sdb &amp;lt; sdb-partition.txt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;LINUX:/tmp # sfdisk --no-reread -f /dev/sdb &amp;lt; sdb-partition.txt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nach einer Änderung der Partitionstabelle bei noch gemounteten Filesystem, kann nach einem umount dieser Dateisysteme auch der Kernel explizied noch&amp;#160; angewiesen werden, die Partitionstabelle von der Platte neu einzulesen.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nach einer Änderung der Partitionstabelle bei noch gemounteten Filesystem, kann nach einem umount dieser Dateisysteme auch der Kernel explizied noch&amp;#160; angewiesen werden, die Partitionstabelle von der Platte neu einzulesen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LINUX:/tmp # sfdisk -R /dev/sdb&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LINUX:/tmp # sfdisk -R /dev/sdb&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;kommt hier als Fehler immer noch ''' &amp;quot;BLKRRPART: Device or resource busy&amp;quot; ''' hilft nur ein Reboot.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;kommt hier als Fehler immer noch ''' &amp;quot;BLKRRPART: Device or resource busy&amp;quot; ''' hilft nur ein Reboot.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Weitere nützliche Optionen ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Weitere nützliche Optionen ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robi</name></author>
		
	</entry>
	<entry>
		<id>https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=18605&amp;oldid=prev</id>
		<title>Robi: Partitionstabelle sichern/wiederherstellen ohne ;-) dd ;-)</title>
		<link rel="alternate" type="text/html" href="https://linupedia.org/wiki/mediawiki/index.php?title=Partitionstabelle_sichern_und_wiederherstellen&amp;diff=18605&amp;oldid=prev"/>
		<updated>2007-06-26T19:13:41Z</updated>

		<summary type="html">&lt;p&gt;Partitionstabelle sichern/wiederherstellen ohne ;-) dd ;-)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Partitionstabelle sichern und wiederherstellen ==&lt;br /&gt;
&lt;br /&gt;
Oftmals stellt sich einem die Frage wie man eine Sicherung von den Partitionstabellen all seiner Platte herstellen kann. Eine solche Sicherung würde zB. in vielen Fällen helfen einzelne Festplatten oder sein gesamtes System wieder aus einem Backup 100% genau so herzustellen. Auch bei einer Reparatur eines mal aus unerklärlichen Gründen oder durch falsche Handhabung zerstörten Partitionstabelle, kann man mit einer solchen Sicherung schnell und sicher seine Platte wieder orginal herstellen. Mann kann damit aber auch die Partitionen einer Platte auf eine Andere übertragen, was sehr hilfreich ist beim aufsetzen von zB. Software Raid Spiegelungen von Festplatten.&lt;br /&gt;
&lt;br /&gt;
Im Internet wird an einigen Stellen eine Sicherung des [http://de.wikipedia.org/wiki/Master_Boot_Record  MBR] ('''M'''aster '''B'''oot '''R'''ecord) der Festplatte mittels [[dd]] empfohlen. Im MBR befindet sich allerdings nur die Tabelle für die Partitionen 1 bis 4 aber statt dessen auf bootbaren Platten der [http://de.wikipedia.org/wiki/Boot-Loader Bootloader]. Ein zurückspielen einer solchen Sicherung kann also durchaus mehr kaput machen, als einem lieb ist, und ein Übertragen einer solchen Sicherung auf eine andere Platte mehr Probleme bereiten als man erwarten würde. Deshalb soll hier eine Methode vorgestellt werden, die einerseits ein normal lesbares und auch ausdruckbares Backup der kompletten Partitionstabelle herstellt, das man mit wenig Aufwand auch wieder auf die Platte bekommt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== das Tool sfdisk ===&lt;br /&gt;
&lt;br /&gt;
Geeignet dafür ist das Tool [http://www.die.net/doc/linux/man/man8/sfdisk.8.html sfdisk] das im Paket '''util-linux''' wohl gleich bei der Installation mit installiert worden ist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Partitionstabelle sichern ====&lt;br /&gt;
&lt;br /&gt;
sfdisk mit der Option '''-d''' und der Festplattennamen sollte eine lesbare Tabelle aus der Partitionstabelle ausgeben.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINUX:/tmp # sfdisk -d /dev/sdb&lt;br /&gt;
# partition table of /dev/sdb&lt;br /&gt;
unit: sectors&lt;br /&gt;
&lt;br /&gt;
/dev/sdb1 : start=       32, size=   133088, Id=fd, bootable&lt;br /&gt;
/dev/sdb2 : start=   133120, size= 10487808, Id=fd&lt;br /&gt;
/dev/sdb3 : start= 10620928, size= 41945088, Id=fd&lt;br /&gt;
/dev/sdb4 : start= 52566016, size= 19120128, Id= f&lt;br /&gt;
/dev/sdb5 : start= 52566048, size=  4196320, Id=fd&lt;br /&gt;
/dev/sdb6 : start= 56762400, size= 14923744, Id=fd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
diese Tabelle wird mittels Umleitung als Datei abgelegt und bekommt gleich noch einen Namen der auf den richtigen Inhalt hindeutet.&lt;br /&gt;
 sfdisk -d /dev/sdb &amp;gt; sdb-partition.txt&lt;br /&gt;
Auf diese Weise kann man von allen Festplatten seines Systems jeweils eine solche Datei anlegen und an sicherer Stelle und im Backup ablegen.&lt;br /&gt;
Nicht vergessen, nach Änderungen an den Partitionstabellen einzelner Platten diese Datei dann auch neu zu erstellen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Partitionstabelle wiederherstellen ====&lt;br /&gt;
&lt;br /&gt;
Das Wiederherstellen ist ebenso einfach. Sollte allerdings die Partitionstabelle defekt sein und die Daten auf der Platte sehr wertvoll und wichtig, und man sich selbst nicht wirklich 100% sicher, dass man auch wirklich die aktuelle Partitionssicherung von dieser Platte vor sich hat, empfiehlt es sich dennoch lieber [[Reparieren einer defekten Partitionstabelle]] zu versuchen. Hierbei wird die Platte untersucht und versucht die gefundenen Partitionstabellenfragmente und/oder  Filesystemmarkiereungen wieder zu einer Partitionstabelle zusammenzusetzen.  &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ansonsten zum Wiederherstellen unserer oben gesicherten Partitionstabelle:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Am besten und einfachsten geht es, wenn im Moment LINUX nicht auf diese Platte zugreift, also auf dieser Platte nichts gemountet ist, und auch kein Swap auf dieser Platte aktiv läuft. &lt;br /&gt;
 LINUX:/tmp # sfdisk /dev/sdb &amp;lt; sdb-partition.txt&lt;br /&gt;
Es kommt eine Ausgabe über die aktuelle Partitionstabelle und die neu aufgeschriebene Partitionstabelle und fast am Ende&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Successfully wrote the new partition table&lt;br /&gt;
&lt;br /&gt;
Re-reading the partition table ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
Damit ist die Partitionstabelle wieder hergestellt und auch schon im Kernel bekannt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Etwas komplizierter wird es wenn Teile dieser Platte derzeitig noch in Gebrauch sind. Wenn das wirklich absolut notwendig und unabdingbar sein sollte, dann kann man das Schreiben der neuen Partitionstabelle auch erzwingen obwohl noch etwas gemountet ist. ( Aber wirklich nur im Äußersten Notfall. Ein Reboot oder das Aushängen dieser Paritition muss dann aber dennoch erfolgen, damit die neue Tabelle auch dem Kernel aktiv bekannt gemacht werden kann.)&lt;br /&gt;
LINUX:/tmp # sfdisk --no-reread -f /dev/sdb &amp;lt; sdb-partition.txt&lt;br /&gt;
Nach einer Änderung der Partitionstabelle bei noch gemounteten Filesystem, kann nach einem umount dieser Dateisysteme auch der Kernel explizied noch  angewiesen werden, die Partitionstabelle von der Platte neu einzulesen.&lt;br /&gt;
 LINUX:/tmp # sfdisk -R /dev/sdb&lt;br /&gt;
kommt hier als Fehler immer noch ''' &amp;quot;BLKRRPART: Device or resource busy&amp;quot; ''' hilft nur ein Reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Weitere nützliche Optionen ====&lt;br /&gt;
&lt;br /&gt;
neben den oben genannten Optionen kann man damit natürlich auch seine Partitionstabellen '''bearbeiten''', '''Listen''' oder die Größe der einzelnen Partitionen abfragen oder die Konsistenz der Partitionstabelle überprüfen. Dabei können die Befehle auch in Scripten verwendet werden.  Siehe dazu die Manpage von sfdisk&lt;br /&gt;
&lt;br /&gt;
{{Box Achtung||&lt;br /&gt;
Die Manipulation an Partitionstabellen auf Platten auf denen sich noch Daten befinden die noch benötigt werden, stellt immer ein gewisses nicht zu unterschätzendes Risiko dar, dessen sollte man sich immer bewußt sein, mit welchem Tool man auch arbeitet.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Partitionen]]&lt;/div&gt;</summary>
		<author><name>Robi</name></author>
		
	</entry>
</feed>