| 1 | '''Requirements:''' |
| 2 | - System with DHCP & TFTP setup |
| 3 | - Stresslinux x86_64 (for now the development build 0.7.177) |
| 4 | (32bit version is not supported and you can expect problems with it!) |
| 5 | - A host to run stresslinux on (x86_64 architecture and enough memory - 1.5GB required, because image is loaded completly to RAM). |
| 6 | |
| 7 | '''HowTo:''' |
| 8 | |
| 9 | If you are a first time user and have a clean /tftpboot directory (or directory you setup in your tftp configuration), |
| 10 | you can copy all files and directory to /tftpboot. |
| 11 | |
| 12 | Your dhcp configuration needs to call pxelinux.0 (filename "/pxelinux.0";). |
| 13 | |
| 14 | Check the default KIWI configuration (-> KIWI/config.default) and change the IP 10.10.10.1 |
| 15 | to the IP of your tftp server. |
| 16 | |
| 17 | You may also change image filename and version in this file, when later releases will change |
| 18 | their filename or version. |
| 19 | |
| 20 | Download stresslinux pxe edition (currently from testing directory |
| 21 | -> http://www.stresslinux.org/testing/images/stresslinux_11.4.x86_64-0.7.177-Build5.2-pxe.tar.bz2) |
| 22 | and extract it in image/ directory. |
| 23 | {{{ |
| 24 | wget http://www.stresslinux.org/testing/images/stresslinux_11.4.x86_64-0.7.177-Build5.2-pxe.tar.bz2) -O /tftpboot/image/stresslinux_11.4.x86_64-0.7.177-Build5.2-pxe.tar.bz2 |
| 25 | cd /tftpboot/image |
| 26 | tar xfj stresslinux_11.4.x86_64-0.7.177-Build5.2-pxe.tar.bz2 |
| 27 | }}} |
| 28 | |
| 29 | Get the expected ramdisk size from image with the following command: |
| 30 | {{{ |
| 31 | gunzip -l stresslinux_11.4.x86_64-0.7.177.gz |tail -n1|awk '{print $2 / 1024 + 1024}' |
| 32 | }}} |
| 33 | |
| 34 | You will get a value similar to: 1111040 |
| 35 | |
| 36 | Edit pxelinux.cfg/default file an replace current ramdisk_size with this value. |
| 37 | |
| 38 | In general this should be all. |
| 39 | |
| 40 | Initiate a PXE boot on a PXE capable system with enough memory (1.5GB for now). |
| 41 | |
| 42 | After initial dhcp request of your network card, the should popup a menu system |
| 43 | with stresslinux and localboot option. Select stresslinux and it should |
| 44 | start up, like it's booting from USB or CD. |