I was attempting to control the local boot of a machine using a tftp server.
�As boot-time and network bandwidth are considerations, I've preloaded various images to a machine, and attempted to use the, "configfile" command retrieve a configuration file form a tftp server. Problem: 1) the "configfile" command does not work in batch mode. 2) When I changed the code to allow configfile to work in batch mode (set both COMMAND and MENU flags), grub loops re-reading the local configfile (see below). Note: I'm using grub 0.91. Details: When I type the commands by hand, everything works correctly. Initial config file (menu.lst) (ip's removed). ifconfig --address=<addr> --mask=<mask> --gateway=<gateway> --server=<server>. configfile (nd)/var/boot/test_boot </var/boot/test_boot> contains a normal menu.lst file referencing local kernels & root file systems. When started, grub seems to set the IP address, contact the tftp server, retrieve the test_boot file, and then re-runs the initial config file (menu.lst) until power-off. Does anyone have any suggestions? Thanks, Michael Breuer [EMAIL PROTECTED]
