From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TUinr-0001PC-BW for mharc-grub-devel@gnu.org; Sat, 03 Nov 2012 14:50:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUgjZ-0001cN-MD for grub-devel@gnu.org; Sat, 03 Nov 2012 12:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUgjY-0000kW-Af for grub-devel@gnu.org; Sat, 03 Nov 2012 12:38:09 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:56079) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TUgjX-0000k2-VU for grub-devel@gnu.org; Sat, 03 Nov 2012 12:38:08 -0400 Received: (qmail invoked by alias); 03 Nov 2012 16:38:06 -0000 Received: from dslb-178-001-224-021.pools.arcor-ip.net (EHLO [127.0.0.1]) [178.1.224.21] by mail.gmx.net (mp033) with SMTP; 03 Nov 2012 17:38:06 +0100 X-Authenticated: #3615077 X-Provags-ID: V01U2FsdGVkX193E1FrpSV3n2yITTaOVEDNrMLZ5+NyS8yCrg+Cy1 9ZLKXv3nDZJPvW Message-ID: <50954871.7000300@gmx.de> Date: Sat, 03 Nov 2012 17:38:09 +0100 From: Ulf Zibis User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andrey Borzenkov Subject: Re: How many sectors for GRUB 2 References: <50945DB2.7090903@gmx.de> <20121103132052.74bd4e47@opensuse.site> <509522A8.20900@gmx.de> <20121103180415.27b6be3f@opensuse.site> <509528ED.7090105@gmx.de> <20121103184636.70d8b574@opensuse.site> <50953A5C.1070002@gmx.de> <20121103195806.7d14a130@opensuse.site> In-Reply-To: <20121103195806.7d14a130@opensuse.site> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 121103-0, 03.11.2012), Outbound message X-Antivirus-Status: Clean X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.23 X-Mailman-Approved-At: Sat, 03 Nov 2012 14:50:41 -0400 Cc: help-grub@gnu.org, grub-devel@gnu.org 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: Sat, 03 Nov 2012 16:38:10 -0000 Am 03.11.2012 16:58, schrieb Andrey Borzenkov: >> No, I'm absolutely unsure. That's why I'm asking here on the list. My >> question in little other words: How to dertermine, how many bytes of >> the gap between MBR and 1st partition are used by GRUB 2, so should >> not be deleted or shrinked or used otherwise >> > > You could try findgrub > http://www.unixversal.com/linux/openSUSE/findgrub-4.4.1.tgz and/or > bootinfoscript > (https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript > - I point to my repo because SF variant did not work with GRUB2 we > have here on openSUSE). Both scripts scan disks for bootloaders. Thanks! Hm, it seems you are now getting unsure about your first answer: "core.img is *the* part of grub which is installed in MBR gap" Hopefully some developers are reading this thread. Maybe they could implement a new option, reporting GRUB 2's size in the MBR gap. -Ulf (Please CC: me in your answer, I'm not subscribed in this list)