On Wed, Nov 29, 2000 at 02:06:02PM -0500, Adam Di Carlo wrote: > > i should have put this in my documentation patch regarding newworld > > yaboot setup but i didn't think of it :/ i could put together another > > documentation patch if requested. > > That would be excellent. attached is a patch to dbootstrap.sgml to document the fact that OpenFirmware needs to be reconfigured by the user in order for quik to be booted. this documents away bug #69161 while were at it i also changed the references to /target/usr/lib/yaboot/ofboot to /usr/lib/yaboot/ofboot in the yaboot setup instructions, ofboot is now on the root.bin image so the /target/ prefix is not necessary, and these commands are long enough as it is. -- Ethan Benson http://www.alaska.net/~erbenson/
Index: dbootstrap.sgml
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/documentation/en/dbootstrap.sgml,v
retrieving revision 1.45
diff -u -r1.45 dbootstrap.sgml
--- dbootstrap.sgml 2000/11/22 06:29:47 1.45
+++ dbootstrap.sgml 2000/11/30 05:11:16
@@ -724,6 +724,17 @@
If you like it, you can also use it on CHRP. For all others, such as Apus,
Be-Box, MBX and PReP we need an generic bootloader (if we have one, then
also for PMac and CHRP).
+ <p>
+IMPORTANT: The &Make-Linux-Bootable-Directly-From-Hard-Disk; step will install
+quik, however it will not make the necessary modification to
+OpenFirmware's <file>boot-device</file> variable. This means that running
+&Make-Linux-Bootable-Directly-From-Hard-Disk; will not cause &debian;
+to be booted when you reboot. To make &debian; boot you need to select
+&Execute-a-Shell; and run:
+
+<example>nvsetenv `ofpath /dev/sda2`</example> where
+ <file>/dev/sda2</file> is your root partition. Perform this
+step after running &Make-Linux-Bootable-Directly-From-Hard-Disk;.
<sect1>``NewWorld'' PowerMacs
<p>
@@ -755,7 +766,7 @@
IDE hard disk, in which case your OpenFirmware device path is `hd:'
<example>
-mkofboot --boot /dev/hda2 -m /target/usr/lib/yaboot/ofboot --root /dev/hda3 --partition 3
+mkofboot --boot /dev/hda2 -m /usr/lib/yaboot/ofboot --root /dev/hda3 --partition 3
</example>
where "/dev/hda2" is the bootstrap partition, "/dev/hda3" is your root
@@ -773,12 +784,12 @@
<example>
ofpath /dev/sda
/pci@80000000/pci-bridge@d/ADPT,2930CU@2/@1:
- mkofboot --boot /dev/sda2 -m /target/usr/lib/yaboot/ofboot --root /dev/sda3 --partition 3 \
+ mkofboot --boot /dev/sda2 -m /usr/lib/yaboot/ofboot --root /dev/sda3 --partition 3 \
--device /pci@80000000/pci-bridge@d/ADPT,2930CU@2/@1:
</example>
or a simpler method:
<example>
- mkofboot --boot /dev/sda2 -m /target/usr/lib/yaboot/ofboot --root /dev/sda3 --partition 3 \
+ mkofboot --boot /dev/sda2 -m /usr/lib/yaboot/ofboot --root /dev/sda3 --partition 3 \
--device `ofpath /dev/sda`
</example>
</enumlist>
Attachment:
pgpzvK3uX1fHJ.pgp
Description: PGP signature