Changes between Version 1 and Version 2 of TipAndDoc/boot/PXE/pxelinux


Ignore:
Timestamp:
Dec 5, 2010 3:29:11 PM (14 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/boot/PXE/pxelinux

    v1 v2  
    3939it, I guess some patch for gfxboot that I still using for impress.  
    4040}}} 
     41 
     42 == 'include' chain == 
     43 * include <filename> で別のファイルに書かれたsyslinuxの設定を読み込むことが出来る 
     44 * その場合、各設定ファイルでの<filename>のパスは一致している必要がある 
     45   * PXE bootでの例 
     46     1. dhcpd.conf 
     47{{{ 
     48        filename "/pxelinux.0"; 
     49}}} 
     50     1. /srv/tftp/pxelinux.cfg/default 
     51{{{ 
     52LABEL lucid-amd64 
     53include lucid-amd64/ubuntu-installer/amd64/boot-screens/menu.cfg 
     54default lucid-amd64/ubuntu-installer/amd64/boot-screens/vesamenu.c32 
     55}}} 
     56     1. /srv/tftp/lucid-amd64/ubuntu-installer/amd64/boot-screens/menu.cfg 
     57{{{ 
     58(snip) 
     59include ubuntu-installer/amd64/boot-screens/stdmenu.cfg 
     60include ubuntu-installer/amd64/boot-screens/text.cfg 
     61(snip) 
     62}}} 
     63       * この時点で「ubuntu-installer/amd64/boot-screens/」とパスが変わっているため、正常に読み込まれない 
     64     1. /srv/tftp/lucid-amd64/ubuntu-installer/amd64/boot-screens/stdmenu.cfg (<= 正常に読み込まれない) 
     65{{{ 
     66menu background ubuntu-installer/amd64/boot-screens/splash.png 
     67(snip) 
     68}}} 
     69       * splash.pngを指定しているstdmenu.cfgが正常に読み込まれないため、Ubuntuのロゴは表示されない 
     70     1. /srv/tftp/lucid-amd64/ubuntu-installer/amd64/boot-screens/text.cfg (<= 正常に読み込まれない) 
     71{{{ 
     72default install 
     73label install 
     74        menu label ^Install 
     75        menu default 
     76        kernel ubuntu-installer/amd64/linux 
     77        append vga=normal initrd=ubuntu-installer/amd64/initrd.gz -- quiet 
     78}}} 
     79       * text.cfgも正常に読み込まれないため、kernelが指定できず、画面には以下のように表示される。 
     80{{{ 
     81Invalid or corrupt kernel image. 
     82boot: 
     83}}} 
     84     1. /srv/tftp/lucid-amd64/ubuntu-installer/amd64/boot-screens/menu.cfg に戻る 
     85     1. 以上を無限ループする 
     86       * /var/log/daemon.log 
     87{{{ 
     88Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /pxelinux.0 to 192.168.XYZ.253:2070 
     89(snip) 
     90 
     91Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /pxelinux.cfg/default to 192.168.XYZ.253:57099 
     92Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /lucid-amd64/ubuntu-installer/amd64/boot-screens/menu.cfg to 192.168.XYZ.253:57100 
     93Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/stdmenu.cfg to 192.168.XYZ.253:57101 
     94Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/text.cfg to 192.168.XYZ.253:57102 
     95Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/amdtext.cfg to 192.168.XYZ.253:57103 
     96Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/gtk.cfg to 192.168.XYZ.253:57104 
     97(snip) 
     98 
     99Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/adgtk.cfg to 192.168.XYZ.253:57109 
     100Dec  5 15:14:27 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/adamdgtk.cfg to 192.168.XYZ.253:57110 
     101Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /lucid-amd64/ubuntu-installer/amd64/boot-screens/vesamenu.c32 to 192.168.XYZ.253:57111 
     102Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /pxelinux.cfg/default to 192.168.XYZ.253:57112 
     103Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /lucid-amd64/ubuntu-installer/amd64/boot-screens/menu.cfg to 192.168.XYZ.253:57113 
     104Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/stdmenu.cfg to 192.168.XYZ.253:57114 
     105Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/text.cfg to 192.168.XYZ.253:57115 
     106Dec  5 15:14:30 ubuntu atftpd[5092]: Serving /ubuntu-installer/amd64/boot-screens/amdtext.cfg to 192.168.XYZ.253:57116 
     107}}}