|
@@ -193,7 +193,11 @@ grub> boot</userinput></screen>
|
|
|
|
|
|
<para>Update the MBR with:</para>
|
|
<para>Update the MBR with:</para>
|
|
|
|
|
|
-<screen role="nodump"><userinput>grub-setup</userinput></screen>
|
|
|
|
|
|
+<screen role="nodump"><userinput>grub-setup '<DEVICE>'</userinput></screen>
|
|
|
|
+
|
|
|
|
+ <para>Change the DEVICE above to your boot disk, normally '(hd0)' or /dev/sda.
|
|
|
|
+ If using (hd0) be sure to escape the parentheses with backslashes or single
|
|
|
|
+ quotes to prevent the shell from interpreting them as a sub-shell.</para>
|
|
|
|
|
|
<para>This program uses the following defaults and are correct if you did not
|
|
<para>This program uses the following defaults and are correct if you did not
|
|
deviate from the instructions above:</para>
|
|
deviate from the instructions above:</para>
|
|
@@ -203,9 +207,17 @@ grub> boot</userinput></screen>
|
|
<listitem><para>core image - core.img </para></listitem>
|
|
<listitem><para>core image - core.img </para></listitem>
|
|
<listitem><para>directory - /boot/grub</para></listitem>
|
|
<listitem><para>directory - /boot/grub</para></listitem>
|
|
<listitem><para>device map - device.map</para></listitem>
|
|
<listitem><para>device map - device.map</para></listitem>
|
|
- <listitem><para>root device - guessed </para></listitem>
|
|
|
|
|
|
+ <listitem><para>default root setting - guessed</para></listitem>
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
+ <note><para>The root setting is the default value if a 'set root'
|
|
|
|
+ instruction is not found in grub.cfg. This is the partition that is
|
|
|
|
+ searched for the kernel and other supporting files. It is different from
|
|
|
|
+ the 'root=' parameter on the 'linux' line in the configuration line. The
|
|
|
|
+ later is the partition the kernel mounts as '/'. In the example grub.cfg
|
|
|
|
+ above, both values point to /dev/sda2, but if there is a separate boot
|
|
|
|
+ partition, they will be different.</para></note>
|
|
|
|
+
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
</sect1>
|
|
</sect1>
|