[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB passing DHCP discovered IP address to kernel
From: |
Paul Hedderly |
Subject: |
GRUB passing DHCP discovered IP address to kernel |
Date: |
Mon, 1 Oct 2001 07:58:28 +0100 |
User-agent: |
Mutt/1.3.22i |
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
- GRUB passing DHCP discovered IP address to kernel,
Paul Hedderly <=