Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
centos:pxe_c7:pxe_1 [06.01.2017 19:02. ] – [Clienttest] djangocentos:pxe_c7:pxe_1 [11.06.2020 19:24. ] (aktuell) – [Clienttest] django
Zeile 14: Zeile 14:
    # cp -a /usr/share/syslinux/{chain.c32,mboot.c32,memdisk,menu.c32,pxelinux.0,vesamenu.c32} /var/lib/tftpboot    # cp -a /usr/share/syslinux/{chain.c32,mboot.c32,memdisk,menu.c32,pxelinux.0,vesamenu.c32} /var/lib/tftpboot
  
-Als nächstes erstellen wir uns noch einen Ordner, in dem die Bootmenüs abgelegt werden, die später beim PXE-Boot dem Client präsentiert werden sollen.+Anaxgließend erstellen wir uns noch einen Ordner, in dem die Bootmenüs abgelegt werden, die später beim PXE-Boot dem Client präsentiert werden sollen.
    # mkdir /var/lib/tftpboot/pxelinux.cfg    # mkdir /var/lib/tftpboot/pxelinux.cfg
  
 Im Anschluss daran legen wir uns noch die Verzeichnisse für die Image-Dateien, die beim Bootvorgang benötigt werden, an. Bei unserer Installation wollen wir für folgende CentOS-Versionen und Architekturen später jeweils einen entsprechenden Eintrag im Bootmenü vorhalten. Im Anschluss daran legen wir uns noch die Verzeichnisse für die Image-Dateien, die beim Bootvorgang benötigt werden, an. Bei unserer Installation wollen wir für folgende CentOS-Versionen und Architekturen später jeweils einen entsprechenden Eintrag im Bootmenü vorhalten.
 +  * **CentOS 8 - x86_64**
   * **CentOS 7 - x86_64**   * **CentOS 7 - x86_64**
   * **CentOS 6 - x86_64**   * **CentOS 6 - x86_64**
   * **CentOS 6 - i386**   * **CentOS 6 - i386**
  
-  - <code># mkdir /var/lib/tftpboot/images/centos/7/x86_64 -p </code> +  - <code> # mkdir /var/lib/tftpboot/images/centos/8/x86_64 -p </code> 
-  - <code># mkdir /var/lib/tftpboot/images/centos/6/x86_64 -p </code> +  - <code> # mkdir /var/lib/tftpboot/images/centos/7/x86_64 -p </code> 
-  - <code># mkdir /var/lib/tftpboot/images/centos/6/i386 -p </code>+  - <code> # mkdir /var/lib/tftpboot/images/centos/6/x86_64 -p </code> 
 +  - <code> # mkdir /var/lib/tftpboot/images/centos/6/i386 -p </code>
  
 Als abschliessenden Punkt werden wir nun in die gerade angelegten und entsprechenden Verzeichnisse jeweils das zugehörige **initrd.img** und **vmlinuz** aus dem Repository laden. Als abschliessenden Punkt werden wir nun in die gerade angelegten und entsprechenden Verzeichnisse jeweils das zugehörige **initrd.img** und **vmlinuz** aus dem Repository laden.
 +  - <code> # cd /var/lib/tftpboot/images/centos/8/x86_64 </code> <code> # wget  http://repository.nausch.org/centos/8/BaseOS/x86_64/kickstart/images/pxeboot/initrd.img </code> <code> # wget http://repository.nausch.org/centos/8/BaseOS/x86_64/kickstart/images/pxeboot/vmlinuz </code>
   - <code># cd /var/lib/tftpboot/images/centos/7/x86_64 </code> <code># wget http://repository.nausch.org/centos/7/os/x86_64/images/pxeboot/initrd.img </code> <code># wget http://repository.nausch.org/centos/7/os/x86_64/images/pxeboot/vmlinuz </code>   - <code># cd /var/lib/tftpboot/images/centos/7/x86_64 </code> <code># wget http://repository.nausch.org/centos/7/os/x86_64/images/pxeboot/initrd.img </code> <code># wget http://repository.nausch.org/centos/7/os/x86_64/images/pxeboot/vmlinuz </code>
   - <code># cd /var/lib/tftpboot/images/centos/6/x86_64/ </code> <code># wget http://repository.nausch.org/centos/6/os/x86_64/images/pxeboot/initrd.img </code> <code># wget http://repository.nausch.org/centos/6/os/x86_64/images/pxeboot/vmlinuz </code>   - <code># cd /var/lib/tftpboot/images/centos/6/x86_64/ </code> <code># wget http://repository.nausch.org/centos/6/os/x86_64/images/pxeboot/initrd.img </code> <code># wget http://repository.nausch.org/centos/6/os/x86_64/images/pxeboot/vmlinuz </code>
Zeile 43: Zeile 46:
 │       │       ├── initrd.img │       │       ├── initrd.img
 │       │       └── vmlinuz │       │       └── vmlinuz
-│       ── 7 +│       ── 7 
-│           └── x86_64 +│       │   └── x86_64 
-│               ├── initrd.img +│       │       ├── initrd.img 
-│               └── vmlinuz+│       │       └── vmlinuz 
 +│       └── 8 
 +│           └── x86_64 
 +│               ├── initrd.img 
 +│               └── vmlinuz
 ├── mboot.c32 ├── mboot.c32
 ├── memdisk ├── memdisk
Zeile 57: Zeile 64:
 Für die Auswahl der unterschiedlichen Systeme, die wir später zur Installation anbieten wollen, benötigen wir noch ein passendes Auswahlmenü. Dieses Bootmenü wird mit Hilfe der Datei //**/var/lib/tftpboot/pxelinux.cfg/default**// bereitgestellt. Wir legen uns also für eine erste "spartanische Variante" nachfolgende Datei an. Für die Auswahl der unterschiedlichen Systeme, die wir später zur Installation anbieten wollen, benötigen wir noch ein passendes Auswahlmenü. Dieses Bootmenü wird mit Hilfe der Datei //**/var/lib/tftpboot/pxelinux.cfg/default**// bereitgestellt. Wir legen uns also für eine erste "spartanische Variante" nachfolgende Datei an.
    # vim /var/lib/tftpboot/pxelinux.cfg/default    # vim /var/lib/tftpboot/pxelinux.cfg/default
-<file bash /var/lib/tftpboot/pxelinux.cfg/default># Django 2016-01-08+<file bash /var/lib/tftpboot/pxelinux.cfg/default># Django 2020-06-11
 # erstes einfaches Bootmenü für PXE-Boot # erstes einfaches Bootmenü für PXE-Boot
  
Zeile 85: Zeile 92:
  
 LABEL 2 LABEL 2
 +   MENU LABEL ^2) Installation von CentOS 8 (64 Bit)
 +   KERNEL images/centos/8/x86_64/vmlinuz
 +   APPEND initrd=images/centos/8/x86_64/initrd.img ip=dhcp method=http://10.0.0.57/centos/8/BaseOS/x86_64/os/
 +
 +LABEL 3
    MENU LABEL ^2) Installation von CentOS 7 (64 Bit)    MENU LABEL ^2) Installation von CentOS 7 (64 Bit)
    KERNEL images/centos/7/x86_64/vmlinuz    KERNEL images/centos/7/x86_64/vmlinuz
-   APPEND initrd=images/centos/7/x86_64/initrd.img ramdisk_size=128000 ip=dhcp method=http://10.0.0.57/centos/7/os/x64_86+   APPEND initrd=images/centos/7/x86_64/initrd.img ip=dhcp method=http://10.0.0.57/centos/7/os/x64_86
  
-LABEL 3+LABEL 4
    MENU LABEL ^3) Installation von CentOS 6 (64 Bit)    MENU LABEL ^3) Installation von CentOS 6 (64 Bit)
    KERNEL images/centos/6/x86_64/vmlinuz    KERNEL images/centos/6/x86_64/vmlinuz
-   APPEND initrd=images/centos/6/x86_64/initrd.img ramdisk_size=128000 ip=dhcp method=http://10.0.0.57/centos/6/os/x86_64+   APPEND initrd=images/centos/6/x86_64/initrd.img ip=dhcp method=http://10.0.0.57/centos/6/os/x86_64
  
-LABEL 4+LABEL 5
    MENU LABEL ^4) Installation von CentOS 6 (32 Bit)    MENU LABEL ^4) Installation von CentOS 6 (32 Bit)
    KERNEL images/centos/6/i386/vmlinuz    KERNEL images/centos/6/i386/vmlinuz
-   APPEND initrd=images/centos/6/i386/initrd.img ramdisk_size=128000 ip=dhcp method=http://10.0.0.57/centos/6/os/i386</file>+   APPEND initrd=images/centos/6/i386/initrd.img ip=dhcp method=http://10.0.0.57/centos/6/os/i386</file>
  
 ==== DHCP-Server anpassen ==== ==== DHCP-Server anpassen ====
Zeile 174: Zeile 186:
   dracut-initqueue [666] RTNETLINK answers: File exists   dracut-initqueue [666] RTNETLINK answers: File exists
   dracut-initqueue [666] Warning: can't find installer mainimage path in .treeinfo   dracut-initqueue [666] Warning: can't find installer mainimage path in .treeinfo
-Bei CentOS 7 benötigen wir noch ein passendes kickstrat-File, welches wir uns im Kapitel [[centos:pxe:pxe_2#installationsscript_fuer_centos_installation|PXE Optimierung - Installationsscript für CentOS Installation]] erstellen werden!+Bei CentOS 7 benötigen wir noch ein passendes kickstart-File, welches wir uns im Kapitel [[centos:pxe:pxe_2#installationsscript_fuer_centos_installation|PXE Optimierung - Installationsscript für CentOS Installation]] erstellen werden!
 </WRAP> </WRAP>
  
Zeile 466: Zeile 478:
    # vim /var/lib/tftpboot/pxelinux.cfg/dmz-64    # vim /var/lib/tftpboot/pxelinux.cfg/dmz-64
  
-<file bash /var/lib/tftpboot/pxelinux.cfg/dmz-64># Django 2014-07-02+<file bash /var/lib/tftpboot/pxelinux.cfg/dmz-64># Django 2020-06-11
 # verschachteltes Untermenü mit graphischer Auswahlmöglichkeit für PXE-Boot # verschachteltes Untermenü mit graphischer Auswahlmöglichkeit für PXE-Boot
  
Zeile 531: Zeile 543:
  
 LABEL 3 LABEL 3
 +   MENU LABEL ^3) Installation von CentOS 8 (64 Bit)
 +   KERNEL images/centos/8/x86_64/vmlinuz
 +   APPEND ks=http://10.0.0.57/kickstart/ks_centos_8_x86_64_dmz.cfg initrd=images/centos/8/x86_64/initrd.img ksdevice=eth0 ip=dhcp --hostname=vml000250.dmz.nausch.org method=http://10.0.0.57/centos/8/BaseOS/x86_64/os/ SERVERNAME=
 +   
 +LABEL 4
    MENU LABEL ^3) Installation von CentOS 7 (64 Bit)    MENU LABEL ^3) Installation von CentOS 7 (64 Bit)
    KERNEL images/centos/7/x86_64/vmlinuz    KERNEL images/centos/7/x86_64/vmlinuz
    APPEND ks=http://10.0.0.57/kickstart/ks_centos_7_x86_64_dmz.cfg initrd=images/centos/7/x86_64/initrd.img ramdisk_size=128000 ksdevice=eth0 ip=dhcp --hostname=vml000250.dmz.nausch.org method=http://10.0.0.57/centos/7/os/x86_64 SERVERNAME=    APPEND ks=http://10.0.0.57/kickstart/ks_centos_7_x86_64_dmz.cfg initrd=images/centos/7/x86_64/initrd.img ramdisk_size=128000 ksdevice=eth0 ip=dhcp --hostname=vml000250.dmz.nausch.org method=http://10.0.0.57/centos/7/os/x86_64 SERVERNAME=
  
- +LABEL 5
-LABEL 4+
    MENU LABEL ^4) Installation von CentOS 6 (64 Bit)    MENU LABEL ^4) Installation von CentOS 6 (64 Bit)
    KERNEL images/centos/6/x86_64/vmlinuz    KERNEL images/centos/6/x86_64/vmlinuz
Zeile 688: Zeile 704:
   * **[[wiki:start|Zurück zu Projekte und Themenkapitel]]**   * **[[wiki:start|Zurück zu Projekte und Themenkapitel]]**
   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**
- 
-~~DISCUSSION~~ 
-~~AUTOTWEET:~~ 
- 
- 
- 
  
  
  • centos/pxe_c7/pxe_1.1483729344.txt.gz
  • Zuletzt geändert: 06.01.2017 19:02.
  • von django