summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatěj Laitl <matej@laitl.cz>2011-11-02 11:18:03 +0100
committerMatěj Laitl <matej@laitl.cz>2011-11-02 11:18:03 +0100
commitff02b8dff8d0132f1d355cf6164464a674a1a23e (patch)
treeeedc81b4be289c8177c91f786aeead19a418e2e9
parentGRUB 2 Guide fixes by Moritz Schlarb (diff)
downloadscarabeus-ff02b8dff8d0132f1d355cf6164464a674a1a23e.tar.gz
scarabeus-ff02b8dff8d0132f1d355cf6164464a674a1a23e.tar.bz2
scarabeus-ff02b8dff8d0132f1d355cf6164464a674a1a23e.zip
GRUB 2 Guide: note about bind-mounting /sys, thanks to Moritz, RaminHEADmaster
-rw-r--r--docs/grub-2-guide.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/grub-2-guide.xml b/docs/grub-2-guide.xml
index 42ab32b..100e6ed 100644
--- a/docs/grub-2-guide.xml
+++ b/docs/grub-2-guide.xml
@@ -426,6 +426,14 @@ command that probes your system for all the required data. Cooperating with
<i>sys-boot/os-prober</i>, it detects even other OSes on all disks.
</p>
+<impo>If you want to configure GRUB 2 from a chrooted environment (e.g. from the
+Gentoo LiveDVD) and you need os-prober functionality, you have to mount the sysfs
+from the live system:
+<pre caption="Bind-mounting sysfs">
+# <i>mount --rbind /sys /path/to/chroot/sys</i>
+</pre>
+</impo>
+
<impo>
If you updated from GRUB Legacy then your <path>/boot/grub/menu.lst</path>
was converted to <path>/boot/grub2/grub.cfg</path> to ensure that your system