Changeset bd709ec for BOOK/bootable/ppc
- Timestamp:
- May 10, 2006, 4:36:40 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8a84f0d
- Parents:
- fadf920
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/ppc/yaboot.xml
rfadf920 rbd709ec 17 17 <para os="a">Your shiny new LFS system is almost complete. One of the last 18 18 things to do is to ensure that the system can be properly booted. The 19 instructions below apply only to NewWorld Macintoshes and (probably) 20 PegasosPPC.</para> 19 instructions below apply only to NewWorld Macintoshes.</para> 21 20 22 21 <para os="b">Boot loading can be a complex area, so a few cautionary words … … 24 23 operating systems present on the hard drive(s) that need to be bootable. 25 24 Make sure that an emergency CD is ready to <quote>rescue</quote> the 26 computer if it becomes un-bootable.</para> 25 computer if it becomes un-bootable. It is also a good idea to enable booting 26 from Open Firmware in case things go really wrong.</para> 27 27 28 28 <para os="c">Earlier, we compiled and installed the yaboot boot loader software 29 29 in preparation for this step. The procedure involves writing the bootloader 30 to a bootstrap partition and blessing it so that Open Firmware will boot from31 it. This is all handled by <command>ybin</command> the yaboot installer.</para> 30 to a bootstrap partition and blessing it so that Open Firmware will boot from 31 it. This is all handled by <command>ybin</command> the yaboot installer.</para> 32 32 33 33 <para os="d">Ybin assembles all the information it needs by reading yaboot.conf, … … 42 42 details. Most people will be able to specify device=hd: (for a single hard disk), 43 43 but if you have multiple disks, or if you wish to be pedantic, you can specify the 44 full OF path to the device, obtained by running <command>ofpath</command>.</para> 44 full OF path to the device, obtained by running <command>ofpath /dev/hdX</command> 45 .</para> 45 46 46 47 <para os="f">Note that the man page mentions which filesystems yaboot can … … 57 58 <filename class="partition">hda4</filename>. Change these items as necessary 58 59 for your machine.</para> 60 61 <para os="i">If your machine has a SATA disk, specify the partitions using 62 <filename class="devicefile">/dev/sda7</filename> and so forth in the usual 63 way. At least some of the distros specify a full OF path to the 'device' and 64 to the image(s), such as 65 <filename class="devicefile">device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0: 66 </filename> for the disk, and 67 <filename class="partition">image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/lfskernel-&linux-version; 68 </filename> which definitely works.</para> 59 69 60 70 <para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot … … 90 100 enablecdboot 91 101 102 # allow the initial menu to offer booting from Open Firmware 103 enableofboot 104 92 105 # allow the initial menu to boot from mac osx 93 106 macosx=/dev/hda4 94 107 108 # white on black is boring! 109 # note the spellings : 'fgcolor' but 'light' 110 # in this context, light means 'without high intensity' 111 fgcolor=light-green 112 95 113 # The first entry is for LFS. 96 114 # For all images, the pathname is relative to the filesystem 97 # on which they are mounted. 115 # on which they are situated and can include at most one 116 # directory 98 117 image=/boot/lfskernel-&linux-version; 99 118 label=&version;
Note:
See TracChangeset
for help on using the changeset viewer.