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 [24/12/2012 15:24]
dani [Gparted]
tuto:ipasserelle:divers:boot_pxe [23/12/2014 15:10] (Version actuelle)
dani [Ubuntu]
Ligne 25: Ligne 25:
 <code> <code>
 cd /tmp cd /tmp
-wget http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-4.06.tar.bz2 +wget http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-5.00.tar.bz2 
-tar xvjf syslinux-4.06.tar.bz2 +tar xvjf syslinux-5.00.tar.bz2 
-cd syslinux-4.06+cd syslinux-5.00
 cp core/pxelinux.0 /tftpboot/ cp core/pxelinux.0 /tftpboot/
 cp com32/menu/menu.c32 /tftpboot/ cp com32/menu/menu.c32 /tftpboot/
Ligne 59: Ligne 59:
 mkdir /tftpboot/gparted/ mkdir /tftpboot/gparted/
 cd /tmp/ cd /tmp/
-wget http://downloads.sourceforge.net/project/gparted/gparted-live-stable/0.14.1-1/gparted-live-0.14.1-1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgparted%2Ffiles%2Fgparted-live-stable%2F0.14.1-1%2F&ts=1356359059&use_mirror=heanet +wget http://downloads.sourceforge.net/project/gparted/gparted-live-stable/0.16.1-1/gparted-live-0.16.1-1-i686-pae.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgparted%2Ffiles%2Fgparted-live-stable%2F0.16.1-1%2F&ts=1373878939&use_mirror=garr 
-unzip gparted-live-0.14.1-1.zip -d /tftpboot/gparted +unzip gparted-live-0.16.1-1-i686-pae.zip -d /tftpboot/gparted 
-rm -f gparted-live-0.14.1-1.zip+rm -f gparted-live-0.16.1-1-i686-pae.zip
 cd /tftpboot/gparted cd /tftpboot/gparted
 cp -a ../pxelinux.0 ./ cp -a ../pxelinux.0 ./
Ligne 74: Ligne 74:
 label gparted label gparted
   kernel live/vmlinuz   kernel live/vmlinuz
-  append initrd=live/initrd.img boot=live union=aufs noswap noprompt vga=788 fetch=tftp://192.168.7.1/gparted/live/filesystem.squashfs gl_lang=fr_FR gl_kbd=fr keyb=fr gl_batch+  append initrd=live/initrd.img boot=live config union=aufs noswap noprompt vga=788 fetch=tftp://192.168.7.1/gparted/live/filesystem.squashfs gl_lang=fr_FR gl_kbd=fr keyb=fr gl_batch
  
 </code> </code>
Ligne 89: Ligne 89:
 <code bash>mkdir /tftpboot/clonezilla <code bash>mkdir /tftpboot/clonezilla
 cd /tmp/ cd /tmp/
-wget "http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/1.2.12-67/clonezilla-live-1.2.12-67-i686-pae.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fclonezilla%2Ffiles%2Fclonezilla_live_stable%2F1.2.12-67%2F&ts=1351258428&use_mirror=heanet+wget "http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/2.0.1-15/clonezilla-live-2.0.1-15-i686-pae.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fclonezilla%2Ffiles%2Fclonezilla_live_stable%2F2.0.1-15%2F&ts=1356535216&use_mirror=garr
-unzip clonezilla-live-1.2.12-67-i686-pae.zip -d /tftpboot/clonezilla +unzip clonezilla-live-2.0.1-15-i686-pae.zip -d /tftpboot/clonezilla 
-rm -f clonezilla-live-1.2.12-67-i686-pae.zip+rm -f clonezilla-live-2.0.1-15-i686-pae.zip
 cd /tftpboot/clonezilla cd /tftpboot/clonezilla
 cp -a ../pxelinux.0 ./ cp -a ../pxelinux.0 ./
Ligne 107: Ligne 107:
  
 label clonezilla label clonezilla
-  kernel live/vmlinuz +    kernel live/vmlinuz 
-  append initrd=live/initrd.img boot=live union=aufs noswap noprompt vga=788 ocs_lang=fr_FR.UTF-8 ocs_live_keymap="/usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz" ocs_live_run="ocs-live-general" fetch=tftp://192.168.7.1/clonezilla/filesystem.squashfs+    append initrd=live/initrd.img boot=live config locales=fr_FR.UTF-8 keyboard-layouts=fr union=aufs noswap noprompt vga=788 ocs_live_run="ocs-live-general" fetch=tftp://192.168.7.1/clonezilla/live/filesystem.squashfs
 </code> </code>
  
Ligne 118: Ligne 118:
 db thinclient set clonezilla dist dir "clonezilla/" install Manual prog pxelinux.0 db thinclient set clonezilla dist dir "clonezilla/" install Manual prog pxelinux.0
 </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 189: 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 206: 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.1356359094.txt.gz
  • Dernière modification: 24/12/2012 15:24
  • de dani