Re: [rock-user] RockLinux on OldWorld Macs

"Thomas \"fake\" Jakobi" <fake-o+BlaNWM+K2Y/[email protected]> Thu, 6 Jan 2005 21:26:58 +0100
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
On Thursday 06 January 2005 19:54, Kote wrote:
> I will burn the PPC Live CD in 1 or 2 months, and surely I will send my
> reports.
eagerly awaiting this... ;-)

> Furthermore, I'm interesting in the trick which consist to hack the cd
> bootblock, so can you tell me how to do it exactly or where I can find
> documents about it?
i found a few lines in the mkisofs man-page:

! HFS BOOT DRIVER
!      It may be possible to make the hybrid CD bootable on a Macintosh.
!
!      A  bootable  HFS  CD requires an Apple CD-ROM (or compatible) driver, a
!      bootable HFS partition and the necessary System, Finder, etc. files.
!
!      A driver can be obtained from any other Macintosh bootable CD-ROM using
!      the  apple_driver  utility.  This  file  can  then  be  used  with  the
!      -boot-hfs-file option.
!
!      The HFS partition (i.e. the hybrid disk in our  case)  must  contain  a
!      suitable System Folder, again from another CD-ROM or disk.
!
!      For  a  partition to be bootable, it must have it's boot block set. The
!      boot block is in the first two  blocks  of  a  partition.  For  a  non-
!      bootable  partition  the  boot block is full of zeros. Normally, when a
!      System file is copied to partition on a Macintosh disk, the boot  block
!      is  filled  with  a number of required settings - unfortunately I don't
!      know the full spec for the boot block, so I'm guessing that the follow-
!      ing will work OK.
!
!      Therefore,  the  utility apple_driver also extracts the boot block from
!      the first HFS partition it finds on the given CD-ROM and this  is  used
!      for the HFS partition created by mkisofs.
!
!      PLEASE NOTE
!             By using a driver from an Apple CD and copying Apple software to
!             your CD, you become liable to obey Apple Computer, Inc. Software
!             License Agreements.

the 'apple_driver' utility is part of cdrtools from joerg schily, too, it's 
a .c file and a section 8 man-page in the 'mkisofs' subfolder.

happy hacking,

fake

-- 
Thomas "fake" Jakobi ______________________________ PGP KeyID: FCA99A91
 =[ ROCK Linux - the intelligent hacker's choice: www.rocklinux.org ]=

_______________________________________________
rock-user mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBB3Z8Ybn9Le/ypmpERAocOAKCq9VH1sY5P5Pb8Wc7Hjg2FKpayBgCdHu2O
HsmcEFY8bB5nj6OpEnvyaHI=
=THPS
-----END PGP SIGNATURE-----