Re-creating bootable image from boot.iso

Robert Allerstorfer linux-ra at anet.at
Fri Mar 30 09:41:24 EDT 2007


On Fri, 30 Mar 2007, 01:04 GMT+01 David Woodhouse wrote:

> Run 'dir cd:,\\' to get a listing of the blessed directory. There should
> be an 'ofboot.b' there and it should have type TBXI.

I have now been able to successfully run 'dir cd:,\\' from the OF
prompt (very cool - remotely via telnet) - don't know why I was not
successful with this before my previous post, sorry for the noise.

With the CD inserted, burnt from the original "boot.iso":
1 > dir cd:,\\

     Size/        GMT                     File/Dir
     bytes   date     time   TYPE CRTR    Name
      2050 10/17/ 6 20:21: 7  tbxi chrp  ofboot.b
    145068 10/17/ 6 20:21: 7  ???? ????  yaboot

However, the TYPE and CRTR are not correct on the CD burnt from the
new "boot-new.iso":

1 > dir cd:,\\

     Size/        GMT                     File/Dir
     bytes   date     time   TYPE CRTR    Name
      2050 10/18/ 6  2:21: 7  TEXT unix  ofboot.b
    145068 10/18/ 6  2:21: 7  TEXT unix  yaboot

Here is my complete input/output for creating "boot-new.iso":

[root at fedora-ibook [__data__]]# test -d boot || mkdir boot
[root at fedora-ibook [__data__]]# mount -o loop boot.iso boot
[root at fedora-ibook [__data__]]# rm -rf boot-new; cp -rp boot boot-new
[root at fedora-ibook [__data__]]# find boot-new -name TRANS.TBL -exec rm -f {} \;
[root at fedora-ibook [__data__]]# volume_id="PBOOT"; system_id="PPC"; volume_set_id="6"; application_id="Fedora Core 6"; hfs_volume_id=$volume_set_id
[root at fedora-ibook [__data__]]# mkisofs -volid "$volume_id" -sysid "$system_id" -appid "$application_id" -volset "$volume_set_id" \
> -untranslated-filenames -joliet -rational-rock -translation-table \
> -hfs -prep-boot ppc/chrp/yaboot -chrp-boot -part -hfs-volid "$hfs_volume_id" -no-desktop -hfs-bless ./boot-new/ppc/mac \
> -o boot-new.iso ./boot-new
Warning: creating filesystem that does not conform to ISO-9660.
mkisofs: Warning: no Apple/Unix files will be decoded/mapped
Blessing mac (./boot-new/ppc/mac)
CHRP boot partition 1
PReP boot partition 2 is "ppc/chrp/yaboot"
 23.53% done, estimate finish Fri Mar 30 15:12:26 2007
 46.95% done, estimate finish Fri Mar 30 15:12:26 2007
 70.43% done, estimate finish Fri Mar 30 15:12:26 2007
 93.89% done, estimate finish Fri Mar 30 15:12:27 2007
Total extents actually written (inc HFS) = 21160
(Size of ISO volume = 20213, HFS extra = 947)
Total translation table size: 4617
Total rockridge attributes bytes: 3647
Total directory bytes: 16384
Path table size(bytes): 116
Max brk space used 0
21310 extents written (41 MB)

Something still seems to be wrong/missing with the mkisofs options.
Maybe is has to do with the "no Apple/Unix files will be
decoded/mapped" warning? Please help. 

Thanks!
rob.




More information about the Fedora-ppc mailing list