project:debianmax
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | project:debianmax [2021-09-04 05:44] (aktuell) – angelegt neos | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Debian Max Disc ====== | ||
+ | {{tag> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Sinn dieses Wahnsinns ist es, am Ende ein ISO zu haben dass man je nach Größe und Bedarf auf einen USB-Stick/ | ||
+ | **ALLE!**\\ | ||
+ | |||
+ | ===== Voraussetzungen ===== | ||
+ | |||
+ | * Am besten Debian oder eines der Derivate in halbwegs aktueller Fassung | ||
+ | * ~200GB freien Platz auf $Platte | ||
+ | * zu viel Zeit + ein paar Nerven | ||
+ | * eine sinnvolle Anwendung für das Ergebnis | ||
+ | |||
+ | ===== Pakete beschaffen ===== | ||
+ | |||
+ | siehe [[https:// | ||
+ | siehe [[https:// | ||
+ | siehe [[https:// | ||
+ | siehe [[http:// | ||
+ | |||
+ | Debian-Programme die benötigt werden: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Los gehts: | ||
+ | * Das Beispiel verwendet Debian 11.0 (bullseye) für amd64 | ||
+ | * einen '' | ||
+ | * '' | ||
+ | * Am einfachsten geht das aktuell mit den BD-Installationsimages von Debian, diese gibt es jedoch nicht direkt per HTTP zum Download, sondern man muss sie wie folgt mit jigdo erstellen | ||
+ | * Links zu Jigdo-Dateien gibts unter [[https:// | ||
+ | * '' | ||
+ | * Sollte jigdo nach Mirrors fragen, bei aktueller Version [[http:// | ||
+ | * Sollte man das für eine ältere Distribution machen wollen, ggf. [[http:// | ||
+ | * abwarten und schauen, dass einem die Platte nicht vollläuft | ||
+ | * Für die, dies ganz genau meinen, außerdem noch eine CD mit non-free Firmware besorgen von [[https:// | ||
+ | * '' | ||
+ | * Dann cd1 entpacken | ||
+ | * Pools restlicher CDs in entpackte CD1 kopieren\\ < | ||
+ | bsdtar -C cd/ -xf debian-11.0.0-amd64-BD-1.iso | ||
+ | chmod -R +w cd | ||
+ | mount -o loop debian-11.0.0-amd64-BD-2.iso cd2 | ||
+ | mount -o loop debian-11.0.0-amd64-BD-3.iso cd3 | ||
+ | mount -o loop debian-11.0.0-amd64-BD-4.iso cd4 | ||
+ | mount -o loop firmware-11.0.0-amd64-netinst.iso cd5 | ||
+ | for i in 2 3 4 | ||
+ | do | ||
+ | cp -rv cd$i/pool/* cd/pool/ | ||
+ | done | ||
+ | cp -rv cd5/ | ||
+ | cp -rv cd5/ | ||
+ | cp -rv cd5/ | ||
+ | * Leider gibt es von '' | ||
+ | * Erstmal ne Liste aller non-free Pakete für den arch runterladen: | ||
+ | * .deb-URLs aus dem Index holen | ||
+ | * < | ||
+ | * .debs runterladen | ||
+ | * '' | ||
+ | * non-free Kram zur CD hinzufügen | ||
+ | * '' | ||
+ | * Dann braucht man noch die Overrides von [[http:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * Dann muss eine Konfigurationsdatei für '' | ||
+ | # A config-deb file. | ||
+ | |||
+ | # Points to where the unpacked DVD-1 is. | ||
+ | Dir { | ||
+ | ArchiveDir " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | # Sets the top of the .deb directory tree. | ||
+ | TreeDefault { | ||
+ | | ||
+ | }; | ||
+ | |||
+ | # The location for a Packages file. | ||
+ | BinDirectory " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | BinDirectory " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | BinDirectory " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | # We are only interested in .deb files (.udeb for udeb files). | ||
+ | Default { | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | }; | ||
+ | |||
+ | EOF | ||
+ | </ | ||
+ | * '' | ||
+ | * '' | ||
+ | * Ergibt:\\ < | ||
+ | | ||
+ | | ||
+ | Packages done, Starting contents. | ||
+ | Done. 87.8 GB in 59479 archives. Took 1h 3min 51s</ | ||
+ | * Noch die udeb-Installerpakete aktualisieren, | ||
+ | # A config-deb file. | ||
+ | |||
+ | # Points to where the unpacked DVD-1 is. | ||
+ | Dir { | ||
+ | ArchiveDir " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | # Sets the top of the .deb directory tree. | ||
+ | TreeDefault { | ||
+ | | ||
+ | }; | ||
+ | |||
+ | BinDirectory " | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | # We are only interested in .deb files (.udeb for udeb files). | ||
+ | Default { | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | }; | ||
+ | EOF | ||
+ | </ | ||
+ | * '' | ||
+ | * Ergibt\\ < | ||
+ | Packages done, Starting contents. | ||
+ | Done. 60.2 MB in 260 archives. Took 1min 59s | ||
+ | </ | ||
+ | * Dann die MD5-Hashes aus der Release-Datei entfernen: | ||
+ | * '' | ||
+ | * Release-Datei neu generieren | ||
+ | * '' | ||
+ | * non-free zum Release hinzufügen | ||
+ | * '' | ||
+ | * Da der Stack im Folgenden bei der Menge an Dateien zu klein wäre und es nur ein unwirsches '' | ||
+ | * '' | ||
+ | * MD5-Summen berechnen: | ||
+ | * '' | ||
+ | * Wer möchte kann mit Strg-A; d den screen detachen und dem Fortschritt bei md5sum begutachten | ||
+ | * '' | ||
+ | * ggf. zurück in den screen | ||
+ | * '' | ||
+ | * Bootblock sichern | ||
+ | * '' | ||
+ | * Checksums für Jigdo/ | ||
+ | * '' | ||
+ | * Versteckte Info-Dateien anpassen | ||
+ | * '' | ||
+ | * '' | ||
+ | * MD5-Summen anpassen | ||
+ | * '' | ||
+ | * '' | ||
+ | * Schließlich und endlich, ISO erstellen mit '' | ||
+ | -report_about UPDATE \ | ||
+ | -follow on \ | ||
+ | -as mkisofs \ | ||
+ | -r \ | ||
+ | -checksum_algorithm_iso sha256, | ||
+ | -V ' | ||
+ | -o debian-11.0.0-amd64-BD-max.iso \ | ||
+ | -md5-list checksum-check \ | ||
+ | -jigdo-force-md5 /pool/ \ | ||
+ | -jigdo-min-file-size 1024 \ | ||
+ | -jigdo-exclude ' | ||
+ | -jigdo-exclude /doc/ \ | ||
+ | -jigdo-exclude /md5sum.txt \ | ||
+ | -jigdo-exclude /.disk/ \ | ||
+ | -jigdo-exclude /pics/ \ | ||
+ | -jigdo-exclude ' | ||
+ | -jigdo-exclude ' | ||
+ | -jigdo-exclude ' | ||
+ | -jigdo-jigdo debian-11.0.0-amd64-BD-max.jigdo \ | ||
+ | -jigdo-template debian-11.0.0-amd64-BD-max.template \ | ||
+ | -jigdo-map Debian=cd/ | ||
+ | -J \ | ||
+ | -joliet-long \ | ||
+ | -isohybrid-mbr isohdpfx.bin \ | ||
+ | -b isolinux/ | ||
+ | -c isolinux/ | ||
+ | -boot-load-size 4 \ | ||
+ | -boot-info-table \ | ||
+ | -no-emul-boot \ | ||
+ | -eltorito-alt-boot \ | ||
+ | -e boot/ | ||
+ | -no-emul-boot \ | ||
+ | -isohybrid-gpt-basdat \ | ||
+ | -isohybrid-apm-hfsplus \ | ||
+ | cd | ||
+ | </ | ||
+ | * Wenn alles geklappt hat:\\ < | ||
+ | xorriso : UPDATE : 99.99% done | ||
+ | xorriso : UPDATE : Thank you for being patient. Working since 4799 seconds. | ||
+ | xorriso : UPDATE : Thank you for being patient. Working since 4800 seconds. | ||
+ | xorriso : UPDATE : Thank you for being patient. Working since 4801 seconds. | ||
+ | xorriso : UPDATE : Thank you for being patient. Working since 4802 seconds. | ||
+ | ISO image produced: 43188789 sectors | ||
+ | Written to medium : 43188789 sectors at LBA 0 | ||
+ | Writing to ' | ||
+ | |||
+ | |||
+ | real 82m1.203s | ||
+ | user 78m23.269s | ||
+ | sys | ||
+ | </ | ||
+ | * '' | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | </ | ||
+ | * '' | ||
+ | * (hoffentlich) Fertig! | ||
+ | |||
+ | |||
+ | |||
project/debianmax.txt · Zuletzt geändert: von neos