From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-397693-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RLZy5-0000Qj-Pg
	for garchives@archives.gentoo.org; Wed, 02 Nov 2011 12:30:57 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 80F9D21C04E;
	Wed,  2 Nov 2011 12:30:50 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4A28E21C04E
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2011 12:30:49 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 62FCB64ACA
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2011 12:30:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id C1AD580042
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2011 12:30:48 +0000 (UTC)
From: "Matěj Laitl" <matej@laitl.cz>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matěj Laitl" <matej@laitl.cz>
Message-ID: <ff02b8dff8d0132f1d355cf6164464a674a1a23e.matej@gentoo>
Subject: [gentoo-commits] dev/scarabeus:master commit in: docs/
X-VCS-Repository: dev/scarabeus
X-VCS-Files: docs/grub-2-guide.xml
X-VCS-Directories: docs/
X-VCS-Committer: matej
X-VCS-Committer-Name: Matěj Laitl
X-VCS-Revision: ff02b8dff8d0132f1d355cf6164464a674a1a23e
Date: Wed,  2 Nov 2011 12:30:48 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 42fb92ee-13c8-40ad-aa1a-70ffea5cba78
X-Archives-Hash: 29aadcf52c45d0edc5039573e73e1c79

commit:     ff02b8dff8d0132f1d355cf6164464a674a1a23e
Author:     Mat=C4=9Bj Laitl <matej <AT> laitl <DOT> cz>
AuthorDate: Wed Nov  2 10:18:03 2011 +0000
Commit:     Mat=C4=9Bj Laitl <matej <AT> laitl <DOT> cz>
CommitDate: Wed Nov  2 10:18:03 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Ddev/scarabeus.git;=
a=3Dcommit;h=3Dff02b8df

GRUB 2 Guide: note about bind-mounting /sys, thanks to Moritz, Ramin

---
 docs/grub-2-guide.xml |    8 ++++++++
 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>
=20
+<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=3D"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</pat=
h>
 was converted to <path>/boot/grub2/grub.cfg</path> to ensure that your s=
ystem