summaryrefslogtreecommitdiffstats
path: root/bootdisk
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-01 19:41:48 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-01 19:41:48 +0000
commit4a8ef3791a2d3d01dfdafaff646164ee776220a5 (patch)
tree80050e2f4bd47550b39690ad604333d0aa18c911 /bootdisk
parente3baea7d8dc36bdf6184b2b279b3f4da899acf4e (diff)
downloadanaconda-4a8ef3791a2d3d01dfdafaff646164ee776220a5.tar.gz
anaconda-4a8ef3791a2d3d01dfdafaff646164ee776220a5.tar.xz
anaconda-4a8ef3791a2d3d01dfdafaff646164ee776220a5.zip
add some files for mac, move yaboot.conf to yaboot.conf.pseries. add
yaboot.conf.mac for mac
Diffstat (limited to 'bootdisk')
-rw-r--r--bootdisk/ppc/magic81
-rw-r--r--bootdisk/ppc/mapping27
-rw-r--r--bootdisk/ppc/ofboot.b67
-rw-r--r--bootdisk/ppc/yaboot.conf.mac9
-rw-r--r--bootdisk/ppc/yaboot.conf.pseries (renamed from bootdisk/ppc/yaboot.conf)2
5 files changed, 185 insertions, 1 deletions
diff --git a/bootdisk/ppc/magic b/bootdisk/ppc/magic
new file mode 100644
index 000000000..387727c4e
--- /dev/null
+++ b/bootdisk/ppc/magic
@@ -0,0 +1,81 @@
+#
+# Example magic file for mkhybrid
+#
+# The "message" for the offset MUST be 4 characters for the CREATOR
+# and 4 characters for the TYPE - white space is optional between them.
+# Any other characters on this line are ignored. Continuation lines (starting
+# with '>') are also ignored i.e. only the initial offset lines are used.
+#
+# The continuation lines are given here, but they do not need to exist.
+
+#
+# James Pearson 20/5/98
+
+# off type test message
+
+# GIF
+0 string GIF8 8BIM GIFf
+>4 string 7a \b, version 8%s,
+>4 string 9a \b, version 8%s,
+>6 leshort >0 %hd x
+>8 leshort >0 %hd,
+#>10 byte &0x80 color mapped,
+#>10 byte&0x07 =0x00 2 colors
+#>10 byte&0x07 =0x01 4 colors
+#>10 byte&0x07 =0x02 8 colors
+#>10 byte&0x07 =0x03 16 colors
+#>10 byte&0x07 =0x04 32 colors
+#>10 byte&0x07 =0x05 64 colors
+#>10 byte&0x07 =0x06 128 colors
+#>10 byte&0x07 =0x07 256 colors
+
+# JPEG images
+#
+0 ubeshort 0xffd8 8BIM JPEG image data
+
+# StuffIt
+#
+0 string SIT! SIT!SIT!
+
+# standard unix compress
+0 string \037\235 LZIV ZIVU
+>2 byte&0x80 >0 block compressed
+>2 byte&0x1f x %d bits
+
+# gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver)
+0 string \037\213 GNUz ZIVU gzip compressed data
+>2 byte <8 \b, reserved method,
+>2 byte 8 \b, deflated,
+>3 byte &0x01 ASCII,
+>3 byte &0x02 continuation,
+>3 byte &0x04 extra field,
+>3 byte &0x08 original filename,
+>3 byte &0x10 comment,
+>3 byte &0x20 encrypted,
+>4 ledate x last modified: %s,
+>8 byte 2 max compression,
+>8 byte 4 max speed,
+>9 byte =0x00 os: MS-DOS
+>9 byte =0x01 os: Amiga
+>9 byte =0x02 os: VMS
+>9 byte =0x03 os: Unix
+>9 byte =0x05 os: Atari
+>9 byte =0x06 os: OS/2
+>9 byte =0x07 os: MacOS
+>9 byte =0x0A os: Tops/20
+>9 byte =0x0B os: Win/32
+
+# Postscript
+0 string %! ASPSTEXT
+>2 string PS-Adobe- conforming
+>>11 string >\0 at level %.3s
+>>>15 string EPS - type %s
+>>>15 string Query - type %s
+>>>15 string ExitServer - type %s
+# Some PCs have the annoying habit of adding a ^D as a document separator
+0 string \004%! ASPS TEXT PostScript document text
+>3 string PS-Adobe- conforming
+>>12 string >\0 at level %.3s
+>>>16 string EPS - type %s
+>>>16 string Query - type %s
+>>>16 string ExitServer - type %s
diff --git a/bootdisk/ppc/mapping b/bootdisk/ppc/mapping
new file mode 100644
index 000000000..cf83076d4
--- /dev/null
+++ b/bootdisk/ppc/mapping
@@ -0,0 +1,27 @@
+# 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"
+
diff --git a/bootdisk/ppc/ofboot.b b/bootdisk/ppc/ofboot.b
new file mode 100644
index 000000000..7dc24a136
--- /dev/null
+++ b/bootdisk/ppc/ofboot.b
@@ -0,0 +1,67 @@
+<CHRP-BOOT>
+<COMPATIBLE>
+MacRISC MacRISC3
+</COMPATIBLE>
+
+<DESCRIPTION>
+Boot Chooser
+</DESCRIPTION>
+
+<BOOT-SCRIPT>
+" screen" output
+load-base release-load-area
+boot cd:,\\yaboot
+</BOOT-SCRIPT>
+
+<OS-BADGE-ICONS>
+1010
+000000000000F8FEACF6000000000000
+0000000000F5FFFFFEFEF50000000000
+00000000002BFAFEFAFCF70000000000
+0000000000F65D5857812B0000000000
+0000000000F5350B2F88560000000000
+0000000000F6335708F8FE0000000000
+00000000005600F600F5FD8100000000
+00000000F9F8000000F5FAFFF8000000
+000000008100F5F50000F6FEFE000000
+000000F8F700F500F50000FCFFF70000
+00000088F70000F50000F5FCFF2B0000
+0000002F582A00F5000008ADE02C0000
+00090B0A35A62B0000002D3B350A0000
+000A0A0B0B3BF60000505E0B0A0B0A00
+002E350B0B2F87FAFCF45F0B2E090000
+00000007335FF82BF72B575907000000
+000000000000ACFFFF81000000000000
+000000000081FFFFFFFF810000000000
+0000000000FBFFFFFFFFAC0000000000
+000000000081DFDFDFFFFB0000000000
+000000000081DD5F83FFFD0000000000
+000000000081DDDF5EACFF0000000000
+0000000000FDF981F981FFFF00000000
+00000000FFACF9F9F981FFFFAC000000
+00000000FFF98181F9F981FFFF000000
+000000ACACF981F981F9F9FFFFAC0000
+000000FFACF9F981F9F981FFFFFB0000
+00000083DFFBF981F9F95EFFFFFC0000
+005F5F5FDDFFFBF9F9F983DDDD5F0000
+005F5F5F5FDD81F9F9E7DF5F5F5F5F00
+0083DD5F5F83FFFFFFFFDF5F835F0000
+000000FBDDDFACFBACFBDFDFFB000000
+000000000000FFFFFFFF000000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFFFF00000000
+00000000FFFFFFFFFFFFFFFFFF000000
+00000000FFFFFFFFFFFFFFFFFF000000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
+00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
+00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFF000000
+</OS-BADGE-ICONS>
+</CHRP-BOOT>
diff --git a/bootdisk/ppc/yaboot.conf.mac b/bootdisk/ppc/yaboot.conf.mac
new file mode 100644
index 000000000..b2ebc749b
--- /dev/null
+++ b/bootdisk/ppc/yaboot.conf.mac
@@ -0,0 +1,9 @@
+init-message = "\nWelcome!\nHit <TAB> for boot options.\n\n"
+timeout=6000
+enablecdboot
+
+image=cd:,/ppc/mac/vmlinux
+ label=mac
+ initrd=cd:,/ppc/mac/ramdisk.image.gz
+ append="maxcpus=1 ramdisk_size=8192"
+ read-only
diff --git a/bootdisk/ppc/yaboot.conf b/bootdisk/ppc/yaboot.conf.pseries
index e5010d1c0..4ac99a75a 100644
--- a/bootdisk/ppc/yaboot.conf
+++ b/bootdisk/ppc/yaboot.conf.pseries
@@ -1,4 +1,4 @@
-init-message = "\nWelcome to Red Hat Linux!\nHit <TAB> for boot options.\n\n"
+init-message = "\nWelcome!\nHit <TAB> for boot options.\n\n"
timeout=6000
default=linux