public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matěj Laitl" <matej@laitl.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/scarabeus:master commit in: docs/
Date: Wed,  2 Nov 2011 12:30:48 +0000 (UTC)	[thread overview]
Message-ID: <ff02b8dff8d0132f1d355cf6164464a674a1a23e.matej@gentoo> (raw)

commit:     ff02b8dff8d0132f1d355cf6164464a674a1a23e
Author:     Matěj Laitl <matej <AT> laitl <DOT> cz>
AuthorDate: Wed Nov  2 10:18:03 2011 +0000
Commit:     Matěj Laitl <matej <AT> laitl <DOT> cz>
CommitDate: Wed Nov  2 10:18:03 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/scarabeus.git;a=commit;h=ff02b8df

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>
 
+<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



             reply	other threads:[~2011-11-02 12:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 12:30 Matěj Laitl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-23 19:49 [gentoo-commits] dev/scarabeus:master commit in: docs/ Matěj Laitl
2011-10-23 17:45 Matěj Laitl
2011-10-11 22:06 Matěj Laitl
2011-10-11 22:06 Matěj Laitl
2011-10-11 19:35 Matěj Laitl
2011-10-11 19:35 Matěj Laitl
2011-10-11 19:35 Matěj Laitl
2011-10-11 19:35 Matěj Laitl
2011-10-11  7:45 Tomas Chvatal
2011-09-30 12:13 Tomas Chvatal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff02b8dff8d0132f1d355cf6164464a674a1a23e.matej@gentoo \
    --to=matej@laitl.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox