Skip to contentSkip to conversation

GRUB2 / pxe

DISCUSSION lode leroy 2 participants 2 messages Jun 28, 2004

lore
Share & tools
lore

lode leroy

author
#0 lore raw
Quoted 9 lines
Quoted 3 lines

I managed to boot grub2 over PXE/TFTP/DHCP using the following code. Could someone add this to grub2, please?

This would be quite useful to me for testing, great!

Using your code I made the patch I included at the end of the email. I've also regenerated the `conf/i386-pc.mk' file, in case you don't have ruby installed. Can you please test this patch?

yes, looks like it works!

Quoted 1 line

Is it ok for you this way?

This line in the makefile is too long (or was crippled in the mail archive)

$(CPPFLAGS) -DASM_FILE=1 $(ASFLAGS) $(pxeboot_img_ASFLAGS) -M $< | sed
's,pxeboot\.o[ :]*,pxeboot_img-boot_i386_pc_pxeboot.o $@ : ,g' > $@; [ -s
$@ ] || rm -f $@

Quoted 6 lines
Quoted 2 lines

-- lode
ps: it's a mix between pxeloader.S from grub0.94, abd boot.S from grub2

Okuji, can I commit this patch when it works for Lode? Are there copyright issues?

I think there should not be copyright issues: there's only 1 line of code, and Okuji wrote it :-)

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

#1 lore raw
Quoted 5 lines · lode leroy
Quoted 3 lines

Using your code I made the patch I included at the end of the email. I've also regenerated the `conf/i386-pc.mk' file, in case you don't have ruby installed. Can you please test this patch?

yes, looks like it works!

Great!

Quoted 3 lines
Quoted 1 line

Is it ok for you this way?

This line in the makefile is too long (or was crippled in the mail archive)

That is not a problem. It is a generated file, I just included it for your convenience.

Quoted 2 lines

I think there should not be copyright issues: there's only 1 line of code, and Okuji wrote it :-)

Ok, in that case there is no problem and I will apply the patch soon.

Thanks,
Marco