الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مهم جدا لكل من له علاقة بنظام يونكس..؟

مغلق
بدأه Bill_Gates في 30 مارس 2005 · 4 رد · 684 مشاهدة · في نظام تشغيل Unix & Linux
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

أخوتى جزاكم الله خيرا,,,, أريد مساعدتكم بأي طريقة دلونى الله أيخليكم ,,,, المشكلة أنو الأستاذ طلب منا موضوع بحث كثير صعب والله وأنا ما عندى خلفية أو اي معلومات عن نظام يونكس,,, وبدى مساعدتكم الله أيخليكم ويحفظكم يارب,,, المهم موضوع البحث كان عن كيف يمكن تحديث الكيرنال الخاص بنظام يونكس قديم بكيرنال جديد,,,يعنى كيف يمكن ترقية الكيرنال القديم بكيرنال جديد بدون حذف النظام القديم,,, أتمنى لكل من له دراية أو معلومات أن يفيدنى أطال الله بعمركم وأتمنى أن لا تبخلوى على صديق جاى ومتعشم فيكم يارب.

تحياتى

لا تزال الملائكة مشغولة ببناء قصرك ما دام لسانك رطبا بذكر الله.

#2

First download full kernel source code

Then uncompress and extract the kernel source into /usr/src on your linux box

cd /usr/src
bzcat linux-2.4.20.tar.bz2 | tar xvf -

Then creat a symbolic

ln -s linux-2.4.20 linux

If its your first time with kernel compiling stuff

# cd /boot
# ls config*
config-2.4.20-8
# cp config-2.4.20-8 /usr/src/linux/.config

then you can customize your kernel configuration by typing

cd /usr/src/linux
make xconfig

After finishing this, you can build it

make dep bzImage modules modules_install

Copy the resulting kernel to the /boot with the name you'd like

if you are using lilo to boot edit this file /etc/lilo.conf

image=/boot/yournewkernel
        label=yournewlabel
        read-only
        root=/dev/hda8

then type

lilo

if you are using grup to boot edit this file /boot/grub/menu.lst and add

title Linux 2.4.20 with all my new configuration
    root (hd0,1)
    kernel /boot/mynewkernel root=/dev/hda2

thats all and sorry for typing in english :)

bye

#3

يوجد طريقه اسهل وهى

الحصول على الكرينل على هيئه RPM

يمكنك الحصول على احث كرينل من هنا

من هنا

اى يمكنك تثبتها بامر واحد هكذا

rpm -ivh kernel-2.2.17-14.I386.rpm

اولا يمكنك معرفه الاصدار الموجود لديك

بالامر

uname -a

ثم اتبع الخطوات التاليه

Performing the Upgrade

http://www.europe.redhat.com/documentation...rm-upgrade.php3

Now that you have the necessary kernel RPM packages, you can upgrade your existing kernel. At a shell prompt as root, change to the directory that contains the kernel RPM packages and follow these steps.

You probably want to keep the older kernel in case you have problems with the new kernel. Use the -i argument instead of -U to install the kernel package (the kernel version and x86 version might vary):

rpm -ivh kernel-2.4.18-0.12.i386.rpm

If the system is a multi-processor system, install the kernel-smp packages as well (the kernel version and x86 version might vary):

rpm -ivh kernel-smp-2.4.18-0.12.i386.rpm

If the system is i686-based and contains more than 4 gigabytes of RAM, install the kernel-bigmem package built for the i686 architecture as well (the kernel version might vary):

rpm -ivh kernel-bigmem-2.4.18-0.12.i686.rpm

If you plan to upgrade the kernel-source, kernel-docs, or kernel-utils packages, you probably do not need to keep the older versions. Use the following commands to upgrade these packages (the versions might vary):

rpm -Uvh kernel-source-2.4.18-0.12.i386.rpm

rpm -Uvh kernel-docs-2.4.18-0.12.i386.rpm

rpm -Uvh kernel-utils-2.4.18-0.12.i386.rpm

If you are using PCMCIA (for example, a laptop), you also need to install the kernel-pcmcia-cs and keep the old version. If you use the -i switch, it will probably return a conflict because the older kernel needs this package to boot with PCMCIA support. To work around this, use the --force switch as follows (the version might vary):

rpm -ivh --force kernel-pcmcia-cs-3.1.24-2.i386.rpm

If you are using the ext3 file system or a SCSI controller, you need an initial RAM disk. The purpose of the initial RAM disk is to allow a modular kernel to have access to modules that it might need to boot from before the kernel has access to the device where the modules normally reside.

The initial RAM disk is created by using the mkinitrd command. However, the Red Hat kernel RPM package performs this step for you. To verify that it was created, use the command ls -l /boot. You should see the file initrd-2.4.18-0.12.img (the version should match the version of the kernel you just installed).

Now that you have installed the new kernel, you need to configure the boot loader to boot the new kernel. Refer to the Section called Configuring the Boot Loader for details.

تم تعديل هذه المشاركة بواسطة BESHEER في 31 مارس 2005 في 18:02

022.gif

***********************************************

043.gif

#4

السلام عليكم

أخى Qnix شكر كثيرا وبارك الله بيك واللهم جعلها بميزان حسناتك يارب العالمين,,,, إن شاء الله أفتهمت الشرح

أشكرك مرة اخى من كل قلبي .

#5

السلام عليكم أخى BESHEER مشكور كثير على الشرح وبارك الله بيك وأنا صدق خجلان منك ما اعرف كيف أتشكرك

بس بدى ثقل عليك شوي يا أخى لو تكرمت الله يرضى عنك يارب,,, لو ممكن تشرحلى الخطوات الأخيرة كيف وبالعربي ياريت

أنا عم بتشرط عليك لكن حبيت أنك أتساعدنى لو تكرمت وأنا بنتظار ردك حبيبي .

هذا الموضوع مغلق.

مواضيع مشابهة