Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IYBH7-0002Ww-US for mharc-grub-devel@gnu.org; Wed, 19 Sep 2007 21:56:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYBH5-0002We-NJ for grub-devel@gnu.org; Wed, 19 Sep 2007 21:56:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYBH4-0002W9-VA for grub-devel@gnu.org; Wed, 19 Sep 2007 21:56:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYBH4-0002W6-Og for grub-devel@gnu.org; Wed, 19 Sep 2007 21:56:14 -0400 Received: from relay00.pair.com ([209.68.5.9]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IYBH4-0001lM-Cb for grub-devel@gnu.org; Wed, 19 Sep 2007 21:56:14 -0400 Received: (qmail 31914 invoked from network); 20 Sep 2007 01:56:13 -0000 Received: from unknown (HELO fifthhorseman.net) (unknown) by unknown with SMTP; 20 Sep 2007 01:56:13 -0000 X-pair-Authenticated: 216.254.116.241 Received: (nullmailer pid 25432 invoked by uid 1000); Thu, 20 Sep 2007 01:56:13 -0000 To: Grub 2 Development List From: Daniel Kahn Gillmor Date: Wed, 19 Sep 2007 21:56:13 -0400 Message-ID: <87vea614n6.fsf@squeak.fifthhorseman.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Detected-Kernel: Genre and OS details not recognized. Subject: pxebooting with GRUB 2 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: Thu, 20 Sep 2007 01:56:16 -0000 Hi folks-- I've searched high and low for documentation about how to get PXE booting working with GRUB 2, but i haven't had much luck. Can anyone give me pointers? What i've done so far --------------------- I found a brief mention on the wiki [0] and followed those instructions: "cat pxeboot.img core.img >pxegrub" does create a PXE-bootable grub image, but once the image is loaded, GRUB 2 doesn't seem to be capable of downloading other files over the network (this includes being unable to download its own config file). I get dropped into a "rescue GRUB shell", which appears to be only useful for pulling files off of a local disk -- but that sort of defeats the purpose. Here's what i see on the screen after the pxe boot: Welcome to GRUB! Entering into rescue mode... grub rescue> looking at the logs of my TFTP and DHCP servers, i see the initial (boot ROM-generated) PXE interaction of a DHCPDISCOVER/OFFER/REQUEST/ACK handshake, and the initial TFTP download of the pxegrub file itself, and then nothing. What else do i need to to enable pulling files via TFTP? i've successfully pulled files off a TFTP server with a patched GRUB Legacy [1], but i'd like to support and use GRUB 2 if possible. Details ------- FWIW, the above attempt was done using a Via Rhine NIC with functional PXE boot ROM. the version of GRUB 2 that i tried is the one in debian unstable at the moment (1.95+20070828-2), and i was using the core.img generated on this same debian unstable system that initially boots from a local disk. Maybe i need to regenerate a different core.img somehow? Final Questions --------------- Is there documentation somewhere that i missed? I'd love to get a pointer or two if it's out there. I'm also happy to help debug this, and to write up my notes on the wiki, if folks think that'd be useful. What next steps should i take to get network booting working? Do you have any advice? Thanks for making this useful tool, and for making it free. Regards, --dkg [0] http://grub.enbug.org/TestingOnX86#head-27ab6e1ddfd82d0c72737201a4e17e3a91ea1a24 [1] http://os.inf.tu-dresden.de/~adam/grub/0.97/pxegrub-0.97-os.3.gz