On Sat, Aug 2, 2008 at 12:21 AM, Pavel Roskin <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel