Re-creating bootable image from boot.iso

Paul Nasrat pnasrat at redhat.com
Fri Mar 30 11:38:15 EDT 2007


On Fri, 2007-03-30 at 15:41 +0200, Robert Allerstorfer wrote:
> On Fri, 30 Mar 2007, 01:04 GMT+01 David Woodhouse wrote:

> 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. 

You'll need a map file - this is what we use in anaconda, use with -map.

This is what we use in fedora essentially:

mkisofs -o boot.iso -chrp-boot -U \
-prep-boot ppc/chrp/yaboot \
-part -hfs -T -r -l -J \
-A "Fedora 4" -sysid PPC -V "PBOOT" -volset 4 -volset-size 1 \
-volset-seqno 1 -hfs-volid 4 -hfs-bless $(pwd)/ppc/ppc \
-map mapping -magic magic -no-desktop -allow-multidot \
$(pwd)/ppc

Note the hfs-bless using a full path due to mkisofs wackiness.

Pauil
-------------- next part --------------
# Example filename mapping file
#
# yaboot		Raw	'UNIX'	'boot'	"Bootstrap"
# vmlinux		Raw	'UNIX'	'boot'	"Bootstrap"
#
# EXTN          XLate   CREATOR   TYPE     Comment
COPYING         Ascii   'ttxt'  'ttro'  "Text File"
CREDITS         Ascii   'ttxt'  'ttro'  "Text File"
README          Ascii   'ttxt'  'ttro'  "Text File"
RPM-GPG-KEY     Ascii   'ttxt'  'ttro'  "Text File"
RELEASE_NOTES   Ascii   'ttxt'  'ttro'  "Text File"
.b              Raw     'chrp'  'tbxi'  "Macintosh Toolbox ROM file"
.gif            Raw     '8BIM'  'GIFf'  "Gif File"
.jpg            Raw     '8BIM'  'JPEG'  "Jpeg File"
.tif            Raw     '8BIM'  'TIFF'  "Photoshop TIFF image"
.hqx            Ascii   'BnHq'  'TEXT'  "BinHex file"
.doc            Raw     'MSWD'  'WDBN'  "Word file"
.mov            Raw     'TVOD'  'MooV'  "QuickTime Movie"
.html           Ascii   'MOSS'  'TEXT'  "HTML File"
.htm            Ascii   'MOSS'  'TEXT'  "HTML File"
.conf           Ascii   'ttxt'  'TEXT'  "config file"
.txt            Ascii   'ttxt'  'TEXT'  "Text File"
.tbxi           Raw     'chrp'  'tbxi'  "Macintosh Toolbox ROM file"
.sea            Raw     'aust'  'APPL'  "Self Expanding Archive"
.sit            Raw     'SIT!'  'SITD'  "Stuffit Expander file"
*               Raw     '????'  '????'  "Unknown"



More information about the Fedora-ppc mailing list