kernel upgrade on Yellowdog

Paul Melson melson@scnc.holt.k12.mi.us
Tue, 6 Jun 2000 13:23:22 -0400


On Tue, Jun 06, 2000 at 10:44:37AM -0400, John R. Gargett wrote:
> I recently attempted to upgrade the kernel on my Yellowdog ppc (Champion
> Server 1.1) system to 2.2.14 from 2.2.6. Everything seemed to go well, but
> 'uname -v' still reports the kernel version as 2.2.6 as does the login
> prompt. 

	That's because it's still loading the 2.2.6 kernel
	at bootup.  The bootstrap loader (yaboot, in this
	 case) hasn't committed any changes to the MBR or
	wherever it's stored.  I don't have much experience 
	w/ PPC Linux (and even less w/ MkLinux), but Linux 
	is Linux.  <--- that should start a flamewar!


> The hardware is a Beige G3 running at 333 MHz with a 10 Gig HD and 96 Megs
> of RAM. The Yellowdog install is new. I downloaded the kernel from
> kernel.org, followed the Linux kernel HOWTO, and moved the resulting files
> to the /boot. The only difference I could tell was that the file created in
> the 'make zImage' was zvmlinux instead of the vmlinux that was in /boot
> previously. As a precaution I sym linked the zvmlinux to vmlinux.

	OK, remove the symlink, because that won't work.
	Look at your /etc/yaboot.conf file and check the
	location of the boot image.  It'll be on the line
	that begins `image=`  Make a backup of that file
	(probably /vmlinux) by copying it to a new location.
	Then copy your new kernel file to that filename,
	paying no attention to the fact that `make` gave 
	it a different name.  Then run `ybin` and `reboot`.
	That should be all it needs.  Pretty much the same
	steps for an i386 kernel rebuild w/ LILO.


PaulM

-- 
							_____________________
							melson@holt.k12.mi.us