Imported Upstream version 1.1.11
[platform/upstream/cdrkit.git] / doc / genisoimage / README.prep_boot
1 I have extended mkhybrid to create a CD that is bootable via PPCbug
2 on a PowerPC Reference Platform compliant machine (referred to as
3 PReP).
4
5 This includes a number of IBM RS-6000 clones, along with most of
6 Motorola's embedded PowerPC boards, such as the MTX and MVME
7 boards. (The motorola boards are sometimes referred to as PowerPlus)
8
9 To build a bootable CD, you will first need a kernel image for your
10 machine. Put the image somewhere in the filesystem you want
11 to generate and ISO9660 image from.
12
13 The '-B' or '-prep-boot' flags are used to specify the image file
14 to use. The path must be relative to the root of the CD filesytem,
15 NOT from the current directory.
16
17 For example: to make an image of /tmp/cd and use the image file
18 /tmp/cd/zImage, (with rock ridge extensions) use:
19
20 mkhybrid -r -B zImage /tmp/cd -o cd.img
21
22 Since there are four entries for bootable 'partitions', I have
23 allowed up to 4 different images to be used. This might be 
24 usefull if one has need of different kernel images for different
25 machines on the same CD.
26
27 The first image will be in the first partition entry, so if one
28 uses:
29
30 mkhybrid -r -B zImage1 -B zImage2 -B zImage3 -B zImage4 /tmp/cd
31
32 This will result in 4 bootable images. To boot off the first image
33 from PPCbug, use 'pboot 0 41' from the ppcbug> prompt.
34 (assuming the CDROM is at SCSI ID 4.. replace the 4 with the SCSI
35 ID of the CDROM if not.) The second image is at 'pboot 0 42', etc.
36
37 There should not be any conflicts with any of the HFS or hybrid
38 functions, since the space used by the PReP partition maps is
39 unused by anything else. If fact, the goal is to make a CD
40 bootable on both Mac's and PReP machines ;)
41
42 For any questions contact me at one of the following addresses:
43 troy@microux.com
44 troy@blacklablinux.com
45 hozer@drgw.net