Discussion:
PXE GRUB menu.lst
Alain Kaeslin
2008-10-01 11:48:38 UTC
Permalink
Hi,

I've set up a PXE Server with all the required components (DHCP, tftp, etc.). Currently my GRUB menu is located in /tftpboot/menu.lst.01001B243DE753. For the client with the MAC address 01:00:1B:24:3D:E7:53 everything works fine. All other clients are hanging at the "grub>" shell because they cant't find a menu.lst with their MAC-address. If I enter the kernel and module argument manually they can boot as well.

Is there a way to provide a menu.lst for every client regardless of their MAC address? I don't need different menu.lst entries for every client.

Any help is appreciated.
Thank you!
Alain
--
This message posted from opensolaris.org
Alex
2008-10-01 13:38:40 UTC
Permalink
Just plain vanilla 'menu.lst' should work.
--
This message posted from opensolaris.org
Alain Kaeslin
2008-10-01 14:17:06 UTC
Permalink
Hi astade2

Thank you for your reply.
Unfortunately in my case a file called menu.lst does not work.

Alain
--
This message posted from opensolaris.org
Christian Kaiser
2008-10-01 14:19:27 UTC
Permalink
Post by Alain Kaeslin
Hi,
I've set up a PXE Server with all the required components (DHCP, tftp, etc.). Currently my GRUB menu is located in /tftpboot/menu.lst.01001B243DE753. For the client with the MAC address 01:00:1B:24:3D:E7:53 everything works fine. All other clients are hanging at the "grub>" shell because they cant't find a menu.lst with their MAC-address. If I enter the kernel and module argument manually they can boot as well.
Is there a way to provide a menu.lst for every client regardless of their MAC address? I don't need different menu.lst entries for every client.
Check the output of your ftfp-server log to see which files have been
tried to be downloaded during a PXE-boot.

If you want to specify a certain file for a whole subnet/group you have
to modify your dhcp server config.

Modify your dhcp.conf according to something like this:
global part:
option grub-menu code 150 = string;

subnet/group/... part where you defined pxegrub as filename option:
option grub-menu = "(nd)/grub/menu.lst";
option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-list,96);

(nd) is used from grub and means network-device. It points to your tftp
root dir. Check the tftp-server log if something goes wrong.

BTW, what is your goal? Do you want to setup some diskless machines or
do you want to use pxegrub to load a local kernel from the machines
harddrive?

Regards,
Christian
--
Christian Kaiser, Software Engineer, Dolphin Interconnect Solutions
http//www.dolphinics.com
kristof
2008-10-01 17:15:24 UTC
Permalink
pxegrub default config file is:

/tftprootpath/boot/grub/menu.lst
--
This message posted from opensolaris.org
Alex
2008-10-03 13:10:31 UTC
Permalink
Please post your dhcpd.conf file if you're using ISC DHCP. Any included config files as well, e.g. if you use an include stanza in your dhcpd.conf.
--
This message posted from opensolaris.org
Alex
2008-10-03 13:11:15 UTC
Permalink
I meant that to be for Alain... :P
--
This message posted from opensolaris.org

Loading...