From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MoWpE-0006p4-Fw for mharc-grub-devel@gnu.org; Fri, 18 Sep 2009 02:20:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoWpB-0006oK-Vb for grub-devel@gnu.org; Fri, 18 Sep 2009 02:20:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoWp5-0006lz-H5 for grub-devel@gnu.org; Fri, 18 Sep 2009 02:20:04 -0400 Received: from [199.232.76.173] (port=54288 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoWp5-0006lp-50 for grub-devel@gnu.org; Fri, 18 Sep 2009 02:19:59 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:57496) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoWp3-0002p7-I6 for grub-devel@gnu.org; Fri, 18 Sep 2009 02:19:58 -0400 Received: by fg-out-1718.google.com with SMTP id e21so136063fga.12 for ; Thu, 17 Sep 2009 23:19:56 -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 :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Sig+B9Y2elxuFESnrXcI7k07Aycnc9OBuVJwg6IxRA4=; b=vmBI6Kf/JHwLf8Pb69OkyALBIjuF6NuuCW1cboGOwM2z+L4sERmsxiZfzANH12qcZy Qko+X/aMHJZHHxa0oHgLB7nNM29WBG0XxNsYkKJddN+lda8ezePTfHUElBPeWWUrwNwb pRW7nt5Xvz6GOsFKTszPQj8E8u8VUH5xXpuhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ScCXFbL0yZJHPjkmmk3aFNL0VkQSjk0O5SzWzSVLT/fgbGRHmaRPBEC131uVet0MT5 DpepOgpAGrnP3f2jM35jTp3GZd8cZbDi5kn9Op2BCJmZVZKWGeO2mH5rpBhq/2W1ovQH zIA1nAd8pUJu8YGiwyYd4EFB0NmNC/ZH+OVdQ= Received: by 10.86.225.38 with SMTP id x38mr1387451fgg.59.1253254795871; Thu, 17 Sep 2009 23:19:55 -0700 (PDT) Received: from ?82.130.80.195? (hg-public-dock-195-dhcp.ethz.ch [82.130.80.195]) by mx.google.com with ESMTPS id 3sm909010fge.15.2009.09.17.23.19.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Sep 2009 23:19:54 -0700 (PDT) Message-ID: <4AB3268C.2040604@gmail.com> Date: Fri, 18 Sep 2009 08:19:56 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4AA7B690.20909@gmail.com> <1252505468.2998.16.camel@fz.local> <20090910185950.GB18736@thorin> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: PXEgrub development on 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, 18 Sep 2009 06:20:06 -0000 Joey Korkames wrote: >>> > I don't know what pxegrub can do, but GRUB 2 has PXE support: >>> > http://grub.enbug.org/PXEBOOT >>> > >>> >>> This would suffice for reading config and/or default from tftp so the >>> boot selection can be changed remotely on systems that have PXE. > > I use PXE:UNDI all the time with Grub2, per that wiki. Works fine. > >>> >>> Is it possible to do something similar on systems that do not have PXE >>> (ie systems without PXE BIOS or Apple EFI)? >> >> We should have network card drivers like GRUB Legacy had. In GRUB >> Legacy, >> they were imported from Etherboot. In GRUB 2 we can do the same, as >> long >> as they're GPL-compatible. >> > > s/Etherboot/gPXE? > I use gPXE's UNDI layer by way of pxelinux and that works fine. That > project has stayed active for quite a long time and I'd think it best > to integrate/shim their network stack onto GRUB2 than to reinvent the > wheel (such as what pxelinux->gpxelinux has done). I believe that code > is all GPL(.v?) > Quick check says that core is under GPLv2+. Some drivers are GPLV2-only but we can live without them. Another possibility is lwIP but it has no drivers, only TCP/IP stack. I started experiments with lwIP but haven't gone far. It shouldn't hold anyone back. If you port gpxe to grub2 then be sure all files you use are under GPLv2+ and change it to GPLv3+. Your code should go to grub-extras because it's not original work. This has also an advamtage of forcing not to add any code in kernel and in particular avoid increasing core size for non-network setup > -joey > > > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >