Hacking Ubuntu Live CD

By admin, 31 三月, 2016

The command behind of install app of Ubuntu Live CD is `ubiquity gtk_ui`

 

$ apt-cache search ubiquity

ubiquity - Ubuntu live CD installer
ubiquity-casper - Configuration hooks for live installer

ubiquity locates at /usr/bin/ubiquity and /usr/lib/ubiquity/*

 

$ apt-file list ubiquity-casper
ubiquity-casper: /usr/bin/casper-reconfigure
ubiquity-casper: /usr/lib/ubiquity/target-config/20xconfig
ubiquity-casper: /usr/lib/ubiquity/target-config/22gnome_panel_data
ubiquity-casper: /usr/lib/ubiquity/target-config/25modules
ubiquity-casper: /usr/lib/ubiquity/target-config/30accessibility
ubiquity-casper: /usr/lib/ubiquity/target-config/32gnome_power_manager
ubiquity-casper: /usr/lib/ubiquity/target-config/40install_driver_updates
ubiquity-casper: /usr/lib/ubiquity/target-config/45jackd2
ubiquity-casper: /usr/lib/ubiquity/target-config/49kubuntu_gnome_icon_cache
ubiquity-casper: /usr/share/doc/ubiquity-casper/changelog.gz
ubiquity-casper: /usr/share/doc/ubiquity-casper/copyright

We can find and set default value for some settings:

 

debconf-get-selections | grep lang

echo "ubiquity    localechooser/languagelist    select    zh_CN" | debconf-set-selections

sudo strace useradd -m test1 1>out 2>err

new user profiles in /etc/skel/

参考:http://www.linfo.org/etc_skel.html

标签

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"