tuto:ipasserelle:divers:boot_pxe

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
tuto:ipasserelle:divers:boot_pxe [15/07/2013 11:10]
dani
tuto:ipasserelle:divers:boot_pxe [23/12/2014 15:10] (Version actuelle)
dani [Ubuntu]
Ligne 119: Ligne 119:
 </code> </code>
 ===== Ubuntu ===== ===== Ubuntu =====
-Télécharger l'archive netboot de la version désirée, par exemple http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/netboot.tar.gz+Télécharger l'archive netboot de la version désirée, par exemple http://archive.ubuntu.com/ubuntu/dists/vivid/main/installer-amd64/current/images/netboot/netboot.tar.gz
  
 <code bash> <code bash>
 mkdir -p /tmp/ubuntu mkdir -p /tmp/ubuntu
-mkdir -p /tftpboot/ubuntu/lucid/x86_64+mkdir -p /tftpboot/ubuntu/vivid/x86_64
 cd /tmp/ubuntu cd /tmp/ubuntu
-wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/netboot.tar.gz+wget http://archive.ubuntu.com/ubuntu/dists/vivid/main/installer-amd64/current/images/netboot/netboot.tar.gz
 tar xvzf netboot.tar.gz tar xvzf netboot.tar.gz
-mv ./* /tftpboot/ubuntu/lucid/x86_64+mv ./* /tftpboot/ubuntu/vivid/x86_64
 </code> </code>
  
 Puis ajouter la distribution: Puis ajouter la distribution:
 <code bash> <code bash>
-db thinclient set lucid-64b dist dir "ubuntu/lucid/x86_64" install Manual prog pxelinux.0+db thinclient set vivid-64b dist dir "ubuntu/vivid/x86_64" install Manual prog pxelinux.0
 </code> </code>
  
Ligne 188: Ligne 188:
 label CentOS 6 x86_64 label CentOS 6 x86_64
    kernel vmlinuz    kernel vmlinuz
-   append initrd.img+   append initrd=initrd.img
  
 EOF EOF
Ligne 205: Ligne 205:
 <code bash> <code bash>
 db thinclient set centos-6-x86_64 dist dir "centos/6/x86_64" install Manual prog pxelinux.0 db thinclient set centos-6-x86_64 dist dir "centos/6/x86_64" install Manual prog pxelinux.0
 +</code>
 +
 +===== CentOS 7 =====
 +
 +<code bash>
 +mkdir -p /tftpboot/centos/7/x86_64
 +cd /tftpboot/centos/7/x86_64
 +wget http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/initrd.img
 +wget http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/vmlinuz
 +cp -a /tftpboot/{pxelinux.0,menu.c32} ./
 +mkdir pxelinux.cfg
 +cat <<'EOF' > pxelinux.cfg/default
 +default menu.c32
 +prompt 0
 +timeout 1
 +hiddenmenu
 +
 +label CentOS 7 x86_64
 +   kernel vmlinuz
 +   append initrd=initrd.img
 +
 +EOF
 +
 +cat <<'EOF' >> /tftpboot/pxelinux.cfg/default
 +
 +label CentOS 7 x86_64
 +   kernel centos/7/x86_64/vmlinuz
 +   append initrd=centos/7/x86_64/initrd.img inst.repo=http://mirror.centos.org/centos/7/os/x86_64/
 +
 +EOF
 +
 +</code>
 +
 +Puis ajouter la distribution:
 +<code bash>
 +db thinclient set centos-7-x86_64 dist dir "centos/7/x86_64" install Manual prog pxelinux.0
 </code> </code>
  • tuto/ipasserelle/divers/boot_pxe.1373879454.txt.gz
  • Dernière modification: 15/07/2013 11:10
  • de dani