Differences between revisions 11 and 12
Revision 11 as of 2008-04-05 16:14:43
Size: 1355
Comment: We talk about all the existing CDDs.
Revision 12 as of 2008-04-05 16:34:32
Size: 2071
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from CustomDebian/LiveCD
= Howto create a Live CD in 10 minutes. =
= 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.
Line 4: Line 4:
== Debian Edu ==
Line 5: Line 6:
==Debian GIS, Debian Edu and Debian Med== == Debian Gis ==
 * one single task (workstation).
 * use a script originating from Debian Edu, based on live-helper

== Debian Med ==
 * several tasks, some with task and task-dev
== Debian Science ==
 * several tasks, some with task and task-dev (like mathematics and mathematics-dev).
=== Goals ===
 * Build one live media for each task.
 * Gather (or not) packages of task and task-dev on the same media (depending of available space).
 * Add or not suggests: packages depending on the media too (for example packages containing large sets of data might be only in suggests:)
  * Other idea: define new tags in cdd-dev.

== Live CD creation (tests and examples) ==
Line 54: Line 69:

=== Debian GIS ===
=== Debian Science ===

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 Edu

Debian Gis

  • one single task (workstation).
  • use a script originating from Debian Edu, based on live-helper

Debian Med

  • several tasks, some with task and task-dev

Debian Science

  • several tasks, some with task and task-dev (like mathematics and mathematics-dev).

Goals

  • Build one live media for each task.
  • Gather (or not) packages of task and task-dev on the same media (depending of available space).
  • Add or not suggests: packages depending on the media too (for example packages containing large sets of data might be only in suggests:)
    • Other idea: define new tags in cdd-dev.

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).