Adam Getchell <[EMAIL PROTECTED]> wrote:
[snip]
>make dep
>make clean
>make bzdisk
You've forgotten 'make modules' and 'make modules_install'
WARNING! 'make modules_install' will overwrite your old
/lib/modules/[kernel-version] directory, so I'd recommend moving it out of
the way first.
>(the extra lines are for old kernels, to be safe)
A good idea. If you need to boot to an old kernel you'll need to switch
back to the old modules in order for everything to work right. What I've
done is adopt a naming convention for the kernel & modules directory I
build in the form of [kernel].YYYY.MM.DD.x.[smp] where
kernel = kernel version
YYYY = year
MM = month
DD = day
x = revision (Yes, I've been known to build several kernels in a day)
smp = if the kernel is compiled for SMP support
in /boot:
lrwxrwxrwx vmlinuz -> vmlinuz-2.0.36-3.1999-10-26.1.smp
-rw-r--r-- vmlinuz-2.0.36-3.1999-10-06.1.smp
-rw-r--r-- vmlinuz-2.0.36-3.1999-10-22.1.smp
-rw-r--r-- vmlinuz-2.0.36-3.1999-10-26.1.smp
in /lib/modules:
lrwxrwxrwx 2.0.36 -> 2.0.36-3.1999-10-26.1.smp
drwxr-xr-x 2.0.36-3.1999-10-06.1.smp
drwxr-xr-x 2.0.36-3.1999-10-22.1.smp
drwxr-xr-x 2.0.36-3.1999-10-26.1.smp
As you can see, the kernel version has a corresponding /lib/modules
directory. If I want to change to an older kernel, I just change the soft
link in /lib/modules as necessary. I also keep a 'config.YYYY.MM.DD.x'
file in /usr/src/linux that corresponds to the kernel build. Makes it easy
to make a minor change to the last kernel.
It may seem a little overdone, but it works for me. ;-)
HTH
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.