On 09 Jun 2001 22:38:46 -0400, Davy Durham wrote:
> Hi, I'm trying to compile the 2.4.3-27mdk kernel source and am running
> into all sorts of problems....
> 
> I'm doing:
>     - make xconfig
>     - make dep
>     - make
>     - make modules       <
> 
> -- here is the problem
> 

Davy,

It's been awhile since I've compiled a kernel, but I think I can help
you out here.  The process I usually go through to compile a kernel
looks like this:

1) cd /usr/src (as root)
2)  rm -rf  linux
3) tar zxvf (linux-2.x.x.tar.gz (where x is the kernel minor version and
number (e.g., 2-10).
4) mv linux linux-2.x.x
5) ln -s linux-2.x.x linux (to make a symlink named "linux" to your
linux source directory)
6) make xconfig
7) make dep
8) make bzImage
9) make modules
10) make modules install
11) cp arch/i386/boot/bzImage /boot/vmlinuz-2.x.x
12) cp System.map /boot/map
13) edit /etc/lilo.conf so that your kernel points to these places.
14) run /sbin/lilo <----- Don't forget this or you won't be able to
boot!!!
15) Reboot and pray to the Holy God of Silicon.

Basically, the part I think you were messing up is after you ran make
dep you should've run "make bzImage" rather than just "make". There are
other ways to make a boot image (make bzlilo is another option, I think)
but I use "make bzImage" because it makes the smallest image.

Anyway, that's what I do.  YMMV.

Hope that helps.



Reply via email to