From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QZuJI-0006E1-1I for mharc-grub-devel@gnu.org; Thu, 23 Jun 2011 20:31:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]:45804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZuJE-0006Dt-PZ for grub-devel@gnu.org; Thu, 23 Jun 2011 20:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZuJD-0006Wv-Mm for grub-devel@gnu.org; Thu, 23 Jun 2011 20:31:44 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:49139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZuJD-0006Wp-HI for grub-devel@gnu.org; Thu, 23 Jun 2011 20:31:43 -0400 Received: by wwf22 with SMTP id 22so1962482wwf.30 for ; Thu, 23 Jun 2011 17:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=LwvF0TqSRj1kaR7FS05C/wyiIqimIYrJr0hZ501l2NA=; b=bQlxDyJQ2MV9UIius/ljStNdULidSv0uiyCs1NHOqX3wa1UjWtaOM4zSpacKkc88Go /1a+ZYRIO/zlnxPR7LHBKqwdM96vxvnnPf9uTCDPSN1Gq2DnX2ilfdgs7uSvXUrSDSZ8 9LnTZJdEYiExtsyanaX59lNzn33MA8Ru54atM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=TizQfZSWqV8QszsMfNbKpgadWt0TAx1j7bvpSVwX4aW+URv87/I/NQbmJL/tNep3gD 3+/e8ODelUUHOCVvuAYq6n/relZtEub+xrqOazIOzUqYJw+lrfRcqBYSybM8gtq1qGgN 0XTYzywRHxo0BLVu5CgjoYNyCWV715CvyV6fk= Received: by 10.216.239.67 with SMTP id b45mr57892wer.44.1308875501220; Thu, 23 Jun 2011 17:31:41 -0700 (PDT) Received: from debian.x201.phnet (32-1.203-62.cust.bluewin.ch [62.203.1.32]) by mx.google.com with ESMTPS id z66sm1126234weq.24.2011.06.23.17.31.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Jun 2011 17:31:39 -0700 (PDT) Message-ID: <4E03DAE9.70303@gmail.com> Date: Fri, 24 Jun 2011 02:31:37 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Iceowl/1.0b2 Icedove/3.1.10 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: grub 1.99 configuration References: <4DF4243D.4050108@gmail.com> In-Reply-To: <4DF4243D.4050108@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDBE2F52A1266A7BB35E09842" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 00:31:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDBE2F52A1266A7BB35E09842 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3Ddevice / > > Drilling down, grub-probe is doing: > device_name =3D 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=3Dcontinue,barrier=3D0,data=3Dwriteback > > 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 > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigDBE2F52A1266A7BB35E09842 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk4D2ukACgkQNak7dOguQgk/CQD/bUa/AVTXNaQbYQf7YObVkl6x 9RtMHiqKEGSk/GBuBwoBAJG7o/Hnto8uSCWqsBrylxoRhzMa4/CjQkK7Enbx4Fir =wZh2 -----END PGP SIGNATURE----- --------------enigDBE2F52A1266A7BB35E09842--