On Tue, 12 Mar 2002, Tom Loscheider wrote:

> I have successfully built a kernel to try to solve a SCSI CD burner 
> problem, but I have problems getting it to boot ("no such file" reported 
> in open firmware boot).
> I think I am missing something in yaboot.conf or running ybin, but after 
> 3 tries and hours reading man pages and searching for a how-to that 
> makes sense... I need guidance.
> 
> Can someone point me to some concise instructions or how-to for what 
> steps are needed to install new kernel and configure yaboot? The man 
> files, as usual, are way too vague.
> 

I think I inadvertantly deleted one of the other responses to this thread
expressing difficulty in building the kernel from source.  There should be
a default .config in /usr/src/linux, with the kernel-source RPM, that is
the same as was used in the building the binary rpm (uP):

cd /usr/src/linux
make mrproper
make menuconfig (do this even if you don't want to change anything or the 
3rd party modules will choke the next step - just enter it and leave,
saving the config - it shouldn't be this way, but is at the moment) 
make dep
make vmlinux    (these can be combined: make dep && make vmlinux)
make modules
make modules_install
installkernel vmlinux 2.4.18-5mdk vmlinux System.map

Note: installkernel incorrectly sets up the yaboot entries if you have a
seperate /boot. I've fixed this a couple of times, but my updates seem to
keep getting undone. Other than that, installkernel will make the initrd,
the yaboot entry and run vmlinux.  For you OldWorld users, you need to do
some manual steps to get the kernel/initrd over to the MacOS side for
BootX.

HTH,
Stew Benedict

-- 
MandrakeSoft    OH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
Cooker-PPC IRC:  irc.openprojects.net/#cooker-ppc





Reply via email to