Subversion Repositories livecd

Rev

Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20 Rev 23
Line 14... Line 14...
14
# you are actually running
14
# you are actually running
15
# 
15
# 
16
# if the SMP version of the $KERNEL is installed, 
16
# if the SMP version of the $KERNEL is installed, 
17
# it will also be included in the LiveCD
17
# it will also be included in the LiveCD
18
#KERNEL="`uname -r`"
18
#KERNEL="`uname -r`"
19
#KERNEL=2.6.9-42.0.3.EL
19
KERNEL=2.6.9-42.0.3.EL
20
KERNEL=2.6.18-1.2747.el5
20
#KERNEL=2.6.18-1.2747.el5
21
 
21
 
22
# Define the OS release
22
# The OS release $OS_RELEASE is defined by following option: 
23
# possible values are: 
-
 
24
# 4 -> for SL4, RHEL4, CentOS4
23
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
25
# 5 -> for SL5, RHEL5, CentOS5
24
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
26
#OS_RELEASE=4
-
 
27
OS_RELEASE=5
-
 
28
 
25
 
29
# name of initrd image (do not change this)
26
# name of initrd image (do not change this)
30
INITRDIMG=initrd
27
INITRDIMG=initrd
31
 
28
 
32
# define blocksize of initrd
29
# define blocksize of initrd
Line 38... Line 35...
38
CDDATA=/tmp/live_data_$$
35
CDDATA=/tmp/live_data_$$
39
 
36
 
40
# Define default runlevel for your LiveCD
37
# Define default runlevel for your LiveCD
41
RUNLEVEL=5
38
RUNLEVEL=5
42
 
39
 
-
 
40
# Name of local user
-
 
41
LOCALUSER=sluser
-
 
42
 
-
 
43
# Default hostname
-
 
44
DEFAULT_HOSTNAME=slinux
-
 
45
 
43
# The size of the RAM disk (in KBytes)
46
# The size of the RAM disk (in KBytes)
44
# normally you do not have to change this
47
# normally you do not have to change this
45
RAM0SIZE=10000
48
RAM0SIZE=10000
46
 
49
 
47
# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
50
# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
Line 49... Line 52...
49
 
52
 
50
# Define default boot options
53
# Define default boot options
51
# normally you do not have to change this
54
# normally you do not have to change this
52
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
55
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
53
 
56
 
-
 
57
# add vga=791 for SL4
-
 
58
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
-
 
59
 
54
# Define extra boot parameters, for example: pw=mypassword kb=us
60
# Define extra boot parameters, for example: pw=mypassword kb=us
55
# for more, see http://linux.web.psi.ch/livecd/parameter.html
61
# for more, see http://linux.web.psi.ch/livecd/parameter.html
56
[ "$OS_RELEASE" = "4" ] && EXTRA_BOOT_OPTIONS="vga=791"
-
 
57
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
62
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
58
#EXTRA_BOOT_OPTION="rhgb"
63
#EXTRA_BOOT_OPTION="rhgb"
59
 
64
 
60
# Define failsafe boot option
65
# Define failsafe boot option
61
# used if you boot with label "failsafe"
66
# used if you boot with label "failsafe"
Line 88... Line 93...
88
# Define LiveCD OS string (can be anything you like)
93
# Define LiveCD OS string (can be anything you like)
89
LIVECD_OS="SL${OS_RELEASE}"
94
LIVECD_OS="SL${OS_RELEASE}"
90
 
95
 
91
# LiveCD Label (can be anything you like)
96
# LiveCD Label (can be anything you like)
92
CDLABEL="${LIVECD_OS}LIVECD"
97
CDLABEL="${LIVECD_OS}LIVECD"
93
 
-