On Tue, Nov 10, 1998 at 11:40:42PM -0600, Cristov Russell wrote:
Hi Cristov
> 
> Is any one here a kernel guru?  I posted a problem a couple of times this
I'm not a kernel guru, maybe I can help You
there 2 ways to build a kernel, the
traditionell 
cd /usr/src/linux
Steps:
1. make xconfig, ore make menuconfig, or make config
2. make dep
3. make clean
4. make zImage, or make bzImage (if kernel > 512 kb)
5. make modules
6. make modules_install
7. depmod -a
8. make zlilo
You can combine these steps to one line, e.g.
make dep clean zImage modules modules_install zlilo

the other, more "up-to-date" way is using the 
kernelpackage 
cd /usr/src/linux
Steps(I filled in example building):
make xconfig
make-kpkg clean
moke-kpkg --rootcmd --revision=custom.1.0.kernel_image
dpkg -i ../kernel-image-2.0.35_custom.1.0_i386.deb
this is more comfortable
depmod -a is called automatically and Your kernel is
known by the package list
But, You must have the kernel-package installed before
usage.
actually is
kernel-package_5_12.deb
you can get it from `www.debian.org' by following the
download guide to the development package

For further use its always a good idea to have one 
running kernel added in '/etc/lilo.conf'
e.g.
# Start LILO global Section
boot=/dev/sda2
install=/boot/boot.b
map=/boot/map
vga=normal
prompt
delay=20
read-only
# End LILO global section
image=/vmlinuz
root=/dev/sda7
append="mem=128M"
label=Linux
# Linux bootable partition config begins
image = /vmlinuz.old
root = /dev/sda7
label = old
# Linux bootable partition config ends
#
# DOS bootable partition config begins
other = /dev/sda1
label = dos
table = /dev/sda2
# DOS bootable partition config ends
#
# end of '/etc/lilo.conf'
than You can at boot prompt
LILO: 
LILO: old
and the old kernel comes up 
that makes, for me, installing a new kernel not
never can get a 'nightmare'
hope it helps,
my english is very rudimentary, sorry

-- 
Wis You all the very best
   Peter

Reply via email to