systemadmin
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| systemadmin [2026/01/03 16:09] – [Network Manager] pulsar | systemadmin [2026/04/08 11:23] (aktuell) – [Mit Partet das Boot Flag wiederhestellen] techguru | ||
|---|---|---|---|
| Zeile 2795: | Zeile 2795: | ||
| watch --interval=10 "pkill -USR1 dd" | watch --interval=10 "pkill -USR1 dd" | ||
| + | | ||
| + | oder neuere '' | ||
| + | |||
| + | |||
| + | == Eine Partition als Datei erstellen == | ||
| + | |||
| + | Für Tests eine Partiton erstellen welche mit einem belieben Dateisystem ausgestattet werden kann. | ||
| + | Ebenso lässt sich die Größe per Block Size und Count einstellen. | ||
| - | dd if=/ | + | dd if=/ |
| - | bs specifies block size and count specifies the number of blocks, in the example above you’ll get 5Gb. Use anything you want. | + | bs specifies block size and count specifies the number of blocks, in the example above you’ll get 5GB. Use anything you want. |
| Now format the file | Now format the file | ||
| Zeile 2808: | Zeile 2816: | ||
| sudo mount my_file / | sudo mount my_file / | ||
| - | Add an entry to /etc/fstab so it mounts on boot | + | Add an entry to '' |
| / | / | ||
| Zeile 2845: | Zeile 2853: | ||
| Hast du die Quellpartition gemountet, als du dd ausgeführt hast ? | Hast du die Quellpartition gemountet, als du dd ausgeführt hast ? | ||
| Wenn ja, das führt zu einem Image, welches nicht bootbar ist. | Wenn ja, das führt zu einem Image, welches nicht bootbar ist. | ||
| - | |||
| - | problem erkannt problem gebannt. | ||
| - | |||
| - | dd if=/ | ||
| - | dd if=/dev/sda of=/ | ||
| - | |||
| - | löst das problem zuverlässig. | ||
| - | andersherum geht es dann auch! | ||
| - | da scheinen noch irgendwelche daten zu liegen. | ||
| - | sda2 ist übrigends nicht gemountet, ich habe von einer livecd (systemrescue-cd) gebootet... | ||
| - | aber jetzt funktioniert es. | ||
| Du willst Deine Platte hda in eine Image-Datei speichern (auf hdb1) | Du willst Deine Platte hda in eine Image-Datei speichern (auf hdb1) | ||
systemadmin.1767452949.txt.gz · Zuletzt geändert: 2026/01/03 16:09 von pulsar
