[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docs on compiling kernels for miboot?



On Thu, Jun 28, 2001 at 11:15:18AM +0100, Josh Berdine wrote:
> Hi all,
> 
> I'm hoping someone will know of some miboot/kernel docs that I haven't
> managed to uncover.
> 
> The short story is that I need to know what sort of kernel images to
> build for booting with miboot.  Should I tell make-kpkg "--zimage" or
> "--bzimage" and either way, which image file in the resulting package

bzimage is a i386 specific kludge to work around that archetecture's
fundementally broken design.  

zImage is sometimes useful on powerpc, in this case not really.  

> should I use?  Or is there a better way?  So far I've only played with
> 2.2.x kernels but if it's different for 2.4.x I'd appreciate knowing.

use the plain vmlinux file generated at the root level of the kernel
tree.  2.4 might be different, i ignore 2.4.  

> miboot System and Finder, as well as kernels and configs, etc. mounted
> at /boot.

you should manually copy the kernels with hfsutils, never mount hfs on
/boot.  

personally i would rather boot via OF and a floppy then use miboot.
to do that simply copy the vmlinux.coff image to the root of an hfs
floppy and enter:

boot fd:vmlinux.coff 

at OF.  im not sure how you set args, either via boot-file or like so:

boot fd:vmlinux.coff root=/dev/sda2 ro

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpezQulOS4D6.pgp
Description: PGP signature


Reply to: