SysRescueCD 2.1.0 : boot PXE

C’est plus simple qu’avant !

Si comme moi, vous avez vos données tftp dans /tftpboot , vos fichiers web dans /var/www, et que l’adresse IP de votre serveur tftp/web est 192.168.0.1, alors … une suite de commandes sera plus compréhensible :)

 

mount sysresccd-2.1.0.iso /mnt/tmp

mkdir /tftpboot/sysresccd-2.1.0

cp -r /mnt/tmp/isolinux/* /tftpboot/sysresccd-2.1.0/

cp /mnt/tmp/sysrcd.* /var/www

mkdir /tftpboot/sysrescccd-2.1.0/pxelinux.cfg

mv /tftpboot/sysresccd-2.1.0/*.msg /tftpboot/sysresccd-2.1.0/pxelinux.cfg/

mv /tftpboot/sysresccd-2.1.0/isolinux.cfg /tftpboot/sysresccd-2.1.0/pxelinux.cfg

cd /tftpboot/sysresccd-2.1.0/pxelinux.cfg

ln -s isolinux.cfg default

sed -i -e 's;\(APPEND /*\)$;\1 setkmap=be netboot=http://192.168.0.1/sysrcd.dat rootpass=1234;' isolinux.cfg

umount /mnt/tmp

 

Et voilà, c’est terminé ! Il ne vous reste plus qu’à faire pointer votre serveur DHCP sur pour démarrer sur cette image !

This entry was posted in Computer, Linux and tagged , , , , , . Bookmark the permalink.