Changes between Version 15 and Version 16 of jazz/preseed_ubuntu


Ignore:
Timestamp:
Oct 27, 2011, 2:57:26 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/preseed_ubuntu

    v15 v16  
    147147  append  preseed/file=/cdrom/preseed/ezilla.seed debian-installer/locale=zh_TW initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram rw quiet --
    148148}}}
     149 * 接著複製我們想要的 preseed 設定檔到 preseed 目錄下,還有 ISO 背景圖檔(如 ezilla.png)。
     150{{{
     151~$ sudo wget http://ezilla-nchc.sf.net/d-i/squeeze/preseed.cfg -O /opt/cd-image/preseed/ezilla.seed
     152~$ sudo wget http://trac.nchc.org.tw/grid/raw-attachment/wiki/jazz/11-10-13/ezilla.png -O /opt/cd-image/isolinux/ezilla.png
     153}}}
     154 * 最後重新產生光碟片 ISO 檔
     155{{{
     156~$ cat > mk_custom_cd << EOF
     157#!/bin/bash
     158IMAGE=custom.iso
     159BUILD=/opt/cd-image/
     160
     161mkisofs -r -V "Ezilla Install CD" \
     162            -cache-inodes \
     163            -J -l -b isolinux/isolinux.bin \
     164            -c isolinux/boot.cat -no-emul-boot \
     165            -boot-load-size 4 -boot-info-table \
     166            -o \$IMAGE \$BUILD
     167EOF
     168~$ chmod a+x mk_custom_cd
     169~$ sudo ./mk_custom_cd
     170}}}
    149171
    150172== 備忘 ==