Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KFumx-00069y-IY for mharc-grub-devel@gnu.org; Mon, 07 Jul 2008 13:46:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFumw-00069t-PV for grub-devel@gnu.org; Mon, 07 Jul 2008 13:46:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFumv-00069h-Db for grub-devel@gnu.org; Mon, 07 Jul 2008 13:46:10 -0400 Received: from [199.232.76.173] (port=47594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFumv-00069e-6B for grub-devel@gnu.org; Mon, 07 Jul 2008 13:46:09 -0400 Received: from c60.cesmail.net ([216.154.195.49]:40723) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KFumu-0001V2-P1 for grub-devel@gnu.org; Mon, 07 Jul 2008 13:46:08 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 07 Jul 2008 13:46:07 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 2FA3D618F22 for ; Mon, 7 Jul 2008 13:46:07 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: Content-Type: text/plain Date: Mon, 07 Jul 2008 13:46:05 -0400 Message-Id: <1215452765.18837.5.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Still unable to install grub 2 on my lvm setup 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: Mon, 07 Jul 2008 17:46:11 -0000 On Mon, 2008-07-07 at 19:26 +0200, jean-christophe.haessig@dianosis.org wrote: > On Mon, 7 Jul 2008 23:05:33 +0800, Bean wrote: > > > You need to use the lzma patch, which reduces the size of core.img. > > Thanks for the suggestion, I'll give it a try... But I'd still like > to have an answer to the following question : where the hell does > grub want to store that image ? Looking at the lvm specs, there's > barely 1 or 2KiB of free space just after the boot sector. The lzma > algorithm might be very good at compression but I doubt it will be > enough... If the first partition starts on cylinder 0 (which is the most common), it starts on head 1. All space on head 0, cylinder 0 is available. The maximal number on sectors per track is 63, and that's what is normally used (old drives may use less sectors). The first sector is the MBR. That gives 62 sectors available to the bootloader, i.e. 31k. -- Regards, Pavel Roskin