¸ÅÊö£º±¾ÎÄÌÖÂÛÔÚRedHatÖÐʹÓÃRedHatÌṩµÄÄÚºËrpm°üÊÖ¹¤½øÐÐÄÚºËÉý¼¶µÄ·½·¨¡£½«ÒÔÔÚRedHat7.1ÖдÓ2.4.2Éý¼¶µ½2.4.3ΪÀý½øÐÐ˵Ã÷¡£
Ò»¡¢×¼±¸¹¤×÷
1£®È·¶¨ÊÇ·ñÒª½øÐÐÄÚºËÉý¼¶
ͨ³£ÐèÒª½øÐÐÄÚºËÉý¼¶ÊÇΪÁË£º
a£®Ö§³Öа²×°µÄÓ²¼þÉ豸£º±ÈÈçÄú¸ÕÂòÁËÒ»¿éеÄÉù¿¨£¬µ«Êǵ±Ç°µÄÄÚºËûÓÐÌṩÆäÇý¶¯£¬¶øа汾Äں˿ÉÒÔÇý¶¯¸ÃÉù¿¨¡£
b£®µ±Ç°µÄϵͳÄں˱»·¢ÏÖÓа²È«Â©¶´£¬ÐèÒªÉý¼¶µ½Ðµİ汾½øÐÐÐÞ¸´¡£
2£®È·¶¨ËùÐèÏÂÔصÄrpm°ü
Ê×ÏÈͨ¹ýÒÔÏÂÃüÁîÈ·¶¨ÏµÍ³µ±Ç°Ëù°²×°µÄÄں˰ü£º
# rpm -qa | grep kernel
kernel-source-2.4.2-2
kernel-headers-2.4.2-2
kernel-2.4.2-2
ÎÒÃÇÐèÒªÏÂÔØÕâÈý¸ö°üµÄа汾£¬ÒÔ¼°ÒÔÏÂÈý¸ö·ÇÄں˰üµÄа汾£º
[root@test update]# rpm -qa | grep init
initscripts-5.83-1
mkinitrd-3.0.10-1
SysVinit-2.78-17
3£®»ñȡа汾ÄÚºËrpm°ü
´Óftp://updates.redhat.com/7.1/en/os/i386/»ñÈ¡ÒÔÉÏÁù¸ö¸ö°üµÄа汾µÄrpm°ü£¬Ò²¾ÍÊÇ£º
kernel-source-2.4.3-12.i386.rpm
kernel-headers-2.4.3-12.i386.rpm
kernel-2.4.3-12.i386.rpm
SysVinit-2.78-17.i386.rpm
ÒòΪµ±Ç°RedHatÖ»·¢²¼ÁËSysVinit-2.78-17.i386.rpm£¬ËùÒÔ¾ÍÖ»ÏÂÔØÁËÕâ¸ö°ü¡£
4£®¼ìÑéа汾ÄÚºËrpm°ü
ΪÁ˱£Ö¤ÏÂÔعý³Ì²»³ö´í£¬Ê¹ÓÃÒÔÏÂÃüÁî¶ÔÏÂÔصİü½øÐÐУÑ飺
# rpm -K --nogpg *rpm
kernel-2.4.3-12.i386.rpm: md5 OK
kernel-headers-2.4.3-12.i386.rpm: md5 OK
kernel-source-2.4.3-12.i386.rpm: md5 OK
SysVinit-2.78-17.i386.rpm: md5 OK
Èç¹ûУÑé½á¹ûΪOK£¬ËµÃ÷´«Êä¹ý³ÌûÎÊÌ⣬ËùÏÂÔصÄrpm°üÊÇÍêÕûµÄ¡£¾Í¿ÉÒÔ½Ó×Å×öÏÂÒ»²½£¬Èç¹ûrpm²»ÍêÕû£¬ÇëÖØÐÂÏÂÔØÒ»´Î£¬×îºÃʹÓÃÖ§³Ö¶ÏµãÐø´«µÄÏÂÔع¤¾ß½øÐÐÏÂÔØ¡£
5£®ÖÆ×÷Ó¦¼±Æô¶¯ÅÌ
ʹÓÃÒÔÏÂÃüÁîÖÆ×÷Ò»ÕÅϵͳÆô¶¯ÅÌ£¬ÒÔ±ãÔÚϵͳÉý¼¶Ê§°Üºó¿ÉÒÔÆô¶¯¼°»Ö¸´ÀÏϵͳ£º
# mkbootdisk --device /dev/fd0 2.4.2-2
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press to continue or ^C to abort:
2.4.2-2Êǵ±Ç°µÄϵͳÄں˰汾£¬¿ÉÒÔʹÓÃÒÔÏÂÃüÁî½øÐÐÈ·¶¨£º
# uname -r
2.4.2-2
¶þ¡¢Éý¼¶ÄÚºË
1£®Éý¼¶·ÇÄÚºËrpm°ü£º
#rpm -Uvh SysVinit-2.78-17.i386.rpm
2£®Éý¼¶ÄÚºËÔ´Âërpm°ü£º
# rpm -Uvh kernel-source-2.4.3-12.i386.rpm kernel-headers-2.4.3-12.i386.rpm
Preparing... ########################################### [100%]
1:kernel-source ########################################### [ 50%]
2:kernel-headers ########################################### [100%]
3£®Éý¼¶ÄÚºËrpm°ü£º
# rpm -Uvh kernel-2.4.3-12.i386.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
4£®ÖØÐÂÅäÖóõʼ»¯RAMÅÌ
Èç¹ûϵͳÖÐÓÐSCSIÉ豸£¬²¢ÇÒÕýÔÚʹÓÃSCSIÉ豸Çý¶¯Ä£¿é£¬Ôò±ØÐëÖØÐÂÅäÖóõʼ»¯RAMÅÌ£¬Èç¹ûûÓÐSCSIÉ豸£¬¿ÉÒÔÖ±½ÓÌøµ½µÚ5¸ö²½Öè¡£
ÅжÏϵͳÖÐÊÇ·ñÓÐSCSIÉ豸Çý¶¯Ä£¿éµÄ·½·¨£º
# more /etc/modules.conf |grep scsi
alias scsi_hostadapter megaraid
alias scsi_hostadapter1 sym53c8xx
alias scsi_hostadapter2 sym53c8xx
Ò²¼´£¬Èç¹ûÕâ¸öÃüÁîÓÐÊä³öʱ£¬±íÃ÷ÄúµÄϵͳÕýÔÚʹÓÃSCSIÉ豸Çý¶¯Ä£¿é£¬ÕâʱÎÒÃǾͱØÐëÖØÐÂÅäÖóõʼ»¯RAMÅÌ¡£
ËùνµÄRAMÅÌͨ³£ÊÇÓÃÀ´×¤ÁôÄ£¿éµÄ£¬ÕâЩģ¿é±ØÐëÔÚÄں˷ÃÎÊÏà¹ØÉ豸£¨Í¨³£ÊÇSISCÉ豸£©Ç°ÔØÈëRAMÅÌÖС£
Ê×ÏÈ£¬²é¿´/bootϵÄÎļþ£¬ÒÔ»ñÈ¡¸Õ²Å°²×°µÄÄں˰汾£º
# ls -l /boot/
total 3408
¡
-rwxr-xr-x 1 root root 2174722 Jun 9 01:57 vmlinux-2.4.3-12
lrwxrwxrwx 1 root root 16 Jul 26 22:56 vmlinuz -> vmlinuz-2.4.3-12
¡
¿É¼û£¬ÎÒÃÇеÄÄں˰汾ÊÇ2.4.3-12£¬ÎÒÃÇʹÓÃÒÔÏÂÃüÁîÀ´´´½¨ÐµÄRAMÅÌ£º
#mkinitrd initrd-2.4.3.img 2.4.3-12
5£®¸üÐÂliloÐÅÏ¢
¸üÐÂÄúµÄlilo.confÎļþÈçÏÂËùʾ£º
image=/boot/vmlinuz-<а²×°µÄÄں˰汾ºÅ>
label=linux
root=<ÄúµÄ/·ÖÇø>
initrd=/boot/initrd-
read-only
ÎҵĻúÆ÷ÉϵÄlilo.conf¸üÐÂÎļþÈçÏ£º
# more /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux
image=/boot/vmlinuz-2.4.3-12
label=linux
read-only
root=/dev/hda1
¸üÐÂÍê³Éºó£¬±ðÍüÁËÖ´ÐÐliloʹÆäÉúЧ¡£È»ºó¾Í¿ÉÒÔÖØÐÂÆô¶¯ÁË¡£
skyz319 ÓÚ 2006-09-08 14:58:59·¢±í:
ÏÖÔÚredhatµÄÄÚºËÔÚÄĶùÏÂÔØ°¡£¿ÎÒ»úÆ÷ºÃÏñÒªÉý¼¶Äں˺ó²ÅÄÜ°²ÍøÂç Íø¿¨ÊǼ¯³ÉµÄ Ò»¸ö°ÙÕ×Ò»¸öǧÕ×µÄ ÅªµÃÎÒºÃÓôÃÆ Éý¼¶Ò²²»³É¹¦¡¡
ert ÓÚ 2006-07-22 10:49:03·¢±í:
ÎÄÕºÜÀÏÁË£¬²»¹ý»¹¿ÉÒԲο¼²Î¿¼