Upgrade YDL 3.0 to 4.0 on Oldworld Powerbook 3400

Geert Janssens geert.janssens3 at pandora.be
Tue Dec 7 14:30:33 MST 2004


Well,

I can't help you with all your questions, but here's what I know:

Lewis Coleman wrote:
> <snip>
> 
> Question #1:  Does kernel #1 have the source and where does it put what 
> files (RPMs are 'magic')?

You can use
rpm -ql <rpm-name>
to find out where all files are/will be installed.
Be warned that for a kernel source rpm you will get a very long list.

> Question #2 (the biggie):  Starting with BootX and Linux kernel 
> 2.6.8.1whatever on the mac os side of things, how does the computer know 
> what to use in /boot and /lib/modules and in what order are they called 
> (in no more than five sentences please)? (I have many different kernels 
> on the computer and 2.4.26 seems to work without the 2.4.26 kernel in 
> /boot--even without /lib/modules having the 2.4.26 directory--it does 
> hiccup without the modules, however!!)

Using BootX, the kernels in /boot are totally ignored (but not the 
system.maps, I think). The kernel is loaded from your Mac OS partition.

Whichever kernel gets loaded, it will look for it's corresponding 
modules in /lib/modules/<kernel version>

So if you want to use kernel 2.4.26, the kernel image should be copied 
to MacOS, and it's modules should be in /lib/modules/2.4.26.

The standard linux way of doing things doesn't cope with this (it's not 
aware of BootX, which is a 'clever hack' to run linux on those old 
machines). So the easiest thing to do is to install the kernel rpm you 
want to use. This will install the kernel image in /boot, and the 
corresponding modules in /lib/modules.
Then manually copy the kernel image to your macos partition.
Using this method, you're at least sure the required modules are where 
the kernel expects them.

> Question #3:   
> Question #4 

No idea on these two, since I don't have a powerbook.


Good luck,

Geert Jan


More information about the yellowdog-general mailing list