qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "Apple" partition on ppc debian installer
Date: Thu, 01 Mar 2007 17:22:08 +0100	[thread overview]
Message-ID: <45E6FDB0.1060802@bull.net> (raw)
In-Reply-To: <1172763498.23892.10.camel@bibi>

[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]

jerome Arbez-Gindre wrote:
> Hi,

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_map").
"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 (http://emile.sourceforge.net ,
"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 "
boot /pci@fef00000/ide@b,1/cdrom@0:\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.

Regards,
Laurent
-- 
------------- Laurent.Vivier@bull.net  --------------
       "Any sufficiently advanced technology is
  indistinguishable from magic." - Arthur C. Clarke


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2007-03-01 16:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 15:38 [Qemu-devel] "Apple" partition on ppc debian installer jerome Arbez-Gindre
2007-03-01 16:22 ` Laurent Vivier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45E6FDB0.1060802@bull.net \
    --to=laurent.vivier@bull.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).