From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TUnC0-0000Xu-CR for mharc-grub-devel@gnu.org; Sat, 03 Nov 2012 19:31:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUnBv-0000KI-Tu for grub-devel@gnu.org; Sat, 03 Nov 2012 19:31:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUnBt-0002NG-RQ for grub-devel@gnu.org; Sat, 03 Nov 2012 19:31:51 -0400 Received: from mail-ea0-f169.google.com ([209.85.215.169]:34584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUnBt-0002Md-L1 for grub-devel@gnu.org; Sat, 03 Nov 2012 19:31:49 -0400 Received: by mail-ea0-f169.google.com with SMTP id k11so2142199eaa.0 for ; Sat, 03 Nov 2012 16:31: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:x-enigmail-version:content-type; bh=BeyYOVSFFjcqqXqv9EjIEJh8DN4/oRNpvwsxGzJ8CVI=; b=zEaWpl+Ttb6wwnWPapkEsRVeUOsDmvsCyLLy94GD6LmZEj9G+/C7Jvi/38lvVUyDKy OJbqD0BzZ3yLn95Mei1yHiy1emX1u4JhN15Tp1NZTUMf7CSetAUTCj6xGHdTxgSMJtJn 1Moa5BiSB5p6Iq/vxq5bZK6+riMdVkSY7CgEpaMH/59BNopmE3ZU4GERHXHiKOGGBTeU cOCLDWm2wg2GKfoYr7RngzOcvxVJm/QKRALQGTLFiSxO17II5VwGnkzTMbj7V7kaC2B9 xDd5rBzy7ly1JFIMnUGdlJqktmOF4Vv/NjQsXhsVnU+SEI/GGbQv52Bt51GErRhYPMyP 02xA== Received: by 10.14.194.2 with SMTP id l2mr21193566een.12.1351985508278; Sat, 03 Nov 2012 16:31:48 -0700 (PDT) Received: from debian.x201.phnet (237-40.78-83.cust.bluewin.ch. [83.78.40.237]) by mx.google.com with ESMTPS id o47sm35334616eem.11.2012.11.03.16.31.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Nov 2012 16:31:47 -0700 (PDT) Message-ID: <5095A961.2090101@gmail.com> Date: Sun, 04 Nov 2012 00:31:45 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.9) Gecko/20121014 Icedove/10.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org 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> <50954871.7000300@gmx.de> <20121103210559.7b75a923@opensuse.site> <50959CB5.1030605@gmx.de> In-Reply-To: <50959CB5.1030605@gmx.de> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig13F1D1AB5459E117CA9574FC" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.169 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 23:31:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13F1D1AB5459E117CA9574FC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03.11.2012 23:37, Ulf Zibis wrote: > Am 03.11.2012 18:05, schrieb Andrey Borzenkov: >> core.img is the part that is installed in MBR gap, but it does not mea= n >> that it was this particular file. grub-install creates core.img >> in /boot/grub and embeds it in the same run, but it is also possible t= o >> directly use >> >> grub-mkimage -o /tmp/foo.img ... >> grub-bios-setup -c /tmp/foo.img ... >> >> You wanted to be absolutely safe and sure. The only way to be is to >> reinstall grub using grub-install. >=20 > You mean, after I would have shrinked th MBR gap? > That's the problem! > What will happen, if the gap is too small? > For that reason I *before* wanted to know how much space is needed. Never use the exact number for this. It changes e.g. between versions and setting exact size would block any upgrade. It will also disable Reed-Solomon. Just left 1M-1 sector. This is guaranteed to be enough and results in nocely aligned first partition. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig13F1D1AB5459E117CA9574FC 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.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlCVqWEACgkQNak7dOguQgmBiQD8CsaCn0/aP4QXOFLvfQ9ME6Df ydeWFqIBAOrsTiWoWpIA/1r3T9bj6D7SyIGhZ5UP40CH+RmzUC3Jf604BGuh4ENh =CHyz -----END PGP SIGNATURE----- --------------enig13F1D1AB5459E117CA9574FC--