[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with initially getting grub menu file over network
From: |
Braden |
Subject: |
Problem with initially getting grub menu file over network |
Date: |
Tue, 25 Nov 2003 17:02:22 +0900 |
Hi,
I'm sorry if this has been covered... a search turned up nothing.
I am running pxegrub to do a netboot. Everything runs just fine,
except that it will not recognize the config file I pass it through the
option-150. I just get kicked into the grub command line. However if
I then do a 'configfile' command with the same argument as is in my
DHCP config (i.e. 'configfile (nd)/grub.lst'), I can get the menu.
Is this grub, or is the DHCP server messing up and not sending the
option-150? If it is the latter, I'm sorry to have bothered you all.
Any help would be appreciated.
Thanks,
Braden
Specifics follow -->
I am using grub 0.93 and the Internet Software Consortium DHCP Server
V3.0pl2.
The dhcpd.conf file looks like:
############################
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
default-lease-time 6000;
max-lease-time 846000;
option option-150 code 150 = text ;
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) =
"PXEClient";
option option-150 "(nd)/grub.lst";
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
}
class "Etherboot" {
match if substring (option vendor-class-identifier, 0, 9) =
"Etherboot";
option option-150 "(nd)/grub.lst";
filename "/nbgrub";
}
shared-network WORKSTATIONS {
subnet 10.82.17.0 netmask 255.255.255.0 {
range 10.82.17.100 10.82.17.195;
option domain-name-servers 10.82.17.1 , 10.33.17.1;
option domain-name "suisan.sch";
option broadcast-address 10.82.17.255;
option routers 10.82.17.254;
next-server 10.82.17.242;
}
}
############################
and my grub.lst file looks like:
############################
default 0
timeout 30
title=bzImage
root (nd)
kernel /bzImage ip=dhcp root=/dev/nfs nfsroot=10.82.17.242:/home/client
############################
- Problem with initially getting grub menu file over network,
Braden <=