Re: kernel compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kristoffer,

You can't just type "make" after running the config.
After doing the "make config" or "make menuconfig"
then you need to do this (in /usr/src/linux)

make bzImage         (to build the kernel)
make modules         (to build the kernel modules)
make modules_install (to install the modules)

The kernel will be built in
/usr/src/linux/arch/i386/boot

The kernel modules will install to
/lib/modules/2.4.XX (for example 2.4.20)

You need to copy (and probably rename) that kernel
(called bzImage). In slackware I copy it to /boot
and give it a name like vmlinuz-yoyager (or pick
whatever name you like).

Then finally, you need to add an entry into your
/etc/lilo.conf

I suggest that you leave your old (working) kernel
on the system, and ADD (don't change) the kernel
reference in lilo.conf. That way you can boot
either kernel. This is important because sometimes
your new kernel won't boot. You want to be able to
boot your old kernel OR the new one.

See the kernel HOWTO
And read the LILO documentation.

-- Doug


_______________________________________________ Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]