From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OsOKP-0000PC-Hy for mharc-grub-devel@gnu.org; Sun, 05 Sep 2010 19:08:49 -0400 Received: from [140.186.70.92] (port=59720 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsOKM-0000Ov-KW for grub-devel@gnu.org; Sun, 05 Sep 2010 19:08:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsOKL-0003nQ-GL for grub-devel@gnu.org; Sun, 05 Sep 2010 19:08:46 -0400 Received: from mail.nebonet.com ([69.168.69.3]:55237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsOKL-0003nE-AY for grub-devel@gnu.org; Sun, 05 Sep 2010 19:08:45 -0400 Received: from localhost (scanner.noc.nebonet.com [10.255.255.4]) by mail.nebonet.com (Postfix) with ESMTP id AD9DB19D993 for ; Sun, 5 Sep 2010 17:08:40 -0600 (MDT) Received: from [69.168.72.100] (virtualuplink.omniflux.com [69.168.72.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: josh@mail.nebonet.com) by mail.nebonet.com (Postfix) with ESMTPSA id 8864D19D988 for ; Sun, 5 Sep 2010 17:08:40 -0600 (MDT) Message-ID: <4C8422E4.2050002@omniflux.com> Date: Sun, 05 Sep 2010 17:08:20 -0600 From: Omni Flux User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: The development of GNU GRUB References: <4C818D2D.5060907@gmail.com> In-Reply-To: <4C818D2D.5060907@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: [RFT] PXE chainloader X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 23:08:47 -0000 The output of two tests follow. It works, to an extent. Is PXE being left in a state where the next bootloader can call it's initialization routines again? Test 1: Boot grub PXE, chainload grub PXE, chainload grub PXE again. Result: Chainloaded grub PXEs load in rescue mode. Pre-boot eXecution Environment (PXE) 2.43 (C) Copyright 1999 Intel Corporation (C) Copyright 2000 Lanworks Technologies Co. a subsidiary of 3Com Corporation All rights reserved CLIENT MAC ADDR: XX XX XX XX XX XX GUID: 00020003-0004-0005-0006-000700080009 CLIENT IP: 192.168.2.101 MASK: 255.255.255.0 DHCP IP: 192.168.1.1 GATEWAY IP: 192.168.2.1 Welcome to GRUB! GNU GRUB version 1.98 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> pxechainloader (pxe)/boot/grub/grub2pxe grub> boot Welcome to GRUB! error: file not found. Entering rescue mode... grub rescue> insmod pxechain grub rescue> pxechainloader (pxe)/boot/grub/grub2pxe grub rescue> boot Welcome to GRUB! error: file not found. Entering rescue mode... grub rescue> Test 2: Boot grub PXE, chainload pxelinux (Debian Lenny net installer) Result: Chainloaded pxelinux fails to initialize UDP stack. Pre-boot eXecution Environment (PXE) 2.43 (C) Copyright 1999 Intel Corporation (C) Copyright 2000 Lanworks Technologies Co. a subsidiary of 3Com Corporation All rights reserved CLIENT MAC ADDR: XX XX XX XX XX XX GUID: 00020003-0004-0005-0006-000700080009 CLIENT IP: 192.168.2.101 MASK: 255.255.255.0 DHCP IP: 192.168.1.1 GATEWAY IP: 192.168.2.1 Welcome to GRUB! GNU GRUB version 1.98 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> pxechainloader (pxe)/boot/debian/lenny/i386/pxelinux.0 grub> boot PXELINUX 3.71 Debian-2008-09-06 Copyright (C) 1994-2008 H. Peter Anvin Found PXENV+ structure PXE API version is 0201 UNDI data segment at: 00096690 UNDI data segment size: 4801 UNDI code segment at: 0009AEA0 UNDI code segment size: 3160 PXE entry point found (we hope) at 9AEA:00FA Getting cached packet 01 Getting cached packet 02 Getting cached packet 03 My IP address seemes to be 45A84865 192.168.2.101 ip=192.168.2.101:192.168.1.1:192.168.2.1:255.255.255.0 Failed to initialize UDP stack Boot failed: press a key to retry, or wait for reset... -- Omni Flux