Port-macppc archive

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

Custom Install CD



Hello.
I have a machine which requires a custom kernel for the install CD
because it has a Raid card not normally available for the Mac PPC.
(It is Open Firmware bootable).

I can't get the magic of the custom bootloader CDs worked out.  I have
my kernel built and hardware tested.  I even have a completely built
from source NetBSD 9.3.  I just can't get the ISO image made
correctly.  According to the NetBSD web site, I perform the following
to create the ISO:

cdrom_util="/usr/src/distrib/cdrom"
snag_boot="-map ${cdrom_util}/hfsmap.lst -hfs-bless ./macppc"
ofw_boot="-boot-hfs-file ${cdrom_util}/macppc_installboot/macppcboot.raw"
mkisofs -o output.iso -hfs -part ${snag_boot} ${ofw_boot} -l -J -r
-allow-leading-dots /cdsources
blknum=`ls -l output.iso | awk '{print $5}'`
blknum=`expr ${blknum} / 512`
${cdrom_util}/macppc_installboot/macppc_installboot output.iso ${blknum} 756
dd if=/usr/mdec/ofwboot bs=64k count=1 conv=sync >> output.iso

The problem is macppcboot.raw doesn't exist.  How do I manually create
macppcboot.raw?
I'm cross-compiling on a i386 machine.
I've tried:
cd /usr/src/distrib/cdrom/macppc_installboot
sudo /home/bradley/obj/tooldir.NetBSD-9.3-i386/bin/nbmake-macppc all

It won't create macppcboot.raw
There is a "/usr/src/distrib/cdrom/macppc_installboot/macppc_installboot"  file.
Is that intended to be "macppcboot.raw"?


Thank you,
Bradley Pearce


Home | Main Index | Thread Index | Old Index