Différences
Ci-dessous, les différences entre deux révisions de la page.
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 [29/07/2011 16:56] dani [CentOS 6] |
tuto:ipasserelle:divers:boot_pxe [23/12/2014 15:10] (Version actuelle) dani [Ubuntu] |
||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
< | < | ||
cd /tmp | cd /tmp | ||
- | wget http:// | + | wget http:// |
- | tar xvjf syslinux-3.86.tar.bz2 | + | tar xvjf syslinux-5.00.tar.bz2 |
- | cd syslinux-3.86 | + | cd syslinux-5.00 |
cp core/ | cp core/ | ||
cp com32/ | cp com32/ | ||
Ligne 59: | Ligne 59: | ||
mkdir / | mkdir / | ||
cd /tmp/ | cd /tmp/ | ||
- | wget http:// | + | wget http:// |
- | unzip gparted-live-0.5.2-9.zip -d / | + | unzip gparted-live-0.16.1-1-i686-pae.zip -d / |
- | rm -f gparted-live-0.5.2-9.zip | + | rm -f gparted-live-0.16.1-1-i686-pae.zip |
cd / | cd / | ||
cp -a ../ | cp -a ../ | ||
Ligne 74: | Ligne 74: | ||
label gparted | label gparted | ||
kernel live/ | kernel live/ | ||
- | append initrd=live/ | + | append initrd=live/ |
</ | </ | ||
Ligne 82: | Ligne 82: | ||
db thinclient set gparted dist dir " | db thinclient set gparted dist dir " | ||
</ | </ | ||
- | |||
===== Clonezilla ===== | ===== Clonezilla ===== | ||
- | Télécharger la dernière version de l'ISO (en archive zip) de clonzilla-live depuis ici: http:// | + | |
- | <code bash> | + | |
- | mkdir / | + | Télécharger la dernière version de l'ISO (en archive zip) de clonzilla-live depuis ici: http:// |
+ | |||
+ | <code bash> | ||
cd /tmp/ | cd /tmp/ | ||
- | wget http:// | + | wget "http:// |
- | unzip clonezilla-live-1.2.4-28-686.zip -d / | + | unzip clonezilla-live-2.0.1-15-i686-pae.zip -d / |
- | rm -f clonezilla-live-1.2.4-28-686.zip | + | rm -f clonezilla-live-2.0.1-15-i686-pae.zip |
cd / | cd / | ||
cp -a ../ | cp -a ../ | ||
Ligne 96: | Ligne 97: | ||
vim pxelinux.cfg/ | vim pxelinux.cfg/ | ||
</ | </ | ||
+ | |||
+ | |||
Puis, placer ce code dans le fichier default: | Puis, placer ce code dans le fichier default: | ||
+ | |||
+ | |||
< | < | ||
default clonezilla | default clonezilla | ||
Ligne 102: | Ligne 107: | ||
label clonezilla | label clonezilla | ||
- | | + | |
- | append initrd=live/ | + | append initrd=live/ |
</ | </ | ||
+ | |||
Il ne reste plus qu'à définir clonezilla en tant que distribution dans le panel ThinClient | Il ne reste plus qu'à définir clonezilla en tant que distribution dans le panel ThinClient | ||
+ | |||
+ | |||
<code bash> | <code bash> | ||
db thinclient set clonezilla dist dir " | db thinclient set clonezilla dist dir " | ||
</ | </ | ||
- | |||
===== Ubuntu ===== | ===== Ubuntu ===== | ||
- | Télécharger l' | + | Télécharger l' |
<code bash> | <code bash> | ||
mkdir -p /tmp/ubuntu | mkdir -p /tmp/ubuntu | ||
- | mkdir -p / | + | mkdir -p / |
cd /tmp/ubuntu | cd /tmp/ubuntu | ||
- | wget http:// | + | wget http:// |
tar xvzf netboot.tar.gz | tar xvzf netboot.tar.gz | ||
- | mv ./* / | + | mv ./* / |
</ | </ | ||
Puis ajouter la distribution: | Puis ajouter la distribution: | ||
<code bash> | <code bash> | ||
- | db thinclient set lucid-64b dist dir " | + | db thinclient set vivid-64b dist dir " |
</ | </ | ||
Ligne 145: | Ligne 151: | ||
label CentOS 5 x86_64 | label CentOS 5 x86_64 | ||
- | | + | |
- | | + | |
EOF | EOF | ||
Ligne 182: | Ligne 188: | ||
label CentOS 6 x86_64 | label CentOS 6 x86_64 | ||
| | ||
- | | + | |
EOF | EOF | ||
Ligne 199: | Ligne 205: | ||
<code bash> | <code bash> | ||
db thinclient set centos-6-x86_64 dist dir " | db thinclient set centos-6-x86_64 dist dir " | ||
+ | </ | ||
+ | |||
+ | ===== CentOS 7 ===== | ||
+ | |||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | cd / | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | cp -a / | ||
+ | mkdir pxelinux.cfg | ||
+ | cat <<' | ||
+ | default menu.c32 | ||
+ | prompt 0 | ||
+ | timeout 1 | ||
+ | hiddenmenu | ||
+ | |||
+ | label CentOS 7 x86_64 | ||
+ | | ||
+ | | ||
+ | |||
+ | EOF | ||
+ | |||
+ | cat <<' | ||
+ | |||
+ | label CentOS 7 x86_64 | ||
+ | | ||
+ | | ||
+ | |||
+ | EOF | ||
+ | |||
+ | </ | ||
+ | |||
+ | Puis ajouter la distribution: | ||
+ | <code bash> | ||
+ | db thinclient set centos-7-x86_64 dist dir " | ||
</ | </ |