bug-grub
[Top][All Lists]
Advanced

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

Question/problem with tftp & configfile command...


From: Michael Breuer
Subject: Question/problem with tftp & configfile command...
Date: Wed, 27 Feb 2002 17:19:21 -0500




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
address@hidden

reply via email to

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