Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Booter en PXE sur SysrescueCD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Wed Oct 14, 2009 2:57 pm    Post subject: [TIP] Booter en PXE sur SysrescueCD Reply with quote

Aujourd'hui, je me suis initié aux joies du boot via réseau de machines.
Outre les joyeusetés en matière d'automatisation de déploiement de linux à chapeau rouge que ça permet, on peut booter son CD préféré sur n'importe quelle machine, sans avoir à tripatouiller des lecteurs CD virtuels qui marche plus ou moins bien (surtout moins).

Bref, juste 2 liens pour rassembler les infos nécessaires:


Bref, j'ai testé le netboot en tftp, ça passe, c'est beau... sniff. :)


Pour rappel, monter un système PXE est super simple, dnsmasq faisant tout ce qu'il faut (DHCP et TFTP). Reste juste à le configurer (range d'adresses DHCP et activer le TFTP intégré) et ne pas oublier de prendre les fichiers nécessaire (pxelinux.0 & co) dans syslinux (/usr/lib/syslinux/ ici, gentoo je ne sais pas).
Exemple de fichier pour configurer le menu pxe:
Code:
default menu.c32
prompt 0
timeout 300
ONTIMEOUT local

MENU TITLE PXE Menu

LABEL SystemRescueCd 1.3.1 - 64 bits
        kernel rescuecd/rescue64
        MENU LABEL SystemRescueCd 1.3.1 - ^64 bits
        append initrd=rescuecd/initram.igz setkmap=fr docache rootpass=truc netboot=tftp://10.x.x.x/var/tftp/rescuecd/sysrcd.dat

LABEL SystemRescueCd 1.3.1 - 32 bits
        kernel rescuecd/rescue
        MENU LABEL SystemRescueCd 1.3.1 - ^32 bits
        append initrd=rescuecd/initram.igz setkmap=fr docache rootpass=truc netboot=tftp://10.x.x.x/var/tftp/rescuecd/sysrcd.dat

_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
gregool
Guru
Guru


Joined: 26 Nov 2007
Posts: 336
Location: Lille

PostPosted: Sat Oct 17, 2009 12:43 pm    Post subject: Reply with quote

Merci El_Goretto !

justement j'étais en train de bosser sur un truc similaire, ça tombe a pic !

c'est court, c'est clair et à la fin ça marche! quel bonheur :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum