From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XXalJ-0004Gi-S0 for mharc-grub-devel@gnu.org; Fri, 26 Sep 2014 15:01:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXalF-0004EX-Cd for grub-devel@gnu.org; Fri, 26 Sep 2014 15:00:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXalD-0003FF-TA for grub-devel@gnu.org; Fri, 26 Sep 2014 15:00:57 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:36436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXalD-0003EL-Ja for grub-devel@gnu.org; Fri, 26 Sep 2014 15:00:55 -0400 Received: by mail-wi0-f173.google.com with SMTP id r20so81525wiv.0 for ; Fri, 26 Sep 2014 12:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=ElwJO5f7i0Xuolw2nZF7xeKAeTET4zDdRgQdEo5WNTY=; b=sa0CsfgOYQ/kMLIN+nuV1M2mboYmDL86ecKKPduVXOk/OuxArUxT/V/w8lwIgoaqYC CR6ru3WyZyOHX0FDig7ggpPpWmeR+fdeJwd42JZJKuV/f3yoKBZMRqANSAi+DKM4SJ51 La/p2BO+b/GD7GFrVsHZhEnHIBgMsxxtZ800LpQx+UPKmjJggU3JYOAyxgzBjpZWQCXz dIRW7E+pi1aLEIVoj+d3nREj8dT2kZKh9IO1haADGJ8j5QLVfqyCr0JFFyBthRe3NK12 XoVhCHAk7d6wNLNdZq9uuNZwmh4SAJ7+QCkEFwqJZo1yrC4eyHKZuBNPxe6PEtsC/SMp DRXw== X-Received: by 10.180.103.131 with SMTP id fw3mr48889033wib.77.1411758048663; Fri, 26 Sep 2014 12:00:48 -0700 (PDT) Received: from ?IPv6:2a02:1205:34e8:e430:863a:4bff:fe50:abc4? ([2a02:1205:34e8:e430:863a:4bff:fe50:abc4]) by mx.google.com with ESMTPSA id ec18sm3191641wic.0.2014.09.26.12.00.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Sep 2014 12:00:47 -0700 (PDT) Message-ID: <5425B7D7.2010404@gmail.com> Date: Fri, 26 Sep 2014 21:00:39 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Having the configuration file embedded into core.img look for the grub partition by its label References: <54208B55.7060100@gmx.fr> <5420AC43.7060303@gmail.com> <54212B29.80907@gmx.fr> In-Reply-To: <54212B29.80907@gmx.fr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TkDLKbWHLb1NmVgIlvwNEsBck0KEkNp7P" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22d 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, 26 Sep 2014 19:00:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TkDLKbWHLb1NmVgIlvwNEsBck0KEkNp7P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 23.09.2014 10:11, Arbiel Perlacremaz wrote: > Having the grub directory on the external device is not what I'm lookin= g > for. >=20 > I indeed use several external devices and I've installed GRUB on each o= f > them so that it is always available, whatsoever my configuration is. To= > avoid confusion when updating GRUB, all my fstab files mount a unique > directory, always the same, on /boot/grub. This is the reason why I wan= t > GRUB on my hard drive. >=20 Upgrading modules without rerunning grub-install on all devices is not supported. It may work for few revisions but when core functions change it will break. >=20 > Le 23/09/2014 01:09, Vladimir '=CF=86-coder/phcoder' Serbinenko a =C3=A9= crit : >> On 22.09.2014 22:49, Arbiel Perlacremaz wrote: >>> Hi >>> >>> A way I'm using to avoid any Window's reinstallation to overwrite GRU= B >>> in a multiboot environment is to install the later on the MBR of a US= B >>> key. That way, when booting with no key pluged, the PC boots into >>> Windows and when booting with the key pluged, the PC boots according = to >>> the choice of the user in the grub menu's. >>> >>> I do locate the grub.cfg file in a partition of the internal hard dri= ve. >>> In such a situation, grub-install embeddes a config file which reads >>> something like >>> >>> search.fs_uuid 367C9BBD7C9B75F9 root hd0,msdos1 >>> set prefix=3D($root)'/' >>> >>> This is great. >>> >>> However, any undesired modification by any piece of software of the >>> partition's uuid will prevent GRUB to find it and lead to a boot >>> failure. As the Windows partition is less prone to such modifications= as >>> Linux partitions, I do locate the grub.cfg file in that Windows >>> partition. However it would be more straightforward to locate the fil= e >>> into a Linux partition, and to have grub search this partition by its= label. >>> >>> How could this be done ? If this can't presently be done, can it be >>> included in a future grub release ? >> use --boot-directory to place all files on usb stick and make it load >> any other grub.cfg you might want. >>> Regards >>> >>> Arbiel >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> https://lists.gnu.org/mailman/listinfo/grub-devel >>> >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --TkDLKbWHLb1NmVgIlvwNEsBck0KEkNp7P 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 iF4EAREKAAYFAlQlt94ACgkQmBXlbbo5nOuaSAEAmDuEt4CPJz1a6JUuawA5rFTM WZj8byzRhz3o3cGiwpgA/iYch46HzSJNX5PmKg8g0NB0dIZ9fk9bNJbBcKG5QyHg =hsMB -----END PGP SIGNATURE----- --TkDLKbWHLb1NmVgIlvwNEsBck0KEkNp7P--