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

Re: Doubts about Debian8.1 DVD ppc64el image


> > debian-8.1.0-ppc64el-CD-1.iso 
> debian-7.8.0-powerpc-CD-1.iso

So your algorithm is missing the Apple Partition Map and possibly
the HFS to which it points.

The bootability of debian-8.1.0-ppc64el-CD-1.iso is indicated by
fulfilling the CHRP demands:
- value 0x96 at byte offset 450 (MBR partition type)
- values {0,0,0,0} at byte offset 454 (partition 1 start LBA)
- values {0x55, 0xaa} at byte offset 510 (MBR signature)
- the four bytes at offset 458 as little endian number should tell
  the size of the ISO image file divided by 512 (partition 1
  block count).

The "powerpc" ISOs fulfill these criteria too. Overwrite their
first two bytes by zeros and check whether they still boot. If so
then your firmware does not need HFS.

My notes about CHRP say:
"The firmware looks up a file /ppc/bootinfo.txt which in SGML-ish tag
<boot-script> contains firmware commands.
E.g. to execute the binary /boot/grub/powerpc.elf as first stage of GRUB2:
  <boot-script>boot &device;:\boot\grub\powerpc.elf</boot-script> 
(Learned from Vladimir Serbinenko ,
http://stuff.mit.edu/afs/sipb/contrib/doc/specs/protocol/chrp/chrp1_7a.pdf ,

Have a nice day :)


Reply to: