I have a problem here.

I'm using a net enabled network card to boot PCs using grub, to fetch a kernel
from a tftp server and boot with an NFS mount (for installations).

The problem is, grub can do DHCP just fine!

The kernel can't. I don't know why, but the DHCP packets sent out by the kernel
are different and don't get replies! I _think_ it's to do with the way the network
card is setup in the kernel...


Anyway - is there an easy way to get GRUB to pass the IP/MASK/GATEWAY to the kernel?

I'm using:

title Boot Kernel/Root over netork
dhcp
ifconfig --server=93.224.233.12
root (nd)
kernel (nd)/tftpboot/linux root=/dev/nfs 
ip=93.224.233.32:93.224.233.12:93.224.233.253:255.255.255.0:INSTALL:: 


I'd like to be able to change that kernel line to something like:

kernel (nd)/tftpboot/linux root=/dev/nfs 
ip=$(ADDRESS):$(SERVER):$(GATEWAY):$(NETMASK):INSTALL::


How easy would it be to do this?

--
Cheers
Paul

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to