[NTLUG:Discuss] kernels
Lance Simmons
lance at lsimmons.net
Fri Jul 26 17:01:16 CDT 2002
On Fri, Jul 26, 2002 at 02:14:07PM -0700, Scott Denlinger wrote:
> Lance wrote:
>
> >Did you try starting from the original config file for your _bootable_
> >kernel and then modifying it for what you need?
> >
> I'm not sure where that .config file would be. I installed Debian Woody
> from boot floppies and the Internet. The config file for this
> distribution appears to be in the /boot directory called
> 'config-2.4.18-bf2.4', since I used the 2.4 kernel option when I
> installed it. (Debian Woody allows you to choose a 2.2 kernel if you
> want it, hence the 'bf2.4' tag.) I'm not sure how to recompile using
> this file, or even how to just use that file and compile ftape as a
> module using it as a target.
cd <kernel source directory>
Be sure you have write permission in the directory and
for all the files. One way would be:
su
cd ..
chown -R <user>.<user> <source-directory>
exit
cp /boot/config-2.4.18-bf2.4 ./.config
make oldconfig
(answer the questions to the best of your ability)
make menuconfig
(look through the configuration to make changes, such
as the module you want)
fakeroot make-kpkg clean
rm debian/official
(in case you've got the official stamp)
fakeroot make-kpkg --append_to_version=-2002-07-26 kernel_image
cd ..
su
(to install the package)
dpkg -i kernel-image-2.4.18-2002-07-26_10.00.Custom_i386.deb
(Answer the installation questions)
exit
(to become a normal user)
ls -l /vmlinuz*
(to see that the symbolic links point to the right images)
Study /etc/lilo.conf to be sure /vmlinuz and /vmlinuz.old are entries
lilo
(just to be sure)
reboot
> >Does your kernel use initrd, and do you have initrd enabled at bootup?
> >That's what the failure to load modules sounds like to me.
> >
> No, I'm not using initrd.
So ls /boot/initrd* doesn't show anything.
--
.~.
/V\ Lance Simmons
/( )\ lance at lsimmons.net
^^-^^
More information about the Discuss
mailing list