| 1 | 
           beyerle@PS | 
           1 | 
           --------------------------------------------------------------------
  | 
        
        
           | 14 | 
           beyerle@PS | 
           2 | 
           Build Live CD/DVD for Scientific Linux 4/5
  | 
        
        
           | 1 | 
           beyerle@PS | 
           3 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           4 | 
              | 
        
        
            | 
            | 
           5 | 
           --------------------------------------------------------------------
  | 
        
        
           | 69 | 
           beyerle@PS | 
           6 | 
           Build script can be found at
  | 
        
        
            | 
            | 
           7 | 
           - ftp://ftp.psi.ch/psi/livecd/build  (tarballs)
  | 
        
        
            | 
            | 
           8 | 
           - https://svn.psi.ch/linux/livecd    (subversion repository)
  | 
        
        
           | 1 | 
           beyerle@PS | 
           9 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           10 | 
                                 !!!!!!  WARNING !!!!!! 
  | 
        
        
            | 
            | 
           11 | 
                         Do not run the build script on your PC ! 
  | 
        
        
            | 
            | 
           12 | 
           Only run it on a special build system or in the chroot environment ! 
  | 
        
        
            | 
            | 
           13 | 
                        The build scripts will change the system 
  | 
        
        
            | 
            | 
           14 | 
                         and will/can make your system unusable.
  | 
        
        
            | 
            | 
           15 | 
           --------------------------------------------------------------------
  | 
        
        
           | 100 | 
           beyerle@PS | 
           16 | 
              | 
        
        
           | 1 | 
           beyerle@PS | 
           17 | 
           More documentation about building the LiveCD can be found at
  | 
        
        
           | 100 | 
           beyerle@PS | 
           18 | 
           http://linux.web.psi.ch/livecd/build.html !!!
  | 
        
        
            | 
            | 
           19 | 
              | 
        
        
           | 1 | 
           beyerle@PS | 
           20 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           21 | 
              | 
        
        
            | 
            | 
           22 | 
              | 
        
        
           | 100 | 
           beyerle@PS | 
           23 | 
           Run ./build-livecd.sh to build the LiveCD ISO images
  | 
        
        
           | 1 | 
           beyerle@PS | 
           24 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           25 | 
              | 
        
        
            | 
            | 
           26 | 
           Scripts:
  | 
        
        
            | 
            | 
           27 | 
           --------------------------------------------------------------------
  | 
        
        
           | 48 | 
           beyerle@PS | 
           28 | 
           - build-livecd.sh:          Main build script run it on the SL4/SL5 
  | 
        
        
            | 
            | 
           29 | 
                                       system
  | 
        
        
           | 1 | 
           beyerle@PS | 
           30 | 
           - customize-livecd.sh:      Prepares the system for a LiveCD
  | 
        
        
            | 
            | 
           31 | 
           - linux-live.sl/runme.sh:   Based on build scripts 
  | 
        
        
            | 
            | 
           32 | 
                                       of http://www.linux-live.org
  | 
        
        
           | 48 | 
           beyerle@PS | 
           33 | 
           - restore-system.sh:        Restores the system to a bootable 
  | 
        
        
            | 
            | 
           34 | 
                                       installation
  | 
        
        
           | 1 | 
           beyerle@PS | 
           35 | 
           - mini-livecd.sh:           Prepares the system to create Mini Livecd
  | 
        
        
           | 48 | 
           beyerle@PS | 
           36 | 
                                       (save disk space, etc.) Will use icewm 
  | 
        
        
            | 
            | 
           37 | 
                                       as Windows manager (only working on SL4)
  | 
        
        
           | 1 | 
           beyerle@PS | 
           38 | 
              | 
        
        
            | 
            | 
           39 | 
           Config:
  | 
        
        
            | 
            | 
           40 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           41 | 
           - livecd.conf:              Configuration file for the build scripts
  | 
        
        
            | 
            | 
           42 | 
              | 
        
        
            | 
            | 
           43 | 
              | 
        
        
            | 
            | 
           44 | 
           Examples:
  | 
        
        
            | 
            | 
           45 | 
           --------------------------------------------------------------------
  | 
        
        
           | 48 | 
           beyerle@PS | 
           46 | 
           to build SL4 LiveCD
  | 
        
        
            | 
            | 
           47 | 
           # ./build-livecd.sh -sl4
  | 
        
        
            | 
            | 
           48 | 
           to build SL5 LiveDVD
  | 
        
        
            | 
            | 
           49 | 
           # ./build-livecd.sh -sl5 -dvd
  | 
        
        
            | 
            | 
           50 | 
           to build SL4 Mini LiveCD 
  | 
        
        
            | 
            | 
           51 | 
           # ./build-livecd.sh -mini -sl4
  | 
        
        
           | 1 | 
           beyerle@PS | 
           52 | 
              | 
        
        
            | 
            | 
           53 | 
              | 
        
        
            | 
            | 
           54 | 
           Requirements:
  | 
        
        
            | 
            | 
           55 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           56 | 
           - SL4/SL5 installation on build system or in chroot environment
  | 
        
        
            | 
            | 
           57 | 
              | 
        
        
           | 100 | 
           beyerle@PS | 
           58 | 
           - installed unionfs or aufs kernel module(s)
  | 
        
        
            | 
            | 
           59 | 
           - static linked unionctl (/usr/sbin/unionctl.static)
  | 
        
        
            | 
            | 
           60 | 
             unionctl is no longer needed if you use unionfs 2.x
  | 
        
        
            | 
            | 
           61 | 
           - installed squashfs kernel module and tools (mksquashfs)
  | 
        
        
           | 48 | 
           beyerle@PS | 
           62 | 
             (squashfs is included in the SL5 kernel)
  | 
        
        
           | 1 | 
           beyerle@PS | 
           63 | 
              | 
        
        
           | 100 | 
           beyerle@PS | 
           64 | 
             SRPMS and RPMS for unionfs, aufs and squashfs can be found here:
  | 
        
        
           | 1 | 
           beyerle@PS | 
           65 | 
             ftp://ftp.psi.ch/psi/livecd/SRPMS
  | 
        
        
            | 
            | 
           66 | 
             ftp://ftp.psi.ch/psi/livecd/RPMS
  | 
        
        
            | 
            | 
           67 | 
              | 
        
        
            | 
            | 
           68 | 
              | 
        
        
            | 
            | 
           69 | 
           Links:
  | 
        
        
            | 
            | 
           70 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           71 | 
           - ftp://ftp.psi.ch/psi/livecd
  | 
        
        
            | 
            | 
           72 | 
           - http://linux.web.psi.ch/livecd
  | 
        
        
            | 
            | 
           73 | 
           - http://linux.web.psi.ch/livecd/build.html
  | 
        
        
            | 
            | 
           74 | 
              | 
        
        
            | 
            | 
           75 | 
              | 
        
        
            | 
            | 
           76 | 
           Changelog:
  | 
        
        
            | 
            | 
           77 | 
           --------------------------------------------------------------------
  | 
        
        
           | 48 | 
           beyerle@PS | 
           78 | 
           - 2.6.x: aufs used for SL5 LiveCD
  | 
        
        
           | 14 | 
           beyerle@PS | 
           79 | 
           - 2.5.x: first release which should also work on SL5
  | 
        
        
           | 1 | 
           beyerle@PS | 
           80 | 
           - 2.0.x: no special livecd kernel is need any more, 
  | 
        
        
            | 
            | 
           81 | 
                    just unionfs and squashfs kernel modules are needed
  | 
        
        
            | 
            | 
           82 | 
                    update to squashfs 3.1-r2
  | 
        
        
            | 
            | 
           83 | 
           	 SMP kernel will also be included, if found
  | 
        
        
            | 
            | 
           84 | 
           - 1.3.x: update to SL44 and kernel 42.0.3.EL
  | 
        
        
            | 
            | 
           85 | 
           - 1.2.x: switch to unionfs version 1.1.5 
  | 
        
        
            | 
            | 
           86 | 
                    (patched for RHEL4 kernel >= 2.6.9-42.EL)
  | 
        
        
            | 
            | 
           87 | 
           - 1.1.x: kernel updated to 2.6.9-42.0.2.EL
  | 
        
        
            | 
            | 
           88 | 
           - 1.0.x: add config file "livecd.conf"
  | 
        
        
            | 
            | 
           89 | 
           - 0.9.x: kernel updated to 2.6.9-34.EL
  | 
        
        
            | 
            | 
           90 | 
           - 0.8.x: improved diskless client
  | 
        
        
            | 
            | 
           91 | 
           - 0.7.x: update to SL42
  | 
        
        
            | 
            | 
           92 | 
           - 0.6.x: kernel updated to 2.6.9-22.0.1.EL
  | 
        
        
            | 
            | 
           93 | 
           - 0.5.x: use a patched version of unionfs 1.0.14
  | 
        
        
            | 
            | 
           94 | 
           - 0.4.x: nvidia driver
  | 
        
        
            | 
            | 
           95 | 
           - 0.3.x: add x86_64 support
  | 
        
        
            | 
            | 
           96 | 
              | 
        
        
            | 
            | 
           97 | 
           see also 
  | 
        
        
            | 
            | 
           98 | 
           http://linux.web.psi.ch/livecd/changelog.html
  | 
        
        
            | 
            | 
           99 | 
              | 
        
        
            | 
            | 
           100 | 
           --------------------------------------------------------------------
  | 
        
        
            | 
            | 
           101 | 
            Urs Beyerle, PSI
  |