bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with initially getting grub menu file over network


From: Braden
Subject: Re: Problem with initially getting grub menu file over network
Date: Wed, 26 Nov 2003 22:22:27 +0900


Well, I managed to figure out my problem. Thanks to those who offered their advice. The following is the simple solution.

Basically, I forgot that the DHCP request that PXE does is not used by grub. Grub does its own DHCP request as well. Unfortunately, the way I had my dhcpd.conf file,

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";

  option option-150    "(nd)/grub.lst"; # This isn't a good idea,
                                        # given the above conditional.

  filename             "/pxegrub";
  option host-name     "default-pxe-client";

  option vendor-class-identifier "PXEClient";
  vendor-option-space PXE;
  option PXE.mtftp-ip 0.0.0.0;  # Gets the client's attention
}

the option 150 was only being sent for the request made by PXE, as I included it only in the section conditional on the "PXEClient" vender class identifier string. So the option 150 was only being sent on PXE's request, but not on pxegrub's request. OOPS!

So I just moved the option 150 outside of the conditional "pxeclients" class, and then pxegrub downloaded the menu file from the TFTP server just fine.

I hope someone can learn from my mistake.

  - Braden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]