All of lore.kernel.org
 help / color / mirror / Atom feed
From: Omni Flux <omniflux+lists@omniflux.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [RFT] PXE chainloader
Date: Sun, 05 Sep 2010 17:08:20 -0600	[thread overview]
Message-ID: <4C8422E4.2050002@omniflux.com> (raw)
In-Reply-To: <4C818D2D.5060907@gmail.com>

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


  reply	other threads:[~2010-09-05 23:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04  0:05 [RFT] PXE chainloader Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-05 23:08 ` Omni Flux [this message]
2010-09-05 23:31   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-06  1:25     ` Omni Flux
2010-09-07 15:36       ` Turner, Ian
2010-09-08 20:07     ` Turner, Ian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C8422E4.2050002@omniflux.com \
    --to=omniflux+lists@omniflux.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.