Re: Kernel Install


Subject: Re: Kernel Install
From: Gavin Hemphill (hemphill@drea.dnd.ca)
Date: Sun Jan 27 2002 - 06:24:40 MST


well, the normal way of building a 2.4 kernel for a newworld mac is
something like (assuming you have the rpms for gcc, binutils, and the
kernel-sources headers etc. installed):
if you have a working 2.4 .config file copy it somewhere else
make mrproper
copy the .config file back and run make oldconfig
make config, or menuconfig or xconfig (your choice, to make any further
changes to the config)
make dep
make
make modules
su - this assumes you're doing the comple as an ordinary user, which
you should be.
make modules_install
cp vmlinux /boot/vmlinux-mykernel
cp System.map /boot/vmlinux-mykernel
edit /etc/yaboot.conf (make sure you've updated to the latest yaboot) to
add vmlinux-mykernel (see the file for how to do this)
ybin
then reboot - a tab at the secondary prompt should show vmlinux-mykernel
as a choice

For an oldworld mac booting with bootx the steps are the same (minus the
yaboot ones) except you also have to move the vmlinux-mykernel to your
MacOS partiton. If worst comes to worst gzip the file and mail it to
yourself as an attachment. Then on the Mac side ungzip it and put it in
the Linux Kernels folder in the System folder. It should now show up in
the pop up menu when you reboot.

Whatever you do don't disturb the existing /boot/vmlinux etc files so
that you will have a bootable system if something goes wrong with the build.
        G++
Joe Villari wrote:

> I'm trying to install the bk-stable-2.4.18pre7 kernel. I'm able to mv
> vmlinux /boot and mv System.map /boot. I made directory in /lib/modules
> called 2.4.18-pre7 and when I mv modules /lib/modules/2.4.18-pre7 I get
> all kind of kernel BUG errors. Is there a problem with this "stable"
> kernel or am I missing something?
>
> Thanks
> Joe
>



This archive was generated by hypermail 2a24 : Sun Jan 27 2002 - 07:40:10 MST