[gPXE] Boot hdt via gpxe

28 views
Skip to first unread message

Carsten Krüger

unread,
May 2, 2012, 10:22:11 AM5/2/12
to gp...@etherboot.org
Hello,

I'm trying to use run hdt dump via gpxe
http://hdt-project.org/wiki/howtostarthdt

I've put hdt.c32 on my tftpserver and used a rom-o-matic gpxe with
pxe bootstrap loader keep [keep PXE stack method 1] (.kpxe)
to boot the client.

pressed CTRL+B
typed
dhcp net0
imgfetch -n hdt.c32 tftp://192.168.232.1/hdt.c32
imgload hdt.c32

result: hang

What I'm doing wrong?

acutal goal: is the following
enable all clients for pxe booting
if the client is online for the first time to hdt dump
else boot from hdd

future goal based on dump install correct image

greetings
Carste

_______________________________________________
gPXE mailing list
gP...@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe

Miller, Shao

unread,
May 2, 2012, 10:29:15 AM5/2/12
to Carsten Krüger, gp...@etherboot.org
Good day, Carsten.

HDT is a COMBOOT32 module for use with Syslinux. gPXE has limited COMBOOT32 support that is not always up-to-date with Syslinux. For best results, run the module from a Syslinux variant, such as:
- gPXE -> PXELINUX -> hdt.c32
- gPXE -> MEMDISK with HDT floppy image (which has SYSLINUX and hdt.c32 inside)

- Shao Miller

Miller, Shao

unread,
May 2, 2012, 10:45:36 AM5/2/12
to Carsten Krüger, gp...@etherboot.org
PXELINUX is almost always a file called pxelinux.0. Simply load it from gPXE in the same way as you were trying to load hdt.c32. Please use a modern version of PXELINUX and not an old one. - Shao

-----Original Message-----
From: Carsten Krüger [mailto:cakr...@gmxpro.de]
Sent: Wednesday, May 02, 2012 10:35
To: Miller, Shao
Cc: gp...@etherboot.org
Subject: Re: [gPXE] Boot hdt via gpxe

Hello Shao,

MS> HDT is a COMBOOT32 module for use with Syslinux. gPXE has
MS> limited COMBOOT32 support that is not always up-to-date with
MS> Syslinux. For best results, run the module from a Syslinux variant, such as:
- gPXE ->> PXELINUX -> hdt.c32
- gPXE ->> MEMDISK with HDT floppy image (which has SYSLINUX and hdt.c32 inside)

How do I load pxelinux from gPXE?
I only find the other way round.

greets
Carsten

Carsten Krüger

unread,
May 2, 2012, 3:31:24 PM5/2/12
to Miller, Shao, gp...@etherboot.org
Hello Shao,

> PXELINUX is almost always a file called pxelinux.0. Simply load it
> from gPXE in the same way as you were trying to load hdt.c32.
> Please use a modern version of PXELINUX and not an old one. - Shao

Thx, works. hdt boots via PXELINUX

Another 2 questions:

1.
If I set pxelinux.0 directly as the pxe boot file it loads config from
/pxelinux.cfg/default as expected
-----pxelinux.cfg/default-----
default hdt

label hdt
KERNEL hdt.c32
APPEND auto='dump'
-----pxelinux.cfg/default-----
but if I use gpxe to load pxelinux via
imgfetch tftp://192.168.232.1/pxelinux.0
boot pxelinux.0
it trys to load from pxelinux.cfg/<SYSUUID>
which fails, because file name <SYSUUID> didn't exist

Any idea why?

2. why imgfetch tftp://192.168.232.1/pxelinux.0 finds pxelinux.0 but
imgfetch pxelinux.0 didn't?
As far as I understand "pxelinux.0" should be simple path and it
should be the same than tftp://192.168.232.1/pxelinux.0
my tftp & dhcp-server is 192.168.232.1

greetings
Reply all
Reply to author
Forward
0 new messages