wiki:jazz/11-10-13

2011-10-13

Ezilla Installer CD

  • Step 1 : 下載 ISO 檔,並將內容拷貝至工作目錄中。記得修改寫入權限,以利後續編輯。
    ~$ cd /tmp
    /tmp$ wget http://free.nchc.org.tw/debian-cd/6.0.3/i386/iso-cd/debian-6.0.3-i386-businesscard.iso -O /tmp/source.iso
    /tmp$ mkdir -p /tmp/cd_org
    /tmp$ mkdir -p /tmp/ezilla_cd
    /tmp$ sudo mount -o loop /tmp/source.iso /tmp/cd_org
    /tmp$ sudo cp -rT /tmp/cd_org /tmp/ezilla_cd
    /tmp$ sudo chmod u+w -R /tmp/ezilla_cd
    
  • Step 2 : 測試 isolinux 的選單修改
    • isolinux/menu.cfg

      diff -Nur cd_org/isolinux/menu.cfg ezilla_cd/isolinux/menu.cfg
      old new  
      44menu title Installer boot menu
      55include stdmenu.cfg
      66include txt.cfg
      7 include amdtxt.cfg
      8 include gtk.cfg
      9 include amdgtk.cfg
      10 menu begin advanced
      11   menu title Advanced options
      12   include stdmenu.cfg
      13   label mainmenu
      14     menu label ^Back..
      15     menu exit
      16   include adtxt.cfg
      17   include amdadtxt.cfg
      18   include adgtk.cfg
      19   include amdadgtk.cfg
      20   include dtmenu.cfg
      21 menu end
      22 label help
      23   menu label ^Help
      24   text help
      25    Display help screens; type 'menu' at boot prompt to return to this menu
      26   endtext
      27   config prompt.cfg
    • isolinux/stdmenu.cfg

      diff -Nur cd_org/isolinux/stdmenu.cfg ezilla_cd/isolinux/stdmenu.cfg
      old new  
      1 menu background splash.png
       1menu background ezilla.png
      22menu color title  * #FFFFFFFF *
      33menu color border * #00000000 #00000000 none
      44menu color sel    * #ffffffff #76a1d0ff *
    • isolinux/txt.cfg

      diff -Nur cd_org/isolinux/txt.cfg ezilla_cd/isolinux/txt.cfg
      old new  
      11default install
      22label install
      3   menu label ^Install
       3  menu label ^Install Ezilla
      44  menu default
      55  kernel /install.386/vmlinuz
      6   append vga=788 initrd=/install.386/initrd.gz -- quiet
       6  append auto=true priority=critical vga=788 initrd=/install.386/initrd.gz -- quiet BOOT_IMAGE=/install.i386/vmlinuz url=ezilla-nchc.sf.net netcfg/get_hostname=vm
  • Step 3 : 重新產生安裝光碟 ISO 檔
    jazz@jazzbook:/tmp$ genisoimage -r -V "ezilla" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/ezilla.iso /tmp/ezilla_cd/
    
Last modified 13 years ago Last modified on Oct 13, 2011, 4:20:46 PM

Attachments (2)

Download all attachments as: .zip