Changes between Version 3 and Version 4 of jazz/preseed_ubuntu


Ignore:
Timestamp:
Oct 27, 2011, 10:55:12 AM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/preseed_ubuntu

    v3 v4  
    1818~$ wget http://free.nchc.org.tw/ubuntu-cd/10.10/ubuntu-10.10-alternate-i386.iso
    1919~$ mkdir -p /opt/cd-image
    20 ~$ sudo mount -o loop ubuntu-10.10-alternate-i386.iso /opt/cd-image
    21 ~$ ls -al /opt/cd-image
     20~$ sudo mount -o loop ubuntu-10.10-alternate-i386.iso /cdrom
     21~$ ls -al /cdrom
    2222總計 203
    2323dr-xr-xr-x 11 root root   2048 2010-10-07 23:48 .
    2424drwxrwxrwx 12 root root   4096 2011-10-26 17:07 ..
    25 dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 boot
     25dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 boot                    ### (1)
    2626-r-xr-xr-x  1 root root   1118 2010-10-04 23:27 cdromupgrade
    27 dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 .disk
    28 dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 dists
     27dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 .disk                   ### (2)
     28dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 dists                   ### (3)
    2929dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 doc
    30 dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 install
    31 dr-xr-xr-x  2 root root  16384 2010-10-07 23:48 isolinux
     30dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 install                 ### (1)
     31dr-xr-xr-x  2 root root  16384 2010-10-07 23:48 isolinux                ### (1)
    3232-r--r--r--  1 root root 166833 2010-10-07 23:49 md5sum.txt
    3333dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 pics
    34 dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 pool
    35 dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 preseed
     34dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 pool                    ### (3)
     35dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 preseed                 ### (2)
    3636-r--r--r--  1 root root    227 2010-10-07 23:47 README.diskdefines
    37 lr-xr-xr-x  1 root root      1 2010-10-07 23:47 ubuntu -> .
     37lr-xr-xr-x  1 root root      1 2010-10-07 23:47 ubuntu -> .             ### (3)
    3838}}}
    3939 * 第一個部份是 Boot Loader - 之後要改變開機時看到的第一個畫面,就是改這一個部份。
     
    4141boot-loader (ISOLINUX on AMD64/x86 systems, yaboot on PowerPC) and its configuration (which starts everything up);
    4242}}}
    43   * 從 10.10 alternative cd 的結構來看,主要包括這幾個目錄:
     43 * 從 10.10 alternative cd 的結構來看,主要包括這兩個目錄:
    4444{{{
    45 dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 preseed
     45dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 boot
     46dr-xr-xr-x  2 root root  16384 2010-10-07 23:48 isolinux
     47dr-xr-xr-x  3 root root   2048 2010-10-07 23:48 install
    4648}}}
    4749 * 第二個部份是 Debian Installer (亦稱為 d-i) - 這一塊則是決定自動安裝的程序(亦即 preseed 的腳本跟自動安裝的相關 Shell Script)
     
    4951debian-installer (also known as d-i, which in this case is really a specialized miniature Ubuntu system);
    5052}}}
    51   * 從 10.10 alternative cd 的結構來看,主要包括這幾個目錄:
    52 
    53  * 第三個部份是 Debian 套件庫 - 這一塊是用在當不是網路安裝時,希望可以把會用到的套件都收錄在光碟時,必須自行更動這裡面的套件庫。
     53 * 從 10.10 alternative cd 的結構來看,主要包括這兩個目錄:
     54{{{
     55dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 preseed
     56dr-xr-xr-x  2 root root   2048 2010-10-07 23:47 .disk
     57}}}
     58 * 第三個部份是 Debian 套件庫 - 這一塊是用在當不透過網路安裝時,可以把會用到的套件都收錄在光碟,必要時必須自行手動更動這裡面的套件庫。
    5459{{{
    5560Debian-style repository structure, which is what takes up disk space in the directories "pool" and "dists".
    5661}}}
     62 * 從 10.10 alternative cd 的結構來看,主要包括這三個目錄:
     63{{{
     64dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 dists
     65dr-xr-xr-x  3 root root   2048 2010-10-07 23:47 pool
     66lr-xr-xr-x  1 root root      1 2010-10-07 23:47 ubuntu -> .
     67}}}
     68 * 其餘的檔案,有的是文件檔(Ex. doc、pics)。有的是升級的腳本(cdromupgrade)