| 1 | = 無人值守自動安裝 Ubuntu 光碟 = |
| 2 | |
| 3 | * <參考文件> [https://help.ubuntu.com/community/InstallCDCustomization Install CD Customization (客製化安裝光碟)] |
| 4 | * <備註一> 文件中提到這種方式是針對 Alternative 或 Server 版本的安裝光碟,因此不適用 Desktop 版本的安裝光碟。 |
| 5 | * <筆記一> 文件中第一段提到 Ubuntu 從 6.06 版以後的 Alternative 與 Server 版本安裝光碟,目錄結構大致上包含三部份。以下採用 Ubuntu 10.10 PC (Intel x86) alternate install CD 為例: |
| 6 | {{{ |
| 7 | ~$ lsb_release -a |
| 8 | No LSB modules are available. |
| 9 | Distributor ID: Ubuntu |
| 10 | Description: Ubuntu 10.04.1 LTS |
| 11 | Release: 10.04 |
| 12 | Codename: lucid |
| 13 | ~$ wget http://free.nchc.org.tw/ubuntu-cd/10.10/ubuntu-10.10-alternate-i386.iso |
| 14 | ~$ mkdir -p /opt/cd-image |
| 15 | ~$ sudo mount -o loop ubuntu-10.10-alternate-i386.iso /opt/cd-image |
| 16 | ~$ ls -al /opt/cd-image |
| 17 | 總計 203 |
| 18 | dr-xr-xr-x 11 root root 2048 2010-10-07 23:48 . |
| 19 | drwxrwxrwx 12 root root 4096 2011-10-26 17:07 .. |
| 20 | dr-xr-xr-x 3 root root 2048 2010-10-07 23:48 boot |
| 21 | -r-xr-xr-x 1 root root 1118 2010-10-04 23:27 cdromupgrade |
| 22 | dr-xr-xr-x 2 root root 2048 2010-10-07 23:47 .disk |
| 23 | dr-xr-xr-x 3 root root 2048 2010-10-07 23:47 dists |
| 24 | dr-xr-xr-x 3 root root 2048 2010-10-07 23:47 doc |
| 25 | dr-xr-xr-x 3 root root 2048 2010-10-07 23:48 install |
| 26 | dr-xr-xr-x 2 root root 16384 2010-10-07 23:48 isolinux |
| 27 | -r--r--r-- 1 root root 166833 2010-10-07 23:49 md5sum.txt |
| 28 | dr-xr-xr-x 2 root root 2048 2010-10-07 23:47 pics |
| 29 | dr-xr-xr-x 3 root root 2048 2010-10-07 23:47 pool |
| 30 | dr-xr-xr-x 2 root root 2048 2010-10-07 23:47 preseed |
| 31 | -r--r--r-- 1 root root 227 2010-10-07 23:47 README.diskdefines |
| 32 | lr-xr-xr-x 1 root root 1 2010-10-07 23:47 ubuntu -> . |
| 33 | }}} |