From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VlhiI-00041Q-BC for mharc-grub-devel@gnu.org; Wed, 27 Nov 2013 11:11:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlhi8-0003wK-IA for grub-devel@gnu.org; Wed, 27 Nov 2013 11:11:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vlhhx-0008Pe-BA for grub-devel@gnu.org; Wed, 27 Nov 2013 11:11:32 -0500 Received: from hermes1.dur.ac.uk ([129.234.248.1]:43959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlhhx-0008LO-2B for grub-devel@gnu.org; Wed, 27 Nov 2013 11:11:21 -0500 Received: from smtphost2.dur.ac.uk (smtphost2.dur.ac.uk [129.234.252.2]) by hermes1.dur.ac.uk (8.14.4/8.14.4) with ESMTP id rARGANQo026357; Wed, 27 Nov 2013 16:10:27 GMT Received: from algedi.dur.ac.uk (algedi.dur.ac.uk [129.234.2.28]) by smtphost2.dur.ac.uk (8.14.4/8.14.4) with ESMTP id rARGAGPI014858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Nov 2013 16:10:16 GMT Received: from algedi.dur.ac.uk (localhost [127.0.0.1]) by algedi.dur.ac.uk (8.14.5+Sun/8.11.1) with ESMTP id rARGAGao025177; Wed, 27 Nov 2013 16:10:16 GMT Received: from localhost (dcl0may@localhost) by algedi.dur.ac.uk (8.14.5+Sun/8.14.5/Submit) with ESMTP id rARGAGnx025174; Wed, 27 Nov 2013 16:10:16 GMT Date: Wed, 27 Nov 2013 16:10:15 +0000 (GMT) From: M A Young To: Fabio Fantoni Subject: Re: [Xen-devel] pvgrub2 is merged In-Reply-To: <529616EA.4000504@m2r.biz> Message-ID: References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> <5283DD8F.5080103@gmail.com> <52850918.1040406@gmail.com> <52851D28.1090905@gmail.com> <52851D77.6060203@gmail.com> <5285440B.2040301@gmail.com> <5293733B.3090604@m2r.biz> <5294E157.90708@m2r.biz> <20131126221221.3fe316e3@opensuse.site> <5295D867.9050306@m2r.biz> <5295DCA0.2010805@gmail.com> <529616EA.4000504@m2r.biz> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; boundary="-559023410-167775131-1385568448=:24583" Content-ID: X-DurhamAcUk-MailScanner: Found to be clean, Found to be clean X-DurhamAcUk-MailScanner-ID: rARGANQo026357 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 129.234.248.1 Cc: Andrey Borzenkov , =?ISO-8859-7?Q?Vladimir_'=F6-coder=2Fphcoder'_Serbinenko?= , "xen-devel@lists.xen.org" , The development of GNU GRUB 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: Wed, 27 Nov 2013 16:11:40 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-167775131-1385568448=:24583 Content-Type: TEXT/PLAIN; charset=ISO-8859-7; format=flowed Content-ID: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by hermes1.dur.ac.uk id rARGANQo026357 On Wed, 27 Nov 2013, Fabio Fantoni wrote: > Il 27/11/2013 12:50, Vladimir '=F6-coder/phcoder' Serbinenko ha scritto= : >> That pretty much explains what happened: you don't have any >> /boot/grub2/grub.cfg and when looking for /boot/grub/grub.cfg GRUB fou= nd >> its own memdisk and fell into recursion. I'm not sure what should be t= he >> proper way to solve this recursion. > > Ok, now I understand with this: > cat > boot/grub/grub.cfg < insmod lvm > insmod ext2 > insmod part_msdos > insmod part_gpt > search -s root -f /boot/grub/grub.cfg > configfile /boot/grub/grub.cfg > EOF > > that has the debian grub.cfg path equal to memdisk's grub, and then it = loads=20 > the memdisk ones indefinitely. > > Anyone know how to exclude memdisk from the search please? Probably the simplest way is to rename the grub.cfg file on the memdisk s= o=20 that search doesn't find it, eg. to grub-memdisk.cfg or grub-internal.cfg= =20 and then adjust the ./grub-mkstandalone line appropriately. Michael Young ---559023410-167775131-1385568448=:24583--