Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHb8k-0004qd-NI for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 05:48:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHb8h-0004nB-Bx for grub-devel@gnu.org; Mon, 07 Dec 2009 05:48:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHb8c-0004iO-KW for grub-devel@gnu.org; Mon, 07 Dec 2009 05:48:22 -0500 Received: from [199.232.76.173] (port=34418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHb8c-0004i3-5Y for grub-devel@gnu.org; Mon, 07 Dec 2009 05:48:18 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:44480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHb8b-00075y-Hi for grub-devel@gnu.org; Mon, 07 Dec 2009 05:48:17 -0500 Received: by fxm5 with SMTP id 5so4434329fxm.8 for ; Mon, 07 Dec 2009 02:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=K5AIDcYL4h6U9jh9dM5sjYmluUNkK3iU6+d4S1/31tw=; b=M9dSicDRS+Y81qtEiUzxI+yGppIgdaY1qhfGQnUd5n3ZuykgpPelKegC9h/VyYWxif vyhfMnnjmyTsXtAXHMeEgmtYEP9GJyWbBvPhTNO9JEO4gY8vAAc7OYehhzNzwmqN0U3Q yzwesflvtimqbg15R5bEyw2ExhOyAcKsy+gI4= 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=go1e9Fg24a3NHYBmFGbr2hNmYYRXQJ2OXyGyqNj/4Xugx87+KxwFH7n8I/K62XVyG3 lz+vPW/MUaFeOW+j2Zhpgbjs72mkVzqJsxgBFz0eox8kX16uGTceubjKtkzWP2hl/AZx cOaev6XSGMH0bfXWtjw0csFMenCD9Jmn1Suu4= Received: by 10.87.73.33 with SMTP id a33mr5586300fgl.26.1260182896554; Mon, 07 Dec 2009 02:48:16 -0800 (PST) Received: from debian.bg45.phnet (94-12.0-85.cust.bluewin.ch [85.0.12.94]) by mx.google.com with ESMTPS id e20sm17116979fga.12.2009.12.07.02.48.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 02:48:15 -0800 (PST) Message-ID: <4B1CDD67.20801@gmail.com> Date: Mon, 07 Dec 2009 11:48:07 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20091206.012146.124293458.davem@davemloft.net> <20091206131026.GA24598@thorin> <20091206.172252.144134315.davem@davemloft.net> In-Reply-To: <20091206.172252.144134315.davem@davemloft.net> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig9F51EC6FB68614A4EA266355" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Broken common.rmk change X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Mon, 07 Dec 2009 10:48:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9F51EC6FB68614A4EA266355 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable David Miller wrote: > From: Robert Millan > Date: Sun, 6 Dec 2009 14:10:26 +0100 > > =20 >> grub-mkconfig generates a grub.cfg that relies on UUIDs instead >> of hardcoding, etc. >> =20 > > Well, for one thing I don't use initrd's for my Linux kernels, > therefore specifying root devices via UUIDs isn't going to work. > > =20 The problem actually is the following: When we're in OS we know the OS device name but not the firmware device name. So we're able to generate correct root=3D for kernel command line but can only guess which names you would need for grub's set root=3D. The= solution we're going for is to have UUID of fs stored in grub.cfg and go through all partitions on boot and find the right one nd set it to root variable. As for passing root=3D kernel parameter the decision of using device name or UUID=3D is based on heuristics (sigh) but you can disable them altogether in /etc/default/grub: # Uncomment if you don't want GRUB to pass "root=3DUUID=3Dxxx" parameter = to Linux #GRUB_DISABLE_LINUX_UUID=3Dtrue > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig9F51EC6FB68614A4EA266355 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.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksc3W0ACgkQNak7dOguQgmAewD/ew08dkJCIBtDS9omz0BjyQsC LR6nc+6pLBuHq6jb8X8A+wcvSwImzRI5jk9ra7H5ksTPNfnN/mbLHUiMHVLWX3AH =R6l4 -----END PGP SIGNATURE----- --------------enig9F51EC6FB68614A4EA266355--