From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub 1.99 configuration
Date: Fri, 24 Jun 2011 02:31:37 +0200 [thread overview]
Message-ID: <4E03DAE9.70303@gmail.com> (raw)
In-Reply-To: <4DF4243D.4050108@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]
On 12.06.2011 04:28, Bruce Dubbs wrote:
> I'm trying to manually run grub-mkconfig to establish grub-1.99
> installation instructions for Linux From Scratch.
>
> I am getting:
>
> grub-mkconfig -o /boot/grub/grub.cfg
> /usr/sbin/grub-probe: error: cannot stat `/dev/root'
>
> Doing some investigating grub-mkconfig is running:
> /usr/sbin/grub-probe --target=device /
>
> Drilling down, grub-probe is doing:
> device_name = grub_guess_root_device (path);
>
> Which in turn is doing:
> grub_find_root_device_from_mountinfo( "/", NULL );
>
> This is reading /proc/self/mountinfo. The problem here is that this
> file does not give the device, but specifies /dev/root:
>
> 13 1 8:15 / / rw,relatime - ext3 /dev/root
> rw,errors=continue,barrier=0,data=writeback
>
> The kernel is 2.6.39.1, but 2.6.37 seems to give the same thing.
> grub-probe should be able to detect /dev/sda15, but fails on newer
> kernels.
>
> grub-probe for grub-1.98 works fine. A grep there shows no use of
> /proc/self/mountinfo.
>
> Suggestions?
>
update either udev or grub. normally /dev/root should be a symlink.
Newer grub-probe can cope with some other arrangements as well
> -- Bruce
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2011-06-24 0:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 2:28 grub 1.99 configuration Bruce Dubbs
2011-06-12 12:40 ` Colin Watson
2011-06-12 15:19 ` Bruce Dubbs
2011-06-24 0:31 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2011-06-24 2:18 ` Bruce Dubbs
2011-06-24 2:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=4E03DAE9.70303@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.