All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with diskless boot
@ 2006-07-07  7:39 Rainer M Krug
  2006-07-07  7:52 ` Lubomir Kundrak
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2006-07-07  7:39 UTC (permalink / raw)
  To: grub-devel

Hi

If this is the wrong newsgroup to ask, could you please direct mi to a
better one? Thanks for that.

My Problem:

I am trying to boot a diskless client (at the moment a virtual machine
in VM) via the network (DHCP server and tftp server on the host). My
system: SuSE 10.1

the tftp sever is setup and running and has the image pxegrub available.
The DHCP server is setup, assigning static IP to the VM and has the
option "option filename "pxegrub"" set. I exported the directory where
the kernel, GRUB menu config file, ... are located as read write access
for the machine VM machines. I checked, and host VM resolves to the IP.
I also tried to supply this option to this machine, but this is where
the problem comes in.
In addition, an "option T150" is defined with the tag 150 as required by
GRUB to pass the location of the  configuration file for the manu
(menu.lst). Whenever I try to boot the VM, the GRUB shell comes up and
not the menu. My guess is, I need a special way to give the path to the
GRUB menu config file. I tried

option T150 "192.168.0.1://exportedfolder/path/to/menu.lst"
and
option T150 "/exportedfolder/path/to/menu.lst"

but the VM only opens the GRUB shell.

I am stuck.

Do I have to compile GRUB with the network options enabled?


(with the struggle of loading the kernel, I will deal later!)

Any help welcome,

Rainer





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with diskless boot
  2006-07-07  7:39 Problem with diskless boot Rainer M Krug
@ 2006-07-07  7:52 ` Lubomir Kundrak
  2006-07-07  8:05   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Lubomir Kundrak @ 2006-07-07  7:52 UTC (permalink / raw)
  To: The development of GRUB 2

Hello!

As manual[1] says, format of the T150 tag is "(nd)/path/to/menu.lst".
Surely, to access (nd) device you have to have networking facilities
compiled in.

[1] http://www.gnu.org/software/grub/manual/html_node/Diskless.html

Regards,
Lubo

On Fri, Jul 07, 2006 at 09:39:10AM +0200, Rainer M Krug wrote:
> To: grub-devel@gnu.org
> From: Rainer M Krug <rmk@krugs.de>
> Date: Fri, 07 Jul 2006 09:39:10 +0200
> Message-ID: <e8l31m$be6$1@sea.gmane.org>
> Subject: Problem with diskless boot
> 
> Hi
> 
> If this is the wrong newsgroup to ask, could you please direct mi to a
> better one? Thanks for that.
> 
> My Problem:
> 
> I am trying to boot a diskless client (at the moment a virtual machine
> in VM) via the network (DHCP server and tftp server on the host). My
> system: SuSE 10.1
> 
> the tftp sever is setup and running and has the image pxegrub available.
> The DHCP server is setup, assigning static IP to the VM and has the
> option "option filename "pxegrub"" set. I exported the directory where
> the kernel, GRUB menu config file, ... are located as read write access
> for the machine VM machines. I checked, and host VM resolves to the IP.
> I also tried to supply this option to this machine, but this is where
> the problem comes in.
> In addition, an "option T150" is defined with the tag 150 as required by
> GRUB to pass the location of the  configuration file for the manu
> (menu.lst). Whenever I try to boot the VM, the GRUB shell comes up and
> not the menu. My guess is, I need a special way to give the path to the
> GRUB menu config file. I tried
> 
> option T150 "192.168.0.1://exportedfolder/path/to/menu.lst"
> and
> option T150 "/exportedfolder/path/to/menu.lst"
> 
> but the VM only opens the GRUB shell.
> 
> I am stuck.
> 
> Do I have to compile GRUB with the network options enabled?
> 
> 
> (with the struggle of loading the kernel, I will deal later!)
> 
> Any help welcome,
> 
> Rainer
> 
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel

-- 
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986

Would you like to play a game?

Lubomir Kundrak <http://skosi.org/~lkundrak/>
NetBSD.sk <http://netbsd.sk/>
Slovak Open Source Initiative <http://skosi.org/>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with diskless boot
  2006-07-07  7:52 ` Lubomir Kundrak
@ 2006-07-07  8:05   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2006-07-07  8:05 UTC (permalink / raw)
  To: grub-devel

Lubomir Kundrak wrote:
> Hello!
> 
> As manual[1] says, format of the T150 tag is "(nd)/path/to/menu.lst".
> Surely, to access (nd) device you have to have networking facilities
> compiled in.

I'll try this. Thanks.
and I have to set the T150 tag to "(nd)/path/to/menu.lst" and only
replace the path/to bit and the "(nd)" stays as it is?

> 
> [1] http://www.gnu.org/software/grub/manual/html_node/Diskless.html
> 
> Regards,
> Lubo
> 
> On Fri, Jul 07, 2006 at 09:39:10AM +0200, Rainer M Krug wrote:
>> To: grub-devel@gnu.org
>> From: Rainer M Krug <rmk@krugs.de>
>> Date: Fri, 07 Jul 2006 09:39:10 +0200
>> Message-ID: <e8l31m$be6$1@sea.gmane.org>
>> Subject: Problem with diskless boot
>>
>> Hi
>>
>> If this is the wrong newsgroup to ask, could you please direct mi to a
>> better one? Thanks for that.
>>
>> My Problem:
>>
>> I am trying to boot a diskless client (at the moment a virtual machine
>> in VM) via the network (DHCP server and tftp server on the host). My
>> system: SuSE 10.1
>>
>> the tftp sever is setup and running and has the image pxegrub available.
>> The DHCP server is setup, assigning static IP to the VM and has the
>> option "option filename "pxegrub"" set. I exported the directory where
>> the kernel, GRUB menu config file, ... are located as read write access
>> for the machine VM machines. I checked, and host VM resolves to the IP.
>> I also tried to supply this option to this machine, but this is where
>> the problem comes in.
>> In addition, an "option T150" is defined with the tag 150 as required by
>> GRUB to pass the location of the  configuration file for the manu
>> (menu.lst). Whenever I try to boot the VM, the GRUB shell comes up and
>> not the menu. My guess is, I need a special way to give the path to the
>> GRUB menu config file. I tried
>>
>> option T150 "192.168.0.1://exportedfolder/path/to/menu.lst"
>> and
>> option T150 "/exportedfolder/path/to/menu.lst"
>>
>> but the VM only opens the GRUB shell.
>>
>> I am stuck.
>>
>> Do I have to compile GRUB with the network options enabled?
>>
>>
>> (with the struggle of loading the kernel, I will deal later!)
>>
>> Any help welcome,
>>
>> Rainer
>>
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> http://lists.gnu.org/mailman/listinfo/grub-devel
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-07  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07  7:39 Problem with diskless boot Rainer M Krug
2006-07-07  7:52 ` Lubomir Kundrak
2006-07-07  8:05   ` Rainer M Krug

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.