Direkt zum Hauptbereich

Backup NICHT mit dd

Aus irgendeinem #$@%&!-Grund geht partimage auf meinem eeepc nicht, meldet jeweils beim *Erstellen* des Images: "image Lesefehler Bitmap block 0".

Hab allerdings diesen Beitrag gefunden:
dd usually the *ABSOLUTELY WRONG* tool to use for pushing around file
systems, since you have to issue the "count" command to cut off the dd
at the end of the partition absolutely correctly or you will leave off
the last few bits of your partition and filesystem, or start copying the
*next* partition and filesystem. It also guarantees you a dd image
exactly the size of the partition on disk instead of the size of the
file system, which may be *vastly* smaller and thus much easier to save
and faster to write.

http://forum.soft32.com/linux2/Resize-Partition-dd-ftopict45930.html

Wie dem auch sei, man kann ja immer noch mit dd images erstellen,(hoffe ich).
Hier ne Anleitung:
http://www.debianhelp.co.uk/ddcommand.htm

full hard disk copy

dd if=/dev/hdx of=/dev/hdy
dd if=/dev/hdx of=/path/to/image
dd if=/dev/hdx | gzip > /path/to/image.gz

Hdx could be hda, hdb etc. In the second example gzip is used to compress the image if it is really just a backup.

Restore Backup of hard disk copy

dd if=/path/to/image of=/dev/hdx

gzip -dc /path/to/image.gz | dd of=/dev/hdx

MBR backup

In order to backup only the first few bytes containing the MBR and the partition table you can use dd as well.

dd if=/dev/hdx of=/path/to/image count=1 bs=512

MBR restore

dd if=/path/to/image of=/dev/hdx

Add "count=1 bs=446" to exclude the partition table from being written to disk. You can manually restore the table.

Kommentare

Beliebte Posts aus diesem Blog

ssh pubkey verfahren funktioniert nicht

trotz ssh-copy-id usf. werde ich immer noch aufgefordert, das Passwort einzugeben. Grund: Die Rechte von authorized-keys sind nicht richtig gesetzt. sshd achtet darauf, dass alle rechte so gesetzt sind, dass ein Angreifer diese Datei nicht verändern kann. Sind die Rechte zu lax gesetzt, weigert sich sshd, dieses Verfahren durchzuführen. Daher dürfen folgende Dateien nur für den Benutzer beschreibbar sein: .ssh/authorized-keys .ssh . Das Dritte Verzeichnis ist das home-Verzeichnis des Nutzers, sonst könnte ja ein Angfreifer einfach .ssh überschreiben.

Open Office Vorlagen

http://de.openoffice.org/downloads/komponenten.html Vorlagen Hier bieten wir eine Sammlung von Vorlagen für den deutschsprachigen Raum an. Momentan handelt es sich um ca. 130 Vorlagen Die Vorlagen im Open Document Format können hier heruntergeladen werden: * OOo-Extension vorlagen_de_opendoc.oxt (ca. 2,5 MB) * Zip-Achiv vorlagen_de_opendoc.zip (ca. 2,5 MB) Vorlagen im OpenOffice.org 1.x-Format sind hier zu finden: vorlagen_de_sissl.zip (ca. 1 MB) Hinweise, Verbesserungsvorschläge oder neue Vorlagen können Sie über unsere Mailinglisten oder Issuezilla einbringen. Weitere Vorlagen finden Sie * in unserem Dateibereich , * auf dem deutschen OpenOffice.org -Portal, * auf der PrOOo -Box oder * bei office-center-epj .

Mausgeschwindigkeit einzelner Mäuse unter Ubuntu anpassen

Mäuse mit einer sehr hohen Abtastrate bewegen den Pointer viel zu schnell. Leider gibt es keinen Regler, mit dem man die Geschwindigkeit unmittelbar herunterregeln kann. Helfen kann das Kommando "xinput": In Kürze: Open a terminal Run the command: xinput --list --short ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Razer USA, Ltd DeathAdder Mouse id=6 [slave pointer (2)] ⎜ ↳ Razer USA, Ltd DeathAdder Mouse id=7 [slave pointer (2)] ⎜ ↳ Razer DeathAdder id=11 [slave pointer (2)] ⎜ ↳ Macintosh mouse button emulation id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Power Button id=9 [slave k