Serveur PXE · 1 min read · Nov 29, 2025
Configuration d'un serveur d'installation PXE pour plusieurs distributions Linux avec Ubuntu Edgy Eft - Page 4
7 Ajouter Debian Sarge Netboot
Ensuite, nous téléchargeons les fichiers netboot de Debian Sarge et les plaçons dans /var/lib/tftpboot/debian/sarge comme ceci :
cd /tmp
lftp -c "open http://ftp.de.debian.org/debian/dists/sarge/main/installer-i386/current/images/; mirror netboot/"
cd netboot/
mv debian-installer/ sarge
mkdir /var/lib/tftpboot/debian
mv sarge /var/lib/tftpboot/debian/(Vous pouvez télécharger les fichiers depuis n’importe quel autre miroir Debian également. Utilisez un qui est proche de chez vous.)
Ensuite, ouvrez à nouveau pxelinux.cfg/default comme décrit au chapitre 6, copiez les sections LABEL, modifiez-les et ajoutez-les à /var/lib/tftpboot/pxelinux.cfg/default. /var/lib/tftpboot/pxelinux.cfg/default devrait maintenant ressembler à ceci :
vi /var/lib/tftpboot/pxelinux.cfg/default| DISPLAY boot.txt DEFAULT edgy_i386_install LABEL edgy_i386_install kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_linux kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_server kernel ubuntu/edgy/i386/linux 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/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_expert kernel ubuntu/edgy/i386/linux append priority=low vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_server-expert kernel ubuntu/edgy/i386/linux append base-installer/kernel/linux/extra-packages-2.6= pkgsel/install-pattern=~t^ubuntu-standard$ pkgsel/language-pack-patterns= pkgsel/install-language-support=false priority=low vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw -- LABEL edgy_i386_rescue kernel ubuntu/edgy/i386/linux append vga=normal initrd=ubuntu/edgy/i386/initrd.gz ramdisk_size=16417 root=/dev/ram rw rescue/enable=true -- LABEL dapper_i386_install kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_linux kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_server kernel ubuntu/dapper/i386/linux 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/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_expert kernel ubuntu/dapper/i386/linux append DEBCONF_PRIORITY=low vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_server-expert kernel ubuntu/dapper/i386/linux 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=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw -- LABEL dapper_i386_rescue kernel ubuntu/dapper/i386/linux append vga=normal initrd=ubuntu/dapper/i386/initrd.gz ramdisk_size=14332 root=/dev/rd/0 rw rescue/enable=true -- LABEL sarge_i386_linux kernel debian/sarge/i386/linux append vga=normal initrd=debian/sarge/i386/initrd.gz ramdisk_size=9458 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_expert kernel debian/sarge/i386/linux append DEBCONF_PRIORITY=low vga=normal initrd=debian/sarge/i386/initrd.gz ramdisk_size=9458 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_linux26 kernel debian/sarge/i386/2.6/linux append vga=normal initrd=debian/sarge/i386/2.6/initrd.gz ramdisk_size=10938 root=/dev/rd/0 devfs=mount,dall rw -- LABEL sarge_i386_expert26 kernel debian/sarge/i386/2.6/linux append DEBCONF_PRIORITY=low vga=normal initrd=debian/sarge/i386/2.6/initrd.gz ramdisk_size=10938 root=/dev/rd/0 devfs=mount,dall rw --
Supprimez /tmp/netboot :
cd /tmp/
rm -fr netboot/et ajoutez les nouvelles options d’installation à /var/lib/tftpboot/boot.txt :
vi /var/lib/tftpboot/boot.txt| Options de démarrage disponibles : ======================= edgy_i386_install edgy_i386_linux edgy_i386_server edgy_i386_expert edgy_i386_server-expert edgy_i386_rescue dapper_i386_install dapper_i386_linux dapper_i386_server dapper_i386_expert dapper_i386_server-expert dapper_i386_rescue sarge_i386_linux sarge_i386_expert sarge_i386_linux26 sarge_i386_expert26 |
Recevez de nouveaux articles dans votre boîte de réception.
Aucun spam. Désabonnez-vous à tout moment.