[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFT] PXE chainloader
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [RFT] PXE chainloader |
Date: |
Mon, 06 Sep 2010 01:31:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 |
On 09/06/2010 01:08 AM, Omni Flux wrote:
> 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?
>
Attached patch may help. I noticed that last file may still remain opened.
>
> 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...
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
pxechain.diff
Description: Text Data
signature.asc
Description: OpenPGP digital signature