[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275565: Patch



I think the following patch should fix the most important issues with
the powerpc netboot instructions. It removes the mention of
yaboot-netboot.conf, which is now netboot/yaboot.conf and it notes
that "boot enet:0" might not work on all NewWorld machines and
trying "boot enet:0,yaboot" might work in this case.

Index: en/install-methods/install-tftp.xml
===================================================================
--- en/install-methods/install-tftp.xml	(Revision 54014)
+++ en/install-methods/install-tftp.xml	(Arbeitskopie)
@@ -121,7 +121,11 @@
 <para>
 The <userinput>-l</userinput> argument enables some versions of
 <command>in.tftpd</command> to log all requests to the system logs;
-this is useful for diagnosing boot errors.
+this is useful for diagnosing boot errors. All <command>in.tftpd</command>
+alternatives available in Debian should do this by default, and in fact
+do not support a <userinput>-l</userinput> argument for this purpose.
+Some of them support a <userinput>-v</userinput> argument to increase
+verbosity, though.
 </para>
 
 </footnote>; you'll need that below.
@@ -172,10 +176,37 @@
 On NewWorld Power Macintosh machines, you will need to set up the
 <command>yaboot</command> boot loader as the TFTP boot image.
 <command>Yaboot</command> will then retrieve the kernel and RAMdisk
-images via TFTP itself.  For net booting, use the
-<filename>yaboot-netboot.conf</filename>.  Just rename this to
-<filename>yaboot.conf</filename> in the TFTP directory.
+images via TFTP itself. You will need to download the following files
+from the <filename>netboot/</filename> directory:
 
+<itemizedlist>
+<listitem><para>
+
+<filename>vmlinux</filename>
+
+</para></listitem>
+<listitem><para>
+
+<filename>initrd.gz</filename>
+
+</para></listitem>
+<listitem><para>
+
+<filename>yaboot</filename>
+
+</para></listitem>
+<listitem><para>
+
+<filename>yaboot.conf</filename>
+
+</para></listitem>
+<listitem><para>
+
+<filename>boot.msg</filename>
+
+</para></listitem>
+</itemizedlist>
+
 </para><para arch="x86">
 
 For PXE booting, everything you should need is set up in the
Index: en/preparing/bios-setup/powerpc.xml
===================================================================
--- en/preparing/bios-setup/powerpc.xml	(Revision 54014)
+++ en/preparing/bios-setup/powerpc.xml	(Arbeitskopie)
@@ -15,8 +15,8 @@
 </para><para>
 
 On &arch-title; Macintoshes, you invoke OpenFirmware with
-<keycombo><keycap>Command</keycap> <keycap>option</keycap>
-<keycap>O</keycap> <keycap>F</keycap></keycombo> while booting.  Generally it
+<keycombo><keycap>Command (cloverleaf/Apple)</keycap> <keycap>Option </keycap>
+<keycap>o</keycap> <keycap>f</keycap></keycombo> while booting.  Generally it
 will check for these keystrokes after the chime, but the exact timing
 varies from model to model.  See
 <ulink url="&url-netbsd-powerpc-faq;"></ulink> for more hints.
Index: en/boot-installer/powerpc.xml
===================================================================
--- en/boot-installer/powerpc.xml	(Revision 54014)
+++ en/boot-installer/powerpc.xml	(Arbeitskopie)
@@ -79,10 +79,7 @@
 <filename>initrd.gz</filename>, <filename>yaboot</filename>, and
 <filename>yaboot.conf</filename> files at the root level of your HFS
 partition in <xref linkend="files-newworld"/>.
-Restart the computer, and immediately (during the chime) hold down the
-<keycap>Option</keycap>, <keycap>Command (cloverleaf/Apple)</keycap>,
-<keycap>o</keycap>, and <keycap>f</keycap> keys all together. After
-a few seconds you will be presented with the Open Firmware prompt.
+You will now have to boot into OpenFirmware (see <xref linkend="invoking-openfirmware"/>).
 At the prompt, type
 
 <informalexample><screen>
@@ -126,10 +123,7 @@
 you will need to use the Open Firmware prompt, since Open Firmware does
 not search USB storage devices by default.
 <!-- TODO: although it could be made to; watch this space -->
-To get to the prompt, hold down
-<keycombo><keycap>Command</keycap> <keycap>Option</keycap>
-<keycap>o</keycap> <keycap>f</keycap></keycombo> all together while
-booting (see <xref linkend="invoking-openfirmware"/>).
+See <xref linkend="invoking-openfirmware"/>.
 
 </para><para>
 
@@ -186,10 +180,26 @@
 
 On machines with Open Firmware, such as NewWorld Power Macs, enter the
 boot monitor (see <xref linkend="invoking-openfirmware"/>) and
-use the command <command>boot enet:0</command>.  PReP and CHRP boxes
+use the command
+
+<informalexample><screen>
+0 &gt; boot enet:0
+</screen></informalexample>
+
+If this doesn't work, you might have to add the filename like this:
+
+<informalexample><screen>
+0 &gt; boot enet:0,yaboot
+</screen></informalexample>
+
+PReP and CHRP boxes
 may have different ways of addressing the network.  On a PReP machine,
 you should try
-<userinput>boot net:<replaceable>server_ipaddr</replaceable>,<replaceable>file</replaceable>,<replaceable>client_ipaddr</replaceable></userinput>.
+
+<informalexample><screen>
+boot net:<replaceable>server_ipaddr</replaceable>,<replaceable>file</replaceable>,<replaceable>client_ipaddr</replaceable>
+</screen></informalexample>
+
 On some PReP systems (e.g. Motorola PowerStack machines) the command
 <userinput>help boot</userinput> may give a description of syntax and
 available options.


Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: