Subversion Repositories livecd

Rev

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

Rev 105 Rev 108
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-55.0.6.EL
19
KERNEL=2.6.9-55.0.9.EL
20
#KERNEL=2.6.18-1.2747.el5
20
#KERNEL=2.6.18-1.2747.el5
21
 
21
 
22
# The OS release $OS_RELEASE is defined by following option: 
22
# The OS release $OS_RELEASE is defined by following option: 
23
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
23
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
24
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
24
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
Line 50... Line 50...
50
# 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
51
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
51
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
52
 
52
 
53
# Define default boot options
53
# Define default boot options
54
# normally you do not have to change this
54
# normally you do not have to change this
55
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
55
BOOT_OPTIONS="max_loop=255 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
56
 
56
 
57
# add vga=791 for SL4
57
# add vga=791 for SL4
58
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
58
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
59
 
59
 
60
# Define extra boot parameters, for example: pw=mypassword kb=us
60
# Define extra boot parameters, for example: pw=mypassword kb=us