Subversion Repositories livecd

Rev

Rev 102 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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