close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 27, 2011, 2:57:26 PM (14 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v15
|
v16
|
|
| 147 | 147 | append preseed/file=/cdrom/preseed/ezilla.seed debian-installer/locale=zh_TW initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram rw quiet -- |
| 148 | 148 | }}} |
| | 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 |
| | 158 | IMAGE=custom.iso |
| | 159 | BUILD=/opt/cd-image/ |
| | 160 | |
| | 161 | mkisofs -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 |
| | 167 | EOF |
| | 168 | ~$ chmod a+x mk_custom_cd |
| | 169 | ~$ sudo ./mk_custom_cd |
| | 170 | }}} |
| 149 | 171 | |
| 150 | 172 | == 備忘 == |