All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bean <bean123@126.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: netboot
Date: Tue, 26 Jun 2007 17:01:26 +0800	[thread overview]
Message-ID: <20070626090126.GA2579@ws3.vdp.com> (raw)
In-Reply-To: <20070626055844.GA29262@aragorn>

On Tue, Jun 26, 2007 at 07:58:44AM +0200, Robert Millan wrote:
> 
> In the wiki there's a link titled "GRUB2 netboot development" that points
> to:
> 
>   http://www.inma.ucl.ac.be/~guffens/grub2_netboot/index.html
> 
>   (broken link)
> 
> Anyone knows what did this contain?  Is there uncommitted work for network
> support there?  Who's guffens?

I found an old article on this subject:

http://lists.gnu.org/archive/html/grub-devel/2006-05/msg00020.html

It seems that vincent guffens has ported a glue to bind grub2 and etherboot
together. However, it's no longer maintained, and the patch is nowhere to be
found.

But porting etherboot to grub2 may not be that difficult after all, we can
use the driver from etherboot, and the glue code from Grub Legacy. The problem
is etherboot used in Grub Legacy is very old (5.0.5). The data structure has
changed a lot since then, so the glue code needs to be modified accordingly.

There is another method, that is to rely on PXE sevice. I have written a
PXE driver for grub4dos, it uses real mode service provided by PXE stack to
access remote files, for example, to load a kernel from server, uses:

kernel (pd)/vmlinuz
init (pd)/initrd

The advantage of this methid is that it doesn't rely on network card, the PXE
stack handles difference internally. The disadvantage is that the stack is
present only when booting from PXE ROM (hardware rom or software rom from
etherboot).

BTW, pxelinux also uses this method to access files.

-- 
Bean




  reply	other threads:[~2007-06-26  9:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  5:58 netboot Robert Millan
2007-06-26  9:01 ` Bean [this message]
2007-06-26  9:28   ` netboot Adam Lackorzynski
  -- strict thread matches above, loose matches on Subject: below --
1998-06-13  0:22 netboot Alberto Brealey
1998-06-13  9:05 ` netboot Gert Doering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070626090126.GA2579@ws3.vdp.com \
    --to=bean123@126.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.