bugGNU GRUB - Bugs: bug #14056, [PATCH] Adding ability to boot 3rd...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14056: [PATCH] Adding ability to boot 3rd party's PXE bootcode from GRUB

Submitted by:  None
Submitted on:  Sat 06 Aug 2005 02:46:49 PM UTC  
Votes:  3  
 
Category: NetworkSeverity: Major
Priority: 5 - NormalItem Group: Action Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Dmitry N. Hramtsov
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.97Release: None
Reproducibility: NonePlanned Release: None

(Jump to the original submission Jump to the original submission)

Sat 15 Dec 2007 08:55:15 PM UTC, comment #7:

We've moved to GRUB 2 as a development platform. Would be nice to have this loader there. If you're still interested, can you send an updated patch?

Ah, I'm closing this bug. Please reopen if you intend to work on it.

Robert Millan <robertmh>
Project Administrator
Thu 27 Jul 2006 09:16:59 AM UTC, comment #6:

With this patch i can sucessfully load pxelinux.0 from pxegrub!

No i have a netboot system with parts using pxelinux (and menu.c32); other parts are using pxegrub.

Thanks for the work!

Greetings
Christian Schweingruber
CATATEC

Christian Schweingruber <cschweingruber>
Mon 10 Jul 2006 08:10:44 AM UTC, comment #5:

Please try

pxeloader (nd)/startrom.n12
boot

(note slash changed)

Please also describe what exactly you see while trying to boot startrom.n12.

As for pxelinux, you may try to specify correct TFTP server and path by executing "tftpserver" and "pxesetbf" commands.

You can also try compile pxegrub w/o UNDI driver support.

Dmitry <hdn>
Sun 09 Jul 2006 03:08:54 PM UTC, comment #4:

Sorry for the double POST :(( BAD boy.

Razvan Vilt <d3vi1>
Sun 09 Jul 2006 03:07:37 PM UTC, comment #3:

I've tried to set-up a server that does exactly that (pxeloader (nd)\startrom.n12), and I always get a TFTP failed error from startrom.n12.
The wierd thing is that it works if I boot startrom.n12 directly (as opposed to booting through pxegrub).

After that I've tried with another pixie, pxelinux. Although it loads the pxelinux pixie and it boots corectly, pxelinux does NOT know what the tftp-server is. That is, there is no TFTP traffic to the server after the pxelinux load, although the client apparently tries to load pxelinux.cfg/*. The client also knows the TFTP prefix (as it stated), correctly.

Anyone has any ideas?

It is a RHEL4 AS x86_64 grub that also has all the patches available in the Sun/OpenSolaris svn, or the ones that I was able to take out of their SVB (that is diskless and UNDI patches and UNDI fixes from Sun and UFS/VTOC support). It also has the pxeloader patch from here. And, wierd enough, it compiles and works ;).

Razvan Vilt <d3vi1>
Sun 09 Jul 2006 03:06:01 PM UTC, comment #2:

I've tried to set-up a server that does exactly that (pxeloader (nd)\startrom.n12), and I always get a TFTP failed error from startrom.n12.
The wierd thing is that it works if I boot startrom.n12 directly (as opposed to booting through pxegrub).

After that I've tried with another pixie, pxelinux. Although it loads the pxelinux pixie and it boots corectly, pxelinux does NOT know what the tftp-server is. That is, there is no TFTP traffic to the server after the pxelinux load, although the client apparently tries to load pxelinux.cfg/*. The client also knows the TFTP prefix (as it stated), correctly.

Anyone has any ideas?

It is a RHEL4 AS x86_64 grub that also has all the patches available in the Sun/OpenSolaris svn, or the ones that I was able to take out of their SVB (that is diskless and UNDI patches and UNDI fixes from Sun and UFS/VTOC support). It also has the pxeloader patch from here. And, wierd enough, it compiles and works ;).

Razvan Vilt <d3vi1>
Sun 07 Aug 2005 11:35:45 AM UTC, comment #1:

One more example. Now it is about MS RIS:

Example#5
// IP address of MS RIS server
tftpserver 192.168.30.40

// load startrom PXE image
pxeloader (nd)/OSChooser\i386\startrom.com

// and boot it
boot

P.S.
This work fine for me but, probably, we should allow not to specify leading "/" for TFTP/(nd) device. So that link to startrom.com would be "(nd)OSChooser\i386\startrom.com" which is more correct.

Anonymous
Sat 06 Aug 2005 02:46:49 PM UTC, original submission:

Support for PXE boot images added. Now you may load
and pass control to any specified PXE image (such as Microsoft
Remote Installation Services or Symantec Ghost loaders).
PXE image can be on a local storage as well.

Example#1:
pxeloader (nd)/etherboot.zpxe // download and run etherboot
boot // PXE loader

Example#2:
tftpserver 192.168.10.20 // set TFTP server
pxeloader (nd)/ghost/ghost.ldr // download ghost.ldr
pxesetbf \asus-80g\ghost.ldr // emulate it's name
// (ghost expects backslashes)
boot // finally boot

Example#3:
pxexit // exit from pxegrub
// BIOS will try to boot system from
// next source (like hdd or floppy)

Example#4:
pxeinfo // print most valuable information
// about current PXE environment

Additional descriptions of newly added commands can be found executing

help pxe

command.

Note. This works only on PXE-enabled NICs and only from pxegrub.

Please review and test the patch and let me know if it works for you as for me. :) Feel free to contact me if you have any questions.

Best regards,
Dmitry N. Hramtsov

Anonymous

 

Attached Files
file #3327:  grub-pxe-v4.patch added by None (22KiB - application/octet-stream - Patch which adds required PXE booting functionality)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 3 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 08:55:15 PM UTCrobertmhOpen/ClosedOpen=>Closed
    Thu 27 Jul 2006 09:16:59 AM UTCcschweingruberCarbon-Copy-=>Added cschweingruber
    Sun 09 Jul 2006 03:06:01 PM UTCd3vi1Carbon-Copy-=>Added d3vi1
    Sat 06 Aug 2005 02:46:49 PM UTCNoneAttached File-=>Added grub-pxe-v4.patch, #2788
      Carbon-Copy-=>Added hdn --СБК-- nsu --ТЧК-- ru

    Back to the top


    Powered by Savane 3.1-cleanup1