From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KOxye-0004XO-Ep for mharc-grub-devel@gnu.org; Fri, 01 Aug 2008 12:59:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOxyc-0004WV-3W for grub-devel@gnu.org; Fri, 01 Aug 2008 12:59:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOxyZ-0004VD-KT for grub-devel@gnu.org; Fri, 01 Aug 2008 12:59:37 -0400 Received: from [199.232.76.173] (port=54599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOxyZ-0004V8-AZ for grub-devel@gnu.org; Fri, 01 Aug 2008 12:59:35 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:34421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOxyY-0008Mx-Lu for grub-devel@gnu.org; Fri, 01 Aug 2008 12:59:35 -0400 Received: by ti-out-0910.google.com with SMTP id u5so276892tia.10 for ; Fri, 01 Aug 2008 09:59:32 -0700 (PDT) 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=4GvNEWROyNkRfs/eBgPeO5WRw4fQVNiJc5MfeHYJ1A8=; b=h0nTgZEQsbgYtwRa9zhtNabns76C3N/K+d8qUWRILIIuFWD6k3lXoThXXUr9uU/PEd ql8mG9kykimEc8GQLSQPGBsbD4JyLvqj7L/9VG0GsS51sGJwJtoN+fgl1h3KNSP5rCqi G8qJm8x1yBR0a9ZST53GB7Tq3UQ8LeEGNKKrw= 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=XcsFjZW5eQFZsK4aJYAmYyQ//z7WDVxXAexVFOfKTi4k7MapOKziptDQYPU5jaHNBb DTRZVZVDSew6IQmAD5qgvPUc1jEWsGGL2UOWVSb0ivBxEitk5Y2vZjWokB+C4caG/5Xp CcS0MLMfRVIGdcK9uG+UIEIDME1CU6mNsOtHc= Received: by 10.110.16.13 with SMTP id 13mr8706508tip.24.1217609972712; Fri, 01 Aug 2008 09:59:32 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Fri, 1 Aug 2008 09:59:32 -0700 (PDT) Message-ID: Date: Sat, 2 Aug 2008 00:59:32 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1217607690.13107.2.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1217562763.19448.8.camel@dv> <20080801113206.GA8259@thorin> <1217607690.13107.2.camel@dv> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] PXE support for grub2 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: Fri, 01 Aug 2008 16:59:38 -0000 On Sat, Aug 2, 2008 at 12:21 AM, Pavel Roskin wrote: > On Fri, 2008-08-01 at 13:32 +0200, Robert Millan wrote: >> On Thu, Jul 31, 2008 at 11:52:43PM -0400, Pavel Roskin wrote: >> > On Fri, 2008-08-01 at 11:46 +0800, Bean wrote: >> > > On Thu, Jul 31, 2008 at 12:50 AM, Bean wrote: >> > > > Hi, >> > > > >> > > > This patch add the (pxe) device that can be used to load files using >> > > > the pxe service. It also add a user land command pxe that can be used >> > > > to show pxe information as well as set some parameter. >> > > > >> > > > To create a pxe boot image: >> > > > >> > > > ./grub-mkimage -d . -o core.img pxe >> > > > cat pxeboot.img core.img > g2pxe >> > >> > Perhaps it should be a separate script? Or maybe it should be an option >> > for grub-mkimage? >> >> You mean for pxeboot.img? Note we have this file in svn already. His code >> just adds 'pxe' module AFAICS. > > I mean that the second line is impossible to guess or get from > grub-mkimage documentation. If I was to make a PXE image, I would need > to go to the list archives to find out how to make it. But I'm not > experienced with network boot. Maybe it's obvious for others, I don't > know. Hi, This kind of usage have been around for some time. In grub legacy, it generates pxe image by catenating pxeloader and pre_stage2. pxeboot.img is basiclly identical to pxeloader.S, and pre_stage2 and core.img loaded at the same address, so it can conclude pxe image can be built by combining pxeboot.img and core.img. But I agree that perhaps not many people know about it, it's a good idea to write some doc in the wiki. BTW, any comment on the content of the patch ? -- Bean