|
From: <gi...@da...> - 2006-03-25 10:44:05
|
Hi. Thanks for your hint. Tryed it and seems to work on the live CD. cu Edgar /gimli) Hucek Christoph Pfisterer <cp...@ch...> schrieb : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi, >=20 > I've done some research and found a way how we can make a Live CD =20 > that boots Intel Macs as well as standard PCs. >=20 > Here's the trick: > * The Intel Mac firmware will only boot from HFS+ volumes. > * Apple built on Intel's EFI sample implementation and left the part =20 > of the code intact that makes El Torito boot images available as if =20 > they were partitions on a disk. > * You can have more than one El Torito boot image entry, EFI doesn't =20 > care. > * For it to actually work, you'll have to wrap the HFS+ partition in =20 > a Apple Partition Map. (Probably something to do with sector sizes. =20 > EFI keeps the 2K sector size for non-emulated images, and mkisofs =20 > requires an MBR to use hard-disk emulation.) >=20 > An outline of a preparation procedure: > * Make an empty disk image on OS X. By default, Disk Utility will use =20 > HFS+ wrapped in a Apple Partition Map (just what we need). > * Fill that image with elilo, EFI-capable kernel, initrd, and either =20 > ebounce.efi or rEFIt. Bless the appropriate loader (refit.efi or =20 > ebounce.efi). > * Unmount the disk image, and convert it into a "CD/DVD master&quo= t; =20 > image, extension .cdr. That's actually a plain image. > * Build the Live CD with the usual ISO9660 filesystem and ISOLINUX, =20 > but also put the macboot.cdr (or whatever) image in there and use =20 > mkisofs parameters like these: > -b boot/isolinux.bin -no-emul-boot -eltorito-alt-boot -b boot/=20 > macboot.cdr -no-emul-boot >=20 > AFAIK a standard PC will just use the first El Torito entry and get =20 > ISOLINUX. The Mac however will just make both El Torito entries =20 > available as block devices, notice the APM partition map on the =20 > second one and the HFS+ partition in there, and offer that as a =20 > choice in the built-in boot loader. >=20 > I haven't tried this on an actual Live CD because I don't have the =20 > setup to make one, but booting a Mac this way can be verified easily. =20 > Just make an image using mkisofs with rEFIt-0.3.cdr as an El Torito =20 > image. It will show up in the built-in chooser. >=20 > So long, > chrisp >=20 > - --=20 > chrisp a.k.a. Christoph Pfisterer "If that makes any sense > cp...@ch... - > http://chrisp.de to you, > you have a big > PGP key & geek code available problem." >=20 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) >=20 > iD8DBQFEHcJ6r/EAHkwpC28RAmLPAKC0RB/STW/DEQg+g6eX5wO6RRt8swCgq1ov > sexUCFfCbDpgrXbAxhcaGBI=3D > =3DjJRo > -----END PGP SIGNATURE----- >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > that extends applications into web and mobile media. Attend the live we= bcast > and join the prime developer group breaking into this new coding territ= ory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D24= 1720&dat=3D121642 > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel |