= 2010-05-23 = * [專案] '''[wiki:jazz/ClassCloud_LiveCD#a2010-05-23 ClassCloud-LiveCD : 基於 DRBL 的雲端教學環境] ''' == Linux == * [備忘] 解開 initrd.img 的標準步驟 - [http://kernel-handbook.alioth.debian.org/ch-initramfs.html 6.4 Examining the initramfs contents] {{{ $ zcat /boot/initrd.img-2.6.18-3-686 | cpio -i }}} == live-helper == * lh_build 指令會執行三個 Stage,依序為 lh_bootstrap、lh_chroot 與 lh_binary {{{ lh_bootstrap - create the first stage by bootstrapping a basic debian system lh_chroot - create the second stage by customizing the chroot lh_binary - create the third stage by generating a binary image }}} * 如果要用 live-helper 產生 live cd 並且用更多 apt 來源,可在 config/chroot_sources/ 加入 live.chroot 、 live.binary 跟對應的 gpg key 在 live.chroot.gpg 、live.binary.gpg * 要額外裝的套件,可以參考 /usr/share/live-helper/lists/ 底下的檔案。然後用 lh config --bootstrap-config FILE 來指定。預設是使用 /usr/share/live-helper/lists/standard {{{ LH_PACKAGES_LISTS="standard" }}} * 要額外拷貝進 Live CD 的檔案,可放在 config/chroot_local-includes