wiley publishing suse linux 9 bible phần 10

Tham khảo tài liệu 'wiley publishing suse linux 9 bible phần 10', ngoại ngữ, ngữ pháp tiếng anh phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 554 Part V SUSE Linux in the Enterprise Upgrading a Kernel Package Upgrading from one kernel package to another is simple you just need to install the new package using the rpm command. If you want to retain the ability to run the old kernel you should back up the files called boot vmlinuz- version number and boot initrd- version-number and also the directory lib modules version-number and restore them after you have installed the new kernel RPM. You also want to check that you have an entry in the GRUB configuration for the old kernel and possibly do a mkinitrd see the section Building the Kernel later in the chapter . If you use LILO for booting check the LILO configuration and rerun LILO before rebooting. Kernel Configuration To be able to build kernels you obviously need the kernel source package called kernelsource installed. In addition you need gcc make and a number of other packages. One of the SUSE installation package set options is Kernel development if you have installed that selection you have everything you need. If you want to base your kernel configuration on the currently running kernel you have more than one way to begin. The configuration of the kernel that is actually running is always available in proc config .gz which is a gzipped virtual file in the proc filesystem which is created in memory on the fly by the running kernel see Listing 27-1 . Listing 27-1 Looking at the Configuration of the Running Kernel root@bible proc zcat more Automatically generated make config don t edit CONFIG_X86 y CONFIG_MMU y CONFIG_UID16 y CONFIG_GENERIC_ISA_DMA y Code maturity level options CONFIG_EXPERIMENTAL y CONFIG_CLEAN_COMPILE y CONFIG_STANDALONE is not set CONFIG_BROKEN_ON_SMP y General setup Chapter 27 The Kernel 555 It is instructive to page through this file and look at the various options in it that refer to the hardware filesystems and so on that are to be supported by the kernel. The y at the end of lines means that the support for the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.