[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zusammenfassung preseed.cfg - war: Zugriff auf preseed.cfg scheitert



Hallo,

Hans-Dietrich Kirmse schrieb:
...

Was ich noch bräuchte: wie kann man einstellen, dass in die sources.list
ein eigenes (vorhandenes) Repository eingetragen wird. Irgendwo hatte
ich etwas gelesen, aber leider nicht wieder gefunden. Kann da jemand
weiterhelfen?

das geht eigentlich aus der "example-preseed.txt" von Debian hervor.

	http://www.debian.org/releases/lenny/example-preseed.txt

Die folgenden Zeilen würden zum Beispiel die Backports inkl. GPG Key hinzufügen.

# Additional repositories, local[0-9] available
d-i apt-setup/local0/repository string \
http://www.backports.org/debian/ lenny-backports main contrib non-free
d-i apt-setup/local0/comment string Debian Backports
# Enable deb-src lines
d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out
d-i apt-setup/local0/key string http://backports.org/debian/archive.key

Das erstmal zum aktuellen Stand mit dieser Bastelei. Neben den
angegebenen offenen Fragen geht es mir nun darum, für unsere
Installation das passende Partitionierungsschema für die preseed.cfg zu
erstellen. Ich melde mich wieder.

Wie soll die Partitionierung aussehen? In dem folgenden Beispiel erfolgt die Partitionierung mit Hilfe von LVM. Die Partition "dummy" wird am Ende der Installation gelöscht und ist nötig, damit die Partition "root" sich nicht den verbleibenden Speicherplatz unter den Nagel reißt.

d-i partman-auto/expert_recipe string                         \
      basic ::                                                \
              256 256 256 ext3                                \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext3 }    \
                      mountpoint{ /boot }                     \
              .                                               \
              1536 1536 1536 linux-swap                       \
                      $lvmok{ }                               \
                      lv_name{ swap }                         \
                      method{ swap } format{ }                \
              .                                               \
              5120 5120 5120 ext3                             \
                      $lvmok{ }                               \
                      lv_name{ root }                         \
                      method{ lvm } format{ }                 \
                      use_filesystem{ } filesystem{ ext3 }    \
                      mountpoint{ / }                         \
              .                                               \
              1024 2048 1000000000 ext3                       \
                      $defaultignore{ }                       \
                      $lvmok{ }                               \
                      lv_name{ dummy }                        \
                      method{ lvm }                           \
              .

LG Dennis

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: