Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
centos:pxe:pxe_2 [01.07.2014 10:06. ] – [Festplatten sicher löschen mit DBAN] Artikel aus Workspace eingefügt django | centos:pxe:pxe_2 [15.07.2014 09:33. ] – Im Kapitel "PXE-Server unter CentOS 6.x optimieren" link korrigiert. #PXE #CentOS django | ||
---|---|---|---|
Zeile 155: | Zeile 155: | ||
# wget http:// | # wget http:// | ||
- | Als nächstes | + | Anschließend |
# mkdir -p / | # mkdir -p / | ||
Dieses ISO-Image mounten wir nun über das Loopback-Device: | Dieses ISO-Image mounten wir nun über das Loopback-Device: | ||
- | # mount -o loop / | + | # mount -o loop dban-2.2.8_i586.iso /mnt/data/ |
- | Nun können wir das zu bootende DBAN-Image in das Zielverzeichnis kopieren | + | Nun können wir das zu bootende DBAN-Image |
# cp / | # cp / | ||
+ | # cp / | ||
Ist dies erledigt, können wir das ISO-Image wieder unmounten, da wir dieses nicht mehr benötigen. | Ist dies erledigt, können wir das ISO-Image wieder unmounten, da wir dieses nicht mehr benötigen. | ||
- | # | + | # |
==== Konfiguration ==== | ==== Konfiguration ==== | ||
- | Damit wir bei einem PXE-Boot DBAN auch als Option im Bootmenü auftaucht, müssen wir noch die Konfigurationsdatei **/ | + | Damit wir bei einem PXE-Boot DBAN auch als Option im Bootmenü auftaucht, müssen wir noch die Konfigurationsdatei **/ |
+ | |||
+ | Da es für **DBAN** sehr viele Optionen beim Laden und ausführen gibt, werden wir all diese Optionen nicht direkt in das Hauptmenü unseres **PXE-Bootservers** ein, sondern werden diese in ein eigenes Untermenü auslagern. | ||
+ | |||
+ | Hierzu werden wir nun mit dem Editor unserer Wahl, als z.B. **vim**, einfach den folgenden Block am Ende der Konfigurationsdatei " | ||
< | < | ||
- | MENU LABEL ^A) DBAN - autonuke | + | MENU LABEL ^A) Untermenue |
- | | + | |
- | | + | |
</ | </ | ||
- | Die Bezeichnung **LABEL** passen wir natürlich den eigenen Begebenheiten nach an. | + | |
+ | Die Bezeichnung **LABEL** passen wir natürlich den eigenen Begebenheiten nach an! | ||
# vim / | # vim / | ||
Zeile 243: | Zeile 249: | ||
| | ||
| | ||
- | |||
- | # Django : 2013-08-25 Fedora 19 angefügt | ||
- | #LABEL 8 | ||
- | # MENU LABEL ^8) Fedora 19 (64 Bit) Installation (Intranet) | ||
- | # | ||
- | # | ||
# Django : 2014-02-28 Fedora 20 angefügt | # Django : 2014-02-28 Fedora 20 angefügt | ||
Zeile 261: | Zeile 261: | ||
| | ||
- | # Django : 2014-06-30 Menüpunkt DBAN angefügt | + | |
LABEL A | LABEL A | ||
- | MENU LABEL ^A) DBAN - autonuke | + | MENU LABEL ^A) Untermenue |
+ | | ||
+ | | ||
+ | |||
+ | LABEL C | ||
+ | MENU LABEL ^C) Clonezilla (i686-PAE) | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL D | ||
+ | MENU LABEL ^D) Clonezilla (AMD-64) | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Das eigentliche Auswahlmenü der einzelnen Boot-Parameter von **DBAN** lagern wir, wie Eingangs schon angeschnitten in eine eigene Konfigurationsdatei **dban** aus. | ||
+ | Diese Datei legen wir uns nun an. | ||
+ | # vim / | ||
+ | |||
+ | <file bash / | ||
+ | # verschachteltes Bootmenü ( Baumstruktur) für PXE-Boot | ||
+ | |||
+ | # Einbinden des User-Interface-Module vesamenu.c32 | ||
+ | default vesamenu.c32 | ||
+ | # starten des Standardeintrages nach 60 Sekunden | ||
+ | timeout 600 | ||
+ | # [0] Boot-Prompt ausblenden [1] Boot-Prompt standardmäßig angezeigen | ||
+ | prompt 0 | ||
+ | # [0] Öffnen des Boot mit ESC ermöglichen [1] Funktion deaktivieren. | ||
+ | noescape 0 | ||
+ | |||
+ | # Definition der Überschrift unseres Bootmenüs | ||
+ | menu title *** DBAN - Festplatten/ | ||
+ | # Definition einer Hintergrundgraphik für das Bootmenü (Größe: 640x480 Format: PNG) | ||
+ | menu background bootgraphik.png | ||
+ | |||
+ | menu color title 1; | ||
+ | menu color sel * #00000000 #0824b5 * | ||
+ | menu color hotsel 1; | ||
+ | menu color unsel 1; | ||
+ | menu color hotkey 1; | ||
+ | menu color tabmsg 1; | ||
+ | menu color cmdline 1; | ||
+ | menu color timeout_msg 1; | ||
+ | menu color timeout 1; | ||
+ | |||
+ | # Definition der einzelnen Booteinträge: | ||
+ | # LABEL : Eindeutige Bezeichnung eines Booteintrages | ||
+ | # MENU LABEL : Aussagekräftige Beschreibung des LABELs, welche im Mootmenü angezeigt werden soll | ||
+ | # KERNEL | ||
+ | # APPEND | ||
+ | |||
+ | LABEL 1 | ||
+ | MENU LABEL ^1) Zurueck zum Hauptmenue | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 2 | ||
+ | MENU LABEL ^2) DBAN - Standard: autonuke | ||
| | ||
| | ||
- | </ | ||
+ | LABEL 3 | ||
+ | MENU LABEL ^3) DBAN - Standard: mit Auswahl der Methode | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 4 | ||
+ | MENU LABEL ^4) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 5 | ||
+ | MENU LABEL ^5) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 6 | ||
+ | MENU LABEL ^6) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 7 | ||
+ | MENU LABEL ^7) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 8 | ||
+ | MENU LABEL ^8) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL 9 | ||
+ | MENU LABEL ^9) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL A | ||
+ | MENU LABEL ^A) DBAN - Standard: Metode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL B | ||
+ | MENU LABEL ^B) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL C | ||
+ | MENU LABEL ^C) DBAN - Standard: Methode " | ||
+ | | ||
+ | | ||
+ | |||
+ | # Troubleshooting Labels | ||
+ | |||
+ | LABEL D | ||
+ | MENU LABEL ^D) DBAN - Troubleshooting - Option: nofloppy | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL E | ||
+ | MENU LABEL ^E) DBAN - Troubleshooting - Option: | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL F | ||
+ | MENU LABEL ^F) DBAN - Troubleshooting - Option: | ||
+ | | ||
+ | | ||
+ | |||
+ | # Debugging Labels | ||
+ | |||
+ | LABEL G | ||
+ | MENU LABEL ^G) DBAN - Debugging - Option: debug | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL H | ||
+ | MENU LABEL ^H) DBAN - Debugging - Option: shell | ||
+ | | ||
+ | | ||
+ | |||
+ | LABEL I | ||
+ | MENU LABEL ^I) DBAN - Debugging - Option: verbose | ||
+ | | ||
+ | | ||
+ | |||
+ | # Print the product banner and liability disclaimer. | ||
+ | DISPLAY mages/ | ||
+ | |||
+ | # Extra screens. | ||
+ | F1 images/ | ||
+ | F2 images/ | ||
+ | F3 images/ | ||
+ | F4 images/ | ||
+ | |||
+ | |||
+ | # The Boot Prompt | ||
+ | # --------------- | ||
+ | # | ||
+ | # Usage: [label [kernel options] [nuke=" | ||
+ | # | ||
+ | # Dwipe Options: | ||
+ | # | ||
+ | # | ||
+ | # -m --method | ||
+ | # -r --rounds | ||
+ | # | ||
+ | # | ||
+ | # Dwipe Methods: | ||
+ | # | ||
+ | # dod522022m | ||
+ | # dodshort dod3pass | ||
+ | # gutmann | ||
+ | # ops2 RCMP TSSIT OPS-II standard wipe. | ||
+ | # prng random | ||
+ | # quick zero Quick erase. | ||
+ | # | ||
+ | # Verification Levels: | ||
+ | # | ||
+ | # 0 off Do not read anything back from the device. | ||
+ | # 1 last Check whether the device is empty after wiping. | ||
+ | # 2 all Check whether all passes were written properly. | ||
+ | # | ||
+ | # Notes: | ||
+ | # | ||
+ | # * The rounds option does not apply to to the quick method. This method | ||
+ | # always runs one round. | ||
+ | # | ||
+ | # * Use at least four rounds with the prng method. Using eight rounds with | ||
+ | # the prng method is recommended. | ||
+ | # | ||
+ | # * The last pass of every method fills the device with zeros, except the | ||
+ | # ops2 method which fills the device with a random stream on its last pass. | ||
+ | # | ||
+ | </ | ||
==== Test ==== | ==== Test ==== | ||
- | An dem fraglichen | + | An dem fraglichen |
+ | |||
+ | {{ : | ||
+ | |||
+ | Hier wählen wir dann den Menüpunkt **// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Nach Anwahl des Untermenüs bzw durch Eingabe des Buchstabens " | ||
- | {{ : | + | {{ : |
- | Hier wählen | + | Wählen |
{{ : | {{ : | ||
Zeile 285: | Zeile 483: | ||
{{ : | {{ : | ||
+ | Haben wir die Option **DBAN - Standard: mit Auswahl der Methode** beim PXE-Auswahlmenü ausgewählt, | ||
+ | {{ : | ||
+ | Mit **[F2]** werden uns weitere Informationen zu DBAN angezeigt. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Mit Drücken der Taste **[F3]** erhalten wir weitere Informationen zu den einzelnen Löschoptionen. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Spezielle Hinweise zu RAID-Controllern erhalten wir, sofern wir die Taste **[F4]** drücken. | ||
+ | |||
+ | {{ : | ||
===== Festplatten/ | ===== Festplatten/ | ||
====== Links ====== | ====== Links ====== | ||
- | * **[[centos:pxe_c6|Zurück zum Kapitel >> | + | * **[[centos:pxe:start|Zurück zum Kapitel >> |
* **[[wiki: | * **[[wiki: | ||
* **[[http:// | * **[[http:// | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
+ | |||
+ | |||
+ | ~~AUTOTWEET: |