Changes between Initial Version and Version 1 of PXE_Boot_HowTo


Ignore:
Timestamp:
02/02/12 21:59:04 (13 years ago)
Author:
stresslinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PXE_Boot_HowTo

    v1 v1  
     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 
     9If you are a first time user and have a clean /tftpboot directory (or directory you setup in your tftp configuration), 
     10you can copy all files and directory to /tftpboot. 
     11 
     12Your dhcp configuration needs to call pxelinux.0 (filename "/pxelinux.0";). 
     13 
     14Check the default KIWI configuration (-> KIWI/config.default) and change the IP 10.10.10.1 
     15to the IP of your tftp server. 
     16 
     17You may also change image filename and version in this file, when later releases will change 
     18their filename or version. 
     19 
     20Download 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) 
     22and 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 
     29Get the expected ramdisk size from image with the following command: 
     30{{{ 
     31gunzip -l stresslinux_11.4.x86_64-0.7.177.gz |tail -n1|awk '{print $2 / 1024 + 1024}' 
     32}}} 
     33 
     34You will get a value similar to: 1111040 
     35 
     36Edit pxelinux.cfg/default file an replace current ramdisk_size with this value. 
     37 
     38In general this should be all. 
     39 
     40Initiate a PXE boot on a PXE capable system with enough memory (1.5GB for now). 
     41 
     42After initial dhcp request of your network card, the should popup a menu system 
     43with stresslinux and localboot option. Select stresslinux and it should 
     44start up, like it's booting from USB or CD.