Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MqAJ3-00014L-T4 for mharc-grub-devel@gnu.org; Tue, 22 Sep 2009 14:41:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqAJ3-00013Z-29 for grub-devel@gnu.org; Tue, 22 Sep 2009 14:41:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqAIy-00010J-DN for grub-devel@gnu.org; Tue, 22 Sep 2009 14:41:40 -0400 Received: from [199.232.76.173] (port=43593 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqAIy-00010B-4l for grub-devel@gnu.org; Tue, 22 Sep 2009 14:41:36 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:59151) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqAIx-00024o-PF for grub-devel@gnu.org; Tue, 22 Sep 2009 14:41:35 -0400 Received: by mail-fx0-f205.google.com with SMTP id 1so6884fxm.31 for ; Tue, 22 Sep 2009 11:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=V6UrTMSmpwQDfcRw/Hc/6dXKqfEOgwSJqIyvlGIKAXE=; b=H7Y932teHkvXrl/WvCbb53g4lAvjDoRDP4bC8ZQ/c6JKnAmWYExjRQ4D9URpdKYNcI anXjMUlvKkkl4i48BS76UyJu/7QttLJs/qft+VCG7MT6qpTzgfikAcPcelJibenPea6h DQU2olpqAz3SaXJT6aarYA1txOzTtDC6yizdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QQevOd9FCOvYAimaPq5yvKqPy1wbHAXkZewYGS483xw8g1ZwLheRQ8Weh0tAN2NHhN KJoXMtGJLTbpHAMy7pjLrDMSDFQsritHHN6ZU0gysXxlCF+vU77keoIBAe7ARR5AEcG5 FBzGK64nhIsBsjzr7+66F3X5xmnhaUbHREvC4= MIME-Version: 1.0 Received: by 10.86.154.32 with SMTP id b32mr1202186fge.10.1253644894665; Tue, 22 Sep 2009 11:41:34 -0700 (PDT) Date: Tue, 22 Sep 2009 19:41:34 +0100 Message-ID: From: James Courtier-Dutton To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: grub core size X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 18:41:41 -0000 Hi, I am using grub 2. The stage 1 bit of grub, that stores itself in the partition table and the following sectors, seems to be quite large. I have a HP server system that only has 32 512-bytes sectors free before the first partition but the grub core does not fit in there. It seems to need more like 64 512-byte sectors. Why does grub need so much space on that part of the hard disk ? My /boot/grub has been installed on an ext2 partition. How difficult would it be to fit the stage 1 into 16384 bytes? USB sticks sometimes have similar problems. How about two versions of the grub core, one that requires the rest of grub to be on an ext2/3 partition, and a larger one that can handle other options, e.g. lvm etc. Obviously, it is only worth trying that if the ext2 one can get into 16384 bytes or 32 sectors. Kind Regards James