Gentoo Archives: gentoo-commits

From: "Matěj Laitl" <matej@×××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/scarabeus:master commit in: docs/
Date: Wed, 02 Nov 2011 12:30:57
Message-Id: ff02b8dff8d0132f1d355cf6164464a674a1a23e.matej@gentoo
1 commit: ff02b8dff8d0132f1d355cf6164464a674a1a23e
2 Author: Matěj Laitl <matej <AT> laitl <DOT> cz>
3 AuthorDate: Wed Nov 2 10:18:03 2011 +0000
4 Commit: Matěj Laitl <matej <AT> laitl <DOT> cz>
5 CommitDate: Wed Nov 2 10:18:03 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/scarabeus.git;a=commit;h=ff02b8df
7
8 GRUB 2 Guide: note about bind-mounting /sys, thanks to Moritz, Ramin
9
10 ---
11 docs/grub-2-guide.xml | 8 ++++++++
12 1 files changed, 8 insertions(+), 0 deletions(-)
13
14 diff --git a/docs/grub-2-guide.xml b/docs/grub-2-guide.xml
15 index 42ab32b..100e6ed 100644
16 --- a/docs/grub-2-guide.xml
17 +++ b/docs/grub-2-guide.xml
18 @@ -426,6 +426,14 @@ command that probes your system for all the required data. Cooperating with
19 <i>sys-boot/os-prober</i>, it detects even other OSes on all disks.
20 </p>
21
22 +<impo>If you want to configure GRUB 2 from a chrooted environment (e.g. from the
23 +Gentoo LiveDVD) and you need os-prober functionality, you have to mount the sysfs
24 +from the live system:
25 +<pre caption="Bind-mounting sysfs">
26 +# <i>mount --rbind /sys /path/to/chroot/sys</i>
27 +</pre>
28 +</impo>
29 +
30 <impo>
31 If you updated from GRUB Legacy then your <path>/boot/grub/menu.lst</path>
32 was converted to <path>/boot/grub2/grub.cfg</path> to ensure that your system