Bug#711799: PXE error: no server is specified

Steven Chamberlain steven at pyro.eu.org
Sun Jun 9 22:52:21 UTC 2013


Package: grub-pc-bin
Version: 2.00-14
File: /usr/lib/grub/i386-pc/pxe.mod
Severity: important
Tags: d-i
Control: affects -1 debian-installer

Hi,

Since upstream version 2.00, a GRUB2 PXE image fails to set
grub_net_default_server and so is unable to proceed with booting.

I built the image with:

> grub-mkimage -O i386-pc-pxe --prefix="(pxe)" -o grub2pxe pxe tftp

The image is not given a multiboot signature.

I'm testing under Qemu with iPXE firmware (but with Etherboot it shows
the same issue).

> $ qemu-system-x86_64 -m 128 -enable-kvm -net nic -net user,bootfile=grub2pxe,tftp=. -boot n

It fails like this:

> iPXE 1.0.0+git-20120202.f6840ba-3 -- Open Source Network Boot Firmware -- http:/
> /ipxe.org
> Features: HTTP iSCSI DNS TFTP AoE bzImage COMBOOT ELF MBOOT PXE PXEXT
> 
> net0: 52:54:00:12:34:56 using E1000_DEV_ID_82540EM on PCI00:03.0 (open)
>   [Link:up, TX:0 TXE:0 RX:0 RXE:0]
> DHCP (net0 52:54:00:12:34:56)...... ok
> net0: 10.0.2.15/255.255.255.0 gw 10.0.2.2
> Next server: 10.0.2.2
> Filename: grub2pxe
> tftp://10.0.2.2/grub2pxe... ok
> Welcome to GRUB!
> 
> error: no server is specified.
> Entering rescue mode...    

net_ls_addr shows no output.

If I run net_bootp manually, it gets an IP address and sets
net_pxe_dhcp_*, but still does not set net_default_server or
pxe_default_server.

If I set net_default_server manually (to 10.0.2.2) I can then fetch
files via TFTP through the "(pxe)" device.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc-bin depends on:
ii  grub-common  2.00-14
ii  libc0.1      2.17-5
ii  libgeom1     9.0+ds1-4

grub-pc-bin recommends no packages.

Versions of packages grub-pc-bin suggests:
pn  desktop-base  <none>

-- no debconf information



More information about the Pkg-grub-devel mailing list