{"id":37,"date":"2011-09-30T18:00:00","date_gmt":"2011-09-30T16:00:00","guid":{"rendered":"http:\/\/blog.lokizone.net\/?p=37"},"modified":"2016-06-12T11:12:15","modified_gmt":"2016-06-12T09:12:15","slug":"configurations-diverses-pour-boot-reseau-pxe","status":"publish","type":"post","link":"https:\/\/blog.lokizone.net\/?p=37","title":{"rendered":"Diverses configurations pour boot r\u00e9seau PXE"},"content":{"rendered":"<p>Fonction assez m\u00e9connue et pourtant compatible avec la plupart des cartes r\u00e9seaux m\u00eame bas de gamme, le boot d&rsquo;un ordinateur sur le r\u00e9seau depuis un serveur PXE \/ TFTP est tr\u00e8s utile. Lancer un syst\u00e8me (installeur GNU\/LINUX et autres live CD) en RAM depuis le r\u00e9seau est plus performant que le boot depuis des supports physiques tels que CD\/DVD ou cl\u00e9 USB.<\/p>\n<p>Voici l&rsquo;\u00e9cran d&rsquo;accueil du mien:<br \/>\n<a href=\"https:\/\/blog.lokizone.net\/wp-content\/uploads\/2010\/02\/PXE-Booloki.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.lokizone.net\/wp-content\/uploads\/2010\/02\/PXE-Booloki.png\" alt=\"PXE Boot Menu\" title=\"PXE-Booloki\" width=\"638\" height=\"479\" class=\"aligncenter size-full wp-image-118\" srcset=\"https:\/\/blog.lokizone.net\/wp-content\/uploads\/2010\/02\/PXE-Booloki.png 638w, https:\/\/blog.lokizone.net\/wp-content\/uploads\/2010\/02\/PXE-Booloki-300x225.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><\/p>\n<p>La doc pour faire tourner un serveur PXE \/ FTTP est assez fournie sur le web. Je n&rsquo;aborderai pas le sujet. Personnellement, j&rsquo;utilise <a href=\"http:\/\/packages.debian.org\/lenny\/tftpd-hpa\" hreflang=\"en\">tftpd-hpa sous Debian<\/a>.<\/p>\n<p>Par contre, il est plus difficile de trouver des options correctes pour fournir le service correctement (langue, keymap,&#8230;). Je met donc \u00e0 dispo mes configurations, \u00e7a servira bien \u00e0 quelqu&rsquo;un.<\/p>\n<p><!--more--><\/p>\n<p>Cette configuration est bas\u00e9e sur un fichier de menu <em>P\u00e8re<\/em> charg\u00e9 de la mise en page et de la gestion des menus principaux. Chaque menus principal est li\u00e9 \u00e0 un fichier de configuration &lsquo;fils&rsquo;.<br \/>\nNote: <\/p>\n<ul>\n<ol>SERVER_IP = IP du serveur NFS (et web dans certains cas pour fournir le squashfs)<\/ol>\n<ol>ISO_MOUNT_PATH = chemin du montage NFS de l&rsquo;iso (ex: \/media\/iso) <\/ol>\n<\/ul>\n<h2>Ubuntu<\/h2>\n<p>Le <a href=\"http:\/\/doc.ubuntu-fr.org\/cd_ubuntu-fr\" hreflang=\"fr\">liveCD Ubuntu-fr<\/a> et les <a href=\"http:\/\/doc.ubuntu-fr.org\/installation\/internet\" hreflang=\"fr\">netinstall<\/a><\/p>\n<p><code><br \/>\n       menu begin Natty Narwhal<br \/>\n               menu title Natty 11.04<br \/>\n                       label mainmenu<br \/>\n                               menu label ^Retour...<br \/>\n                               menu exit<br \/>\n                       DEFAULT  Live Natty amd64<br \/>\n                        label Live Natty i386<br \/>\n                                menu label ^Live i386<br \/>\n                                kernel ubuntu\/natty\/i386\/live\/vmlinuz<br \/>\n                                append boot=casper netboot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH initrd=ubuntu\/natty\/i386\/live\/initrd.lz locale=fr_FR console-setup\/layoutcode=fr splash=silent<br \/>\n                        label Live Natty amd64<br \/>\n                                menu label ^Live amd64<br \/>\n                                kernel ubuntu\/natty\/amd64\/live\/vmlinuz<br \/>\n                                append boot=casper netboot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH lang=fr initrd=ubuntu\/natty\/amd64\/live\/initrd.lz kbdmap=fr keymap=azerty splash=silent locale=fr_FR bootkbd=fr console-setup\/layoutcode=fr console-setup\/variantcode=nodeadkeys<br \/>\n                        LABEL Natty i386 GTK (Test)<br \/>\n                                kernel ubuntu\/natty\/i386\/linux-gtk<br \/>\n                                append video=vesa:ywrap,mtrr vga=normal initrd=ubuntu\/natty\/i386\/initrd-gtk.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty amd64 GTK (Test)<br \/>\n                                kernel ubuntu\/natty\/amd64\/linux<br \/>\n                                append vga=normal initrd=ubuntu\/natty\/amd64\/initrd-gtk.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty i386<br \/>\n                                kernel ubuntu\/natty\/i386\/linux<br \/>\n                                append vga=normal initrd=ubuntu\/natty\/i386\/initrd.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty amd64<br \/>\n                                kernel ubuntu\/natty\/amd64\/linux<br \/>\n                                append vga=normal initrd=ubuntu\/natty\/amd64\/initrd.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty i386 server<br \/>\n                                kernel ubuntu\/natty\/i386\/linux<br \/>\n                                append base-installer\/kernel\/linux\/extra-packages-2.6= pkgsel\/install-pattern=~t^ubuntu-standard$ pkgsel\/language-pack-patterns= pkgsel\/install-language-support=false vga=normal initrd=ubuntu\/natty\/i386\/initrd.gz<br \/>\n                        LABEL Natty amd64 server<br \/>\n                                kernel ubuntu\/natty\/amd64\/linux<br \/>\n                                append base-installer\/kernel\/linux\/extra-packages-2.6= pkgsel\/install-pattern=~t^ubuntu-standard$ pkgsel\/language-pack-patterns= pkgsel\/install-language-support=false vga=normal initrd=ubuntu\/natty\/amd64\/initrd.gz<br \/>\n                        LABEL Natty i386 expert<br \/>\n                                kernel ubuntu\/natty\/i386\/linux<br \/>\n                                append DEBCONF_PRIORITY=low vga=normal initrd=ubuntu\/natty\/i386\/initrd.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty amd64 expert<br \/>\n                                kernel ubuntu\/natty\/amd64\/linux<br \/>\n                                append DEBCONF_PRIORITY=low vga=normal initrd=ubuntu\/natty\/amd64\/initrd.gz ramdisk_size=16464 root=\/dev\/rd\/0 rw  --<br \/>\n                        LABEL Natty i386 server-expert<br \/>\n                                kernel ubuntu\/natty\/i386\/linux<br \/>\n                                append base-installer\/kernel\/linux\/extra-packages-2.6= pkgsel\/install-pattern=~t^ubuntu-standard$ pkgsel\/language-pack-patterns= pkgsel\/install-language-support=false DEBCONF_PRIORITY=low vga=norma$<br \/>\n                        LABEL Natty amd64 server-expert<br \/>\n                                kernel ubuntu\/natty\/amd64\/linux<br \/>\n                                append base-installer\/kernel\/linux\/extra-packages-2.6= pkgsel\/install-pattern=~t^ubuntu-standard$ pkgsel\/language-pack-patterns= pkgsel\/install-language-support=false DEBCONF_PRIORITY=low vga=norma$<br \/>\n               menu end<\/code><\/p>\n<h2>Debian Squeeze amd64<\/h2>\n<p><code><br \/>\ndefault install<br \/>\nlabel install<br \/>\n\tmenu label ^Install<br \/>\n\tmenu default<br \/>\n\tkernel debian\/squeeze\/amd64\/linux<br \/>\n\tappend vga=normal initrd=debian\/squeeze\/amd64\/initrd.gz -- quiet<br \/>\nlabel expert<br \/>\n\tmenu label ^Expert install<br \/>\n\tkernel debian\/squeeze\/amd64\/linux<br \/>\n\tappend priority=low vga=normal initrd=debian\/squeeze\/amd64\/initrd.gz --<br \/>\nlabel rescue<br \/>\n\tmenu label ^Rescue mode<br \/>\n\tkernel debian\/squeeze\/linux<br \/>\n\tappend vga=normal initrd=debian\/squeeze\/amd64\/initrd.gz rescue\/enable=true -- quiet<br \/>\nlabel auto<br \/>\n\tmenu label ^Automated install<br \/>\n\tkernel debian\/squeeze\/amd64\/linux<br \/>\n\tappend auto=true priority=critical vga=normal initrd=debian\/squeeze\/amd64\/initrd.gz -- quiet<br \/>\n<\/code><\/p>\n<h2>XBMC<\/h2>\n<p><code><br \/>\n        LABEL XBMCLive Camelot<br \/>\n          MENU LABEL XBMC Live<br \/>\n          KERNEL xbmc\/xbmc-9.11\/vmlinuz<br \/>\n          APPEND initrd=xbmc\/xbmc-9.11\/initrd.img root=\/dev\/nfs boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH boot=live fetch=http:\/\/SERVER_IP\/filesystem-xbmc911.squashfs vga=788 xbmc=tempfs,nodiskmount,setvolume splash loglevel=2 quickreboot quickusbmodules notimezone noaccessibility noapparmor noaptcdrom noautologin noxautologin noconsolekeyboard nofastboot nognomepanel nohosts nokpersonalizer nolanguageselector nolocales nonetworking nopowermanagement noprogramcrashes nojockey nosudo noupdatenotifier nouser nopolkitconf noxautoconfig noxscreensaver nopreseed<\/p>\n<p>        LABEL XBMCLive Dharma Beta4<br \/>\n          MENU LABEL XBMC Live Beta<br \/>\n          KERNEL xbmc\/xbmc-DharmaB4\/vmlinuz<br \/>\n          APPEND initrd=xbmc\/xbmc-DharmaB4\/initrd.img root=\/dev\/nfs boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH boot=live fetch=http:\/\/SERVER_IP\/filesystem-xbmcdharmab4.squashfs video=vesafb boot=live xbmc=autostart,nodiskmount splash loglevel=2 quickreboot quickusbmodules notimezone noaccessibility noapparmor noaptcdrom noauto<br \/>\n<\/code><\/p>\n<h2>Geexbox<\/h2>\n<p><code><br \/>\n        DEFAULT Live HDTV<\/p>\n<p>        LABEL Geexbox x86_64<br \/>\n          MENU LABEL Live<br \/>\n          KERNEL geexbox\/1.2.4-x86_64\/vmlinuz<br \/>\n          APPEND initrd=geexbox\/1.2.4-x86_64\/initrd.gz root=\/dev\/ram0 rw rdinit=linuxrc boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH\/GEEXBOX lang=fr remote=atiusb receiver=atiusb keymap=azerty splash=silent video=vesafb:ywrap,mtrr quiet<\/p>\n<p>        LABEL hdtv<br \/>\n          MENU DEFAULT<br \/>\n          MENU LABEL Live HDTV<br \/>\n          KERNEL geexbox\/1.2.4-x86_64\/vmlinuz<br \/>\n          APPEND initrd=geexbox\/1.2.4-x86_64\/initrd.gz root=\/dev\/ram0 rw rdinit=linuxrc boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH\/GEEXBOX lang=fr remote=atiusb receiver=atiusb keymap=azerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv quiet<\/p>\n<p>        LABEL install<br \/>\n          MENU LABEL Install<br \/>\n          KERNEL geexbox\/1.2.4-x86_64\/vmlinuz<br \/>\n          APPEND initrd=geexbox\/1.2.4-x86_64\/initrd.gz root=\/dev\/ram0 rw rdinit=linuxrc boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH\/GEEXBOX lang=fr remote=atiusb receiver=atiusb keymap=azerty splash=silent vga=789 video=vesafb:ywrap,mtrr installator quiet<\/p>\n<p>MENU SEPARATOR<\/p>\n<p>        LABEL debug<br \/>\n          MENU LABEL Live debug<br \/>\n          KERNEL geexbox\/1.2.4-x86_64\/vmlinuz<br \/>\n          APPEND initrd=geexbox\/1.2.4-x86_64\/initrd.gz root=\/dev\/ram0 rw rdinit=linuxrc boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH\/GEEXBOX lang=fr remote=atiusb receiver=atiusb keymap=azerty splash=0 vga=789 video=vesafb:ywrap,mtrr debugging<\/p>\n<p>        LABEL hdtvdebug<br \/>\n          MENU LABEL Live HDTV debug<br \/>\n          KERNEL geexbox\/1.2.4-x86_64\/vmlinuz<br \/>\n          APPEND initrd=geexbox\/1.2.4-x86_64\/initrd.gz root=\/dev\/ram0 rw rdinit=linuxrc boot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH\/GEEXBOX lang=fr remote=atiusb receiver=atiusb keymap=azerty splash=0 vga=789 video=vesafb:ywrap,mtrr hdtv debugging<br \/>\nmenu end<br \/>\n<\/code><\/p>\n<h2>Gparted<\/h2>\n<p><code><br \/>\nlabel GParted Live 0.7.1-5<br \/>\n  menu label GParted Live 0.7.1-5<br \/>\n  kernel gparted\/0.7.1-5\/vmlinuz<br \/>\n  append initrd=gparted\/0.7.1-5\/initrd.img boot=live config noswap noprompt lang=fr fetch=http:\/\/SERVER_IP\/filesystem-parted_live_0.7.1-5.squashfs<br \/>\n TEXT HELP<br \/>\n  * GParted live version: 0.7.1-5. Live version maintainer: Steven Shiau<br \/>\n  ENDTEXT<\/p>\n<p>label GParted Live 0.5.1-1<br \/>\n  menu label GParted Live 0.5.1-1<br \/>\n  kernel gparted\/0.5.1-1\/vmlinuz<br \/>\n  append initrd=gparted\/0.5.1-1\/initrd.img boot=live union=aufs noswap noprompt vga=788 lang=fr fetch=http:\/\/SERVER_IP\/filesystem-parted_live_0.5.1-1.squashfs<br \/>\n<\/code><\/p>\n<h2>Clonezilla<\/h2>\n<p><code><br \/>\nlabel Clonezilla<br \/>\n\tMENU LABEL Clonezilla Live 1.2.3-27<br \/>\n\tkernel clonezilla\/1.2.3-27\/vmlinuz<br \/>\n\tappend initrd=clonezilla\/1.2.3-27\/initrd.img boot=live union=aufs noswap noprompt vga=788 fetch=http:\/\/SERVER_IP\/filesystem-clonezilla12327.squashfs<br \/>\n<\/code><\/p>\n<h2>Backtrack<\/h2>\n<p><code><br \/>\nlabel Live Backtrack<br \/>\n\tmenu label ^Live Backtrack 5<br \/>\n\tkernel backtrack\/5-GNOME-32\/vmlinuz<br \/>\n\tappend boot=casper netboot=nfs nfsroot=SERVER_IP:ISO_MOUNT_PATH initrd=backtrack\/5-GNOME-32\/initrd.gz<br \/>\n<\/code><\/p>\n<h2>DBAN (Darik&rsquo;s Boot and Nuke)<\/h2>\n<p><code><br \/>\nlabel Darik's Boot and Nuke<br \/>\n        menu Darik's Boot and Nuke<br \/>\n        kernel dban\/1.0.7\/i386\/kernel.bzi<br \/>\n        APPEND initrd=dban\/1.0.7\/i386\/initrd.gz root=\/dev\/ram0<br \/>\n<\/code><\/p>\n<h2>BONUS<\/h2>\n<p>Samoura\u00ef Tux special PXE <div id=\"attachment_326\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.lokizone.net\/wp-content\/uploads\/2011\/09\/splash-tux.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-326\" src=\"https:\/\/blog.lokizone.net\/wp-content\/uploads\/2011\/09\/splash-tux-150x150.png\" alt=\"PXE-splash\" width=\"150\" height=\"150\" class=\"size-thumbnail wp-image-326\" \/><\/a><p id=\"caption-attachment-326\" class=\"wp-caption-text\">PXE-splash: 8 bit colors<\/p><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fonction assez m\u00e9connue et pourtant compatible avec la plupart des cartes r\u00e9seaux m\u00eame bas de gamme, le boot d&rsquo;un ordinateur sur le r\u00e9seau depuis un serveur PXE \/ TFTP est tr\u00e8s utile. Lancer un syst\u00e8me (installeur GNU\/LINUX et autres live CD) en RAM depuis le r\u00e9seau est plus performant que le boot depuis des supports physiques tels que CD et DVD.<\/p>\n<p>Voici l&rsquo;\u00e9cran d&rsquo;accueil du mien:<\/p>\n<p><a href=\"\/public\/PXE-Boolet.png\"><img decoding=\"async\" src=\"\/public\/.\/.PXE-Boolet_m.jpg\" alt=\"PXE-Boolet.png\" style=\"display:block; margin:0 auto;\" title=\"PXE-Boolet.png, f\u00e9v 2010\" \/><\/a><\/p>\n<p>La doc pour faire tourner un serveur PXE \/ FTTP est assez fournie sur le web. Je n&rsquo;aborderai pas le sujet. Personnellement, j&rsquo;utilise <a href=\"http:\/\/packages.debian.org\/lenny\/tftpd-hpa\" hreflang=\"en\">tftpd-hpa sous Debian<\/a>.<\/p>\n<p>Par contre, il plus difficile de trouver des options correctes pour fournir le service correctement (langue, keymap,&#8230;). Je met donc \u00e0 dispo mes configurations, \u00e7a servira bien \u00e0 quelqu&rsquo;un.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[32,31,33,27,29,30,11,9,34,22,14,28],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-backtrack","tag-clonezilla","tag-dban","tag-debian","tag-geexbox","tag-gparted","tag-hardware","tag-linux","tag-pxe","tag-serveur","tag-ubuntu","tag-xbmc"],"_links":{"self":[{"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":12,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lokizone.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}