[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Option-150
From: |
Christoph Plattner |
Subject: |
Re: Option-150 |
Date: |
Thu, 14 Mar 2002 08:45:16 +0100 |
It may be dependent of the TFTP-Server setup, but under normal
circumstances you must give the full path to DHCP, especially
for the files passed to GRUB (i.e. option-150).
So use
option option-150 "(nd)/tftpboot/grubconfig"
The "(nd)" prefix is also important. There are constellations, where
this prefix is needed and this notation is the correct one, as you
can also define in `option-150', that GRUB should load a menu (config)
file installed locally, like:
option option-150 "(hd0,1)/boot/configs/menu.lst"
If - for example - GRUB was booted locally (current root my be set
to `(hd0,1)'), and you use `bootp --with-configfile' to load a
menu from the server (passed by `option-150'), and if you have no
`(nd)' prefix in the `option-150', GRUB wants to load the file
from `(hd0,1)/tftpboot/grubconfig'. Therefore the `(nd)' is
important here !
With friendly regards
Christoph Plattner
Joe LeKostaj wrote:
>
> I've got grub PXEing, but it just gets to a grub prompt and disregards
> the config file i pass it
>
> here's the entry i'm using in dhcpd.conf:
>
> host fred {
> hardware ethernet XX:XX:XX:XX:XX:XX;
> fixed-address XXX.XXX.XXX.XXX;
> option option-150 "grubconfig";
> filename "pxegrub";
> }
>
> both "pxegrub" and "grubconfig" are in /tftpboot on the DHCP server.
>
> the grubconfig looks like this for now:
>
> serial --unit=0 --speed=9600
> terminal serial
> kernel (nd)/vmlinuz-2.4.9-ac9-cc root=/dev/sda3
> initrd (nd)/initrd-2.4.9-ac9-cc.img.gz
> boot
>
> Any ideas why this wouldn't work?
>
> Joe
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub
--
+--------V--------+ address@hidden
| A L C A T E L | -----------------------------
+-----------------+ Phone: +43 1 27722 3706
T A S Fax: +43 1 27722 3955
- Option-150, Joe LeKostaj, 2002/03/13
- Re: Option-150,
Christoph Plattner <=