Prev | Current Page 962 | Next

Michael McCallister

"openSUSE Linux Unleashed"

Compiling a
CHAPTER 24 Kernel and Module Management 500
kernel also means taking those binary files and putting them where they belong in /boot
and /lib and then notifying GRUB (or LILO) of the changes.
The good news is that you have your old buddy make to automate nearly the whole
compile process for you. By following these steps, you can compile and install a custom
kernel just for you.
1. Back up your data, just in case.
2. Make sure you have a working boot disk with the old kernel on it, just in case something
goes wrong. See the following note to learn how to create one.
NOTE
Before making any changes to your current, running kernel, make sure you have a
backup copy. SUSE recommends using the installation CD to boot in an emergency,
but what if the CD drive is inaccessible? It??™s good to have a floppy backup as well.
YaST once allowed you to make a boot disk directly, but the kernel has grown too large
to fit on a single floppy; this size problem complicates the task. However, it is still
possible to create a bootable kernel with seven floppies, using this process:
If you need to format the disks first, use this command:
fdformat /dev/fd0u1440
Mount the openSUSE DVD (for example, to /media/cdrom):
mount -tiso9660 /dev/cdrom /media/cdrom
Change to the boot directory on the DVD:
cd /media/cdrom/boot
Create the boot disk with the following command:
dd if=/media/cdrom/boot/bootdisk of=/dev/fd0 bs=8k
The README file in the DVD??™s /boot directory will give you more information on including
kernel modules on additional floppies.


Pages:
950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974
baseny ogrodowe Prince Lion noclegi zakopane bramy rozrywka i hobby