bug-grub
[Top][All Lists]
Advanced

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

GRUB passing DHCP discovered IP address to kernel


From: Abraham Pearson
Subject: GRUB passing DHCP discovered IP address to kernel
Date: Wed, 14 Nov 2001 21:30:36 -0800 (PST)

Some time ago Paul Hedderly sent the following:
>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


My kernel gets a dhcp reply just fine, by I would
rather skip the duplication.  Has there been any
progress on this?  Will there?

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com



reply via email to

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