Skip to contentSkip to conversation

xen tftpboot

DISCUSSION Weikuan Yu 4 participants 6 messages Aug 15, 2006 – Aug 16, 2006

lore
Share & tools
lore

Weikuan Yu

author
#0 lore raw

Hi,

Anybody has experience doing tftpboot (pxeboot) of xen? I do not seem to find any hints from googling.

Thanks,
Weikuan

#1 lore raw
Quoted 4 lines · Weikuan Yu

Hi,

Anybody has experience doing tftpboot (pxeboot) of xen? I do not seem to find any hints from googling.

I used to have this working using grub. It is no different from booting linux using TFTP and Grub, however the problem with Grub is that last time I looking network driver support for modern cards was limited. In the end I made things work using an experimental patch which added UNDI support, where the BIOS supplies the driver for the network card, but the patch made Grub rather flaky.

There is nothing special about TFTP-booting Xen with Grub, the same rules apply as when booting Xen from disk with Grub. Find some howto on TFTP-booting, and adapt it to use Xen instead of e.g. Linux.

Good luck,
Jacob

#2 lore raw
In reply to Weikuan Yu
Quoted 2 lines · Weikuan Yu

Anybody has experience doing tftpboot (pxeboot) of xen? I do not seem to find any hints from googling.

You could use GRUB (although you have to compile it yourself to enable networking. Another option is using mbootpack so it works with every bootloader.

--
Marco

#3 lore raw

Many thanks for all the help I have received. I managed to boot it with Ian's instruction on using mboot.c32.

mbootpack did not work for me as it complains not able to find multiboot header. Seems to be a known issue. I will just move ahead from this then.

Thanks again,
Weikuan

Quoted 22 lines

-----Original Message-----
From: Marco Gerards [mailto:[email protected]]
Sent: Tuesday, August 15, 2006 2:36 PM
To: Yu, Weikuan
Cc: [email protected]
Subject: Re: [Xen-devel] xen tftpboot

Quoted 1 line · Weikuan Yu

Anybody has experience doing tftpboot (pxeboot) of xen? I

do not seem

Quoted 1 line

to find any hints from googling.

You could use GRUB (although you have to compile it yourself to enable networking. Another option is using mbootpack so it works with every bootloader.

--
Marco

#4 lore raw

Fwiw, I use mboot.c32 too, but am looking at Etherboot's new AoE support, which works great except on the machine I want it to work on :( (grub hangs at loading 1.5)

The idea is that as far as the machine is concerned grub and everything else behave as if it were a real disk, rather than having to remember to put the kernel updates on the tftp share.

James

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Yu, Weikuan
Sent: Wednesday, 16 August 2006 04:58
To: Marco Gerards
Cc: [email protected]
Subject: RE: [Xen-devel] xen tftpboot

Many thanks for all the help I have received. I managed to boot it

with

Quoted 3 lines

Ian's instruction on using mboot.c32.

mbootpack did not work for me as it complains not able to find

multiboot

Quoted 33 lines

header. Seems to be a known issue. I will just move ahead from this then.

Thanks again,
Weikuan

Quoted 11 lines

-----Original Message-----
From: Marco Gerards [mailto:[email protected]]
Sent: Tuesday, August 15, 2006 2:36 PM
To: Yu, Weikuan
Cc: [email protected]
Subject: Re: [Xen-devel] xen tftpboot

Quoted 1 line · Weikuan Yu

Anybody has experience doing tftpboot (pxeboot) of xen? I

do not seem

Quoted 11 lines
Quoted 1 line

to find any hints from googling.

You could use GRUB (although you have to compile it yourself to enable networking. Another option is using mbootpack so it works with every bootloader.

--
Marco

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#5 lore raw
In reply to Marco Gerards

Many thanks for all the help. I managed to boot with Ian's instruction on using mboot.c32.

mbootpack did not work for as it complains not able to find multiboot header. Guess that is a solved problem. I will just move ahead then.

Thanks again,
Weikuan

Quoted 13 lines · Marco Gerards
Quoted 2 lines · Weikuan Yu

Anybody has experience doing tftpboot (pxeboot) of xen? I do not seem to find any hints from googling.

You could use GRUB (although you have to compile it yourself to enable networking. Another option is using mbootpack so it works with every bootloader.

--
Marco