Changes between Version 26 and Version 27 of jazz/preseed_ubuntu


Ignore:
Timestamp:
Nov 21, 2013, 9:37:15 AM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/preseed_ubuntu

    v26 v27  
    226226syslinux-common: /usr/bin/md5pass
    227227}}}
     228
     229== DEBUG 除錯技巧 ==
     230
     231 * [參考] [http://www.debian.org/releases/squeeze/i386/apbs03.html.en B.3. Creating a preconfiguration file]
     232{{{
     233To check possible values for questions, you can use nano to examine the files in /var/lib/cdebconf
     234while an installation is in progress. View templates.dat for the raw templates and questions.dat for
     235the current values and for the values assigned to variables.
     236
     237To check if the format of your preconfiguration file is valid before performing an install, you can
     238use the command debconf-set-selections -c preseed.cfg.
     239}}}
     240 * 安裝過程中,可以按 ALT-F2 換到另一個 console,並使用 nano 編輯器檢查 /var/lib/cdebconf 底下的 questions.dat 來得知可能會詢問的問題
     241 * 可以使用以下指令驗證 preseed 設定檔是否正確
     242{{{
     243~$ sudo debconf-set-selections -c preseed.cfg
     244}}}