Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JI5VI-000821-NE for mharc-grub-devel@gnu.org; Thu, 24 Jan 2008 12:04:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JI5VH-00080u-Hs for grub-devel@gnu.org; Thu, 24 Jan 2008 12:04:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JI5VG-0007yc-02 for grub-devel@gnu.org; Thu, 24 Jan 2008 12:04:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JI5VF-0007yM-Rl for grub-devel@gnu.org; Thu, 24 Jan 2008 12:04:37 -0500 Received: from nz-out-0506.google.com ([64.233.162.238]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JI5VF-0001Rr-VU for grub-devel@gnu.org; Thu, 24 Jan 2008 12:04:38 -0500 Received: by nz-out-0506.google.com with SMTP id f1so232063nzc.21 for ; Thu, 24 Jan 2008 09:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=K+3ytrs/BQVDmC59MZOJtK9fAevVaSOY0QExLH4LcfA=; b=QIdJdP1p7gz+Z/trw0z64Nl0+45/yheBOYGY6z3d3r+JBQkcNO+gYRpwX1ZtP3juDUx2lPO5Gp7ABpWUhfD93IArJd/OLx0b3v9XOfYTDStKbd1/n3C//GWejv6JOan8xoYf+9MM607yjcqplVO8iBst8LlVTLA91F6NBh9fjmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kYV5M6lsLs2zk2MxOxwBRh2uuilBPCI0iGukKe2KghT4RPc+QPc+IWDjPkOvIJm0aTFvWNrk2GCWxDP4ILRkQNyGE9PzlU8beuyy4BTQWXQAE8OZ5Tn0ZRnO4w/yueZ6Lc1Yl0QQCChZs3X0ZopCxnKNELPJzHeOV6IB10vjp34= Received: by 10.110.8.5 with SMTP id 5mr420004tih.53.1201194274591; Thu, 24 Jan 2008 09:04:34 -0800 (PST) Received: by 10.110.31.8 with HTTP; Thu, 24 Jan 2008 09:04:34 -0800 (PST) Message-ID: Date: Fri, 25 Jan 2008 01:04:34 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080124165555.GA13105@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080123201534.GA25534@thorin> <20080123211506.GA27338@thorin> <20080124113244.GA2249@thorin> <20080124142551.GA8248@thorin> <20080124165555.GA13105@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] memdisk plus lnxboot extension 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: Thu, 24 Jan 2008 17:04:40 -0000 On Jan 25, 2008 12:55 AM, Robert Millan wrote: > On Thu, Jan 24, 2008 at 03:25:51PM +0100, Robert Millan wrote: > > > > You want to add a feature that only works when you have the ability to load > > images of an arbitrary size. However, if we had this ability we wouldn't have > > to compress core.img, or make it small in the first place. We would then > > just create core.img of an arbitrary size, and include a memdisk of an > > arbitrary size in it. But then we wouldn't need a feature to work around the > > size restriction in memdisk! > > Just discussed it with Marco on IRC, and he said we could load core.img in high > memory, like in 0x100000 right away. This solves the size limit in memdisk > which I think is the source of the problem. > > Of course, this collides with the OS load area, so we'd also need to add > relocation in loader, as described in the "grub_dl_unload_all()" thread. I > do even have unfinished code for this, although it may take a while to get it > done properly (maybe we need to add features to memory manager or so). Does > this work for you? i think this is great, we don't have to worry about memdisk size, and no need for the initrd hack anymore. -- Bean