页面

2009-04-09

creating a debian live cd

Above all, the debian live cd project's home is:
http://live.debian.net/
There are all about debian live cd. Another resource is its wiki:
http://wiki.debian.org/DebianLive/

The following shows the main process:
  1. The basic utility bundle is live-helper:
    $ aptitude install live-helper
  2. Make a configuration base in which two directories, config and scripts, are created:
    $ lh_config --mirror-bootstrap "ftp://mirror.cpsc.ucalgary.ca/mirror/debian.org/debian/" --mirror-chroot "ftp://mirror.cpsc.ucalgary.ca/mirror/debian.org/debian/" --mirror-binary "http://ftp.debian.org/debian/" --debian-installer netinst
    The first two options specify the package retrieval source for building a live CD; The third option specifies the apt source used by the final live system; option debian-installer instructs to create a live CD with debian net installer interface.User may want to include extra pakcages into the live CD, which can be done by editing the file config/chroot. For example, if a user wants to make a live CD with gnome, edit the variable LH_PACKAGES_LISTS:
    LH_PACKAGES_LISTS="gnome"
    Actually, this variable refers live-helper predefined 'macro', like the pseudo package name in APT. Another similar variable LH_PACKAGES can be used to include atom package:
    LH_PACKAGES="gparted dosfstools ntfsprogs emacs wodim apt-spy less mplayer"
  3. Then build a ISO file in terms of the configuration:
    $ lh_build
  4. User may want to test the ISO image:
    $ qemu -cdrom binary.iso
  5. Finally, burn the ISO image:
    $ wodim binary.iso

没有评论: