bug-grub
[Top][All Lists]
Advanced

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

Prefix `(nd)' in option-150 ...[Fwd: Option-150]


From: Christoph Plattner
Subject: Prefix `(nd)' in option-150 ...[Fwd: Option-150]
Date: Thu, 14 Mar 2002 08:51:59 +0100

Hello Mr. Okuji,

I have not analysed the contents of the documentation yet in this
detail, but is there mentioned, that the string passed over via
`option-150' (TAG 150) should include the `(nd)' prefix.

As described in the mail (see below), there are constellations,
where a missed `(nd)' can lead to a wrong behaviour (if root is
currently set to a local device and `bootp --with-configfile' is
called, for example.

In the beginning I thought, this was a bug. But this is really a
feature, as also a local installed config file (menu) can be
defined with "(hd0,0)/boot/grub/menu.lst" or similar.

So there should be a hint to that possibilities in the documentaion,
if there is not.

With friendly reards
Christoph Plattner


-----------------------------------------------------------------
private:  address@hidden
company:  address@hidden
--- Begin Message --- 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

--- End Message ---

reply via email to

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