Live media creation in CDDs

The purpose of this page is to gather and compare what different CDDs do with respect to live CD (DVD, usb keys...) and see what could be shared in cdd-dev.

Debian Jr

Debian Edu

Debian Gis

Debian Med

Debian Science

Goals

Questions

Live CD creation (tests and examples)

Debian Med

$ sudo aptitude update
$ sudo aptitude install live-helper

$ lh_config

$ lh_clean
$ lh_config --mirror-bootstrap "http://192.168.0.1/debian" --mirror-binary "http://192.168.0.1/debian" -d sid -a i386 --sections "main" --cache-packages enabled --bootloader grub
$ lh_config --packages "med-bio med-bio-dev med-imaging med-imaging-dev med-pharmacy med-physics med-practice fluxbox"
$ lh_config --packages-lists standard-x11

$ lh_build

Wait...

Test the image.

$ qemu -boot d -cdrom binary.iso -m 256

Current problem

Error message:

(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
        At least one Screen section is required.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.

X fails to start because there is an empty /etc/X11/xorg.conf

The workaround is to remove the /etc/X11/xorg.conf (to do with a hook).