Skip to contentSkip to conversation

Problem with diskless boot

DISCUSSION Rainer M Krug 2 participants 3 messages Jul 7, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 54 lines · Rainer M Krug

To: [email protected]
From: Rainer M Krug <[email protected]>
Date: Fri, 07 Jul 2006 09:39:10 +0200
Message-ID: <[email protected]>
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
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 7 lines
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/>
#2 lore raw
Quoted 5 lines · Lubomir Kundrak

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?

Quoted 62 lines

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

Regards,
Lubo

Quoted 54 lines · Rainer M Krug

To: [email protected]
From: Rainer M Krug <[email protected]>
Date: Fri, 07 Jul 2006 09:39:10 +0200
Message-ID: <[email protected]>
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
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel