Installationen über PXE: Unterschied zwischen den Versionen
Aus revampedia
Zeile 15: | Zeile 15: | ||
=== Verzeichnisstruktur: === | === Verzeichnisstruktur: === | ||
− | * '''/pxeboot''' | + | * '''/pxeboot''' |
− | : Wurzelverzeichnis für die Struktur | + | : Wurzelverzeichnis für die gesamte Struktur |
+ | |||
+ | * '''/pxeboot/tftpboot''' | ||
+ | : Unterverzeichnis für die ganzen Dateien, die per TFTP an den Client geschickt werden | ||
+ | : '''memtest86+.bin''' | ||
* '''/pxeboot/tftpboot/common''' | * '''/pxeboot/tftpboot/common''' | ||
: Dateien, die von mehreren Installations- und Livesystemen benutzt werden. | : Dateien, die von mehreren Installations- und Livesystemen benutzt werden. | ||
:: Kopiert aus '''/usr/lib/syslinux/modules/bios''': | :: Kopiert aus '''/usr/lib/syslinux/modules/bios''': | ||
− | :: cmenu.c32, ldlinux32.c32, libcom32.c32, libmenu.c32, libutil.c32, menu.c32, vesamenu.c32 | + | :: '''cmenu.c32''', '''ldlinux32.c32''', '''libcom32.c32''', '''libmenu.c32''', '''libutil.c32''', '''menu.c32''', '''vesamenu.c32''' |
: Hintergrundbild | : Hintergrundbild | ||
− | :: [http://blacklite-teh-haxxor.deviantart.com/art/Tux-Button-302102059 tux_button.png] | + | :: [http://blacklite-teh-haxxor.deviantart.com/art/Tux-Button-302102059 tux_button.png] |
* '''/pxeboot/tftpboot/pxelinux.cfg''' | * '''/pxeboot/tftpboot/pxelinux.cfg''' | ||
− | : | + | : Dateien zur Konfiguration des Boot-Menüs |
+ | :: '''/pxeboot/tftpboot/pxelinux.cfg/default''' | ||
+ | <pre> | ||
+ | MENU TITLE Boot Menu | ||
+ | PROMPT 0 | ||
+ | DEFAULT vesamenu.c32 | ||
+ | TIMEOUT 100 | ||
+ | MENU BACKGROUND tuxbutton.png | ||
+ | |||
+ | LABEL BootLocal | ||
+ | localboot 0 | ||
+ | TEXT HELP | ||
+ | Lokal booten | ||
+ | ENDTEXT | ||
+ | |||
+ | LABEL linux | ||
+ | MENU LABEL Debian Jessie 32-bit non-PAE (login/pw: revamp/revamp oder root/root) | ||
+ | KERNEL vmlinuz-3.16.0-4-586 | ||
+ | APPEND root=/dev/nfs initrd=initrd.img-3.16.0-4-586 init=/sbin/init ip=dhcp rw nfsroot=192.168.10.14:/nfsroot | ||
+ | |||
+ | LABEL memtest86 | ||
+ | MENU LABEL Memtest86+ | ||
+ | LINUX memtest86+.bin | ||
== Ablauf == | == Ablauf == |
Version vom 23. September 2015, 14:57 Uhr
Diese Seite dient als Anleitung zur Einrichtung eines Servers sowohl für automatisierte Linux-Installationen als auch dem booten von Live- und Installations-Medien über das Netzwerk.
Benötigte Pakete
Zur Ergänzung einer standard Debian-Installation werden folgende Pakete (und deren Abhängigkeiten) nachinstalliert:
tftpd-hpa nfs-kernel-server syslinux
Konfiguration
IP des Installations-Servers (debian-jessie VM auf [[1]]: 192.168.10.51
Verzeichnisstruktur:
- /pxeboot
- Wurzelverzeichnis für die gesamte Struktur
- /pxeboot/tftpboot
- Unterverzeichnis für die ganzen Dateien, die per TFTP an den Client geschickt werden
- memtest86+.bin
- /pxeboot/tftpboot/common
- Dateien, die von mehreren Installations- und Livesystemen benutzt werden.
- Kopiert aus /usr/lib/syslinux/modules/bios:
- cmenu.c32, ldlinux32.c32, libcom32.c32, libmenu.c32, libutil.c32, menu.c32, vesamenu.c32
- Hintergrundbild
- /pxeboot/tftpboot/pxelinux.cfg
- Dateien zur Konfiguration des Boot-Menüs
- /pxeboot/tftpboot/pxelinux.cfg/default
MENU TITLE Boot Menu PROMPT 0 DEFAULT vesamenu.c32 TIMEOUT 100 MENU BACKGROUND tuxbutton.png LABEL BootLocal localboot 0 TEXT HELP Lokal booten ENDTEXT LABEL linux MENU LABEL Debian Jessie 32-bit non-PAE (login/pw: revamp/revamp oder root/root) KERNEL vmlinuz-3.16.0-4-586 APPEND root=/dev/nfs initrd=initrd.img-3.16.0-4-586 init=/sbin/init ip=dhcp rw nfsroot=192.168.10.14:/nfsroot LABEL memtest86 MENU LABEL Memtest86+ LINUX memtest86+.binAblauf
Zu beachten