From ff02b8dff8d0132f1d355cf6164464a674a1a23e Mon Sep 17 00:00:00 2001
From: Matěj Laitl
Date: Wed, 2 Nov 2011 11:18:03 +0100
Subject: GRUB 2 Guide: note about bind-mounting /sys, thanks to Moritz, Ramin
---
docs/grub-2-guide.xml | 8 ++++++++
1 file changed, 8 insertions(+)
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
sys-boot/os-prober, it detects even other OSes on all disks.
+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:
+
+# mount --rbind /sys /path/to/chroot/sys
+
+
+
If you updated from GRUB Legacy then your /boot/grub/menu.lst
was converted to /boot/grub2/grub.cfg to ensure that your system
--
cgit v1.2.3-65-gdbad