jerome Arbez-Gindre wrote:
> Hi,


a nice subject for my first post on this list :-P

> I'm trying to install a ppc debian on a ppc-qemu, and when Partamn makes
> the patitionning, it shows me a "Apple" partition (32.3 kB) at the very
> beginning of the disk.
> I suppose that this partition contains a bootstrap and is filled by the
> MacOS installer.
> Is my supposition right ?

The first partition of an apple partition is the partition map itself
"Apple partition" format is a legacy from the m68k macintosh.
Then, you can find a partition called "Apple_Driver" that is in fact the driver
to manage the disk.

On m68k macintosh, to be bootable a disk must own:
- an "Apple_Driver" partition
- an "Apple_HFS" partition
- a boot sector in "Apple_HFS"

I don't know if this mapping must be applied to ppc macintosh, but I think, for
early ones at once.

You can find more details in the HOWTO of EMILE ( ,
"Install EMILE on your SCSI disk")

> And if yes, is there a way to fill this part with a working bootstrap
> before the debian installation.

You can try the tools coming with EMILE, but you must extract "Apple_Driver"
from a bootable macintosh drive. I made it to make bootable a CDROM, I didn't
try with a disk. But IMHO, the best solution is to boot a MacOS installer CDROM.

You should, also, be able to use OpenFirmware command "boot" (something like "
PROTECTED]:\ppc\chrp\vmlinuz-chrp.initrd", this one
works on Bull Escala). But I don't know the level of implemenation of
OpenFirmware in qemu-ppc.

Otherwise, use the "-kernel", "-initrd", "-append" parameters of qemu.

------------- [EMAIL PROTECTED]  --------------
       "Any sufficiently advanced technology is
  indistinguishable from magic." - Arthur C. Clarke

Attachment: signature.asc
Description: OpenPGP digital signature

Qemu-devel mailing list

Reply via email to