Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHMkv-0007ka-H7 for mharc-grub-devel@gnu.org; Tue, 22 Jan 2008 12:17:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHMku-0007hb-2B for grub-devel@gnu.org; Tue, 22 Jan 2008 12:17:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHMks-0007df-Gt for grub-devel@gnu.org; Tue, 22 Jan 2008 12:17:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHMks-0007dT-EG for grub-devel@gnu.org; Tue, 22 Jan 2008 12:17:46 -0500 Received: from nz-out-0506.google.com ([64.233.162.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHMks-0000Mp-7y for grub-devel@gnu.org; Tue, 22 Jan 2008 12:17:46 -0500 Received: by nz-out-0506.google.com with SMTP id f1so1427627nzc.21 for ; Tue, 22 Jan 2008 09:17:45 -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=m69vrRFijL8fVrYyONbYarlfVPXRkTJjKKWWB7Vs9D4=; b=RIT6CT9RQf6eeLCFFiEhInmvp+CwsPDEPIPnNfNDt76BbT/68nXdJRSH/BuvJZrMCntAT7mcCvlVj1uccJMMJLuzl5RPpFS7SV6ZRJYtMh/WEuT1LUYYQDpV8ORKcdxF+t6Ih9IWrip1ji06zvS9FEuV740UhMMhCu6Okh7pFKk= 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=NUes2lbDZpgLqE3UlWr5o+fxPYYTGifpEsoWJCqYy9iltMtLlvOOLVV4kbEM9ETxC1rqDOmrvdPKm2go0dyk93oPVPecSejPCBBpECL6195SQ78jWYzVe4vWvq92s3OB1T6LukGPAQO+qbilZJvVddruaRiA3LvXqSQ/So0nCCo= Received: by 10.110.68.10 with SMTP id q10mr3826596tia.22.1201022263957; Tue, 22 Jan 2008 09:17:43 -0800 (PST) Received: by 10.110.31.8 with HTTP; Tue, 22 Jan 2008 09:17:43 -0800 (PST) Message-ID: Date: Wed, 23 Jan 2008 01:17:43 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080122165152.GA16578@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071230134824.GB21397@thorin> <20080120232435.GB16365@thorin> <20080122135757.GA11484@thorin> <20080122165152.GA16578@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: Tue, 22 Jan 2008 17:17:48 -0000 On Jan 23, 2008 12:51 AM, Robert Millan wrote: > I don't like this very much. We don't have grub-mkimage options to concatenate > it with boot.img, so why with lnxboot.img ? The reason for new option is that the length of core.img needs to stored in lnxboot.img. Previously, i calculate the size using information in core.img header, but now there is issue, for example, 1. kernel lnxboot.img initrd core.img 2. cat lnxboot.img core.img > grub2.bin kernel grub2.bin initrd memdisk 1 and 2 looks the same to lnxboot header, it can't decide initrd is used as memdisk or core.img. However, 1 may not be that useful after all, we can disable this kind of usage. > Also, I can only think of very specific situations in which this interface > would be useful (that is, when firmware has only a linux loader). It makes > sense to me as a compatibility layer, yes. > > But it seems you want it as a general-purpose option; for that, why not make > it saner like multiboot? I don't think it's a good idea to compromise our > boot semantics because of the ones legacy Linux has. is multiboot support memdisk or something similar ? -- Bean