From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PXrHp-0002Cn-8F for mharc-grub-devel@gnu.org; Wed, 29 Dec 2010 03:21:33 -0500 Received: from [140.186.70.92] (port=52891 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXrHm-0002BY-58 for grub-devel@gnu.org; Wed, 29 Dec 2010 03:21:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PXrHl-0001WZ-9K for grub-devel@gnu.org; Wed, 29 Dec 2010 03:21:30 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:64056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PXrHk-0001Vn-Uh for grub-devel@gnu.org; Wed, 29 Dec 2010 03:21:29 -0500 Received: by mail-ww0-f49.google.com with SMTP id 17so10211392wwb.30 for ; Wed, 29 Dec 2010 00:21:28 -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=UGdDTuiRwPbXY61ynNKH+8WgFFSBubUo08pf8ZzpNEU=; b=sYUJNK8La3WLs6SY4hhu+A/OAL0eIkkAdbx6+RPxGwqYkjWwdc6L54WWKuvoQdjvwi J+AkEfZZ6D8ZHyh0GXwiklfMTAR+HAeVux5RuCAlTjGa330eCG+XrJKe5tPOEGZajbPr oeTWxdZT9tHVjcEvdB2L+Rc0kP/fGlDlYzq8c= 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=fG4jzBURokm5HQgID95WaPDqi/SNU6V0CtEVX3zfAAPHVsA1C8OYl+1uuCYygJKoat uSWucd+z/476iyiKVyktjm9I4zzLWJvmEpXRrPZ/0zPqGV3G3q2L3ttXgArkwBiBldza Lte/MIAdOlJjK8TsvoMWk70DT/SzcgNPnF2/w= Received: by 10.216.142.101 with SMTP id h79mr15568808wej.49.1293610887198; Wed, 29 Dec 2010 00:21:27 -0800 (PST) Received: from debian.bg45.phnet (vpn-global-dhcp3-001.ethz.ch [129.132.210.1]) by mx.google.com with ESMTPS id o33sm6926172wej.37.2010.12.29.00.21.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Dec 2010 00:21:26 -0800 (PST) Message-ID: <4D1AEF83.9080400@gmail.com> Date: Wed, 29 Dec 2010 09:21:23 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101211 Icedove/3.0.11 MIME-Version: 1.0 To: grub-devel@gnu.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig6000536EB4737DC3E8550B2F" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: `"prefix" is not set` error message in early GRUB startup 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: Wed, 29 Dec 2010 08:21:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6000536EB4737DC3E8550B2F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > My suggested fix is to move the calls to grub_machine_set_prefix() > and grub_set_root_dev before grub_load_modules(). A cursory > examination of these functions doesn't reveal any dependence on any > loadable modules, but I'm not 100% sure about that. The dependence is subtle: set_prefix may require working partitions_iterate (I think it does on EFI). I'll think how to fix the matters but since normal.mod isn't meant to be preloaded, I see the matter as minor. > Were these two functions put after grub_load_modules() before they > might require modules loaded there? > > --S > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig6000536EB4737DC3E8550B2F 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/ iF4EAREKAAYFAk0a74MACgkQNak7dOguQgnPawD/ZWC9OPjuFbQnYK0hSwhFd47K ZKwuhpZInFThM7BJtjEA/RWji8VEUzymQVibxVo2BzqtrWbHJtXi0yzoKGo30i6j =l52L -----END PGP SIGNATURE----- --------------enig6000536EB4737DC3E8550B2F--