public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] grub + pxeboot
@ 2006-06-02 10:24 Enrico Weigelt
  2006-06-04 16:12 ` Mike Huber
  0 siblings, 1 reply; 4+ messages in thread
From: Enrico Weigelt @ 2006-06-02 10:24 UTC (permalink / raw
  To: gentoo-user


Hi folks,


I'd like to let grub boot an PXE bootloader, so I've got the 
option to boot from network instead of local disk.
How can I do this ?

Currently I'm using an PXE bootdisk to boot from network, but 
this is not satisfying.


thx
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub + pxeboot
  2006-06-02 10:24 [gentoo-user] grub + pxeboot Enrico Weigelt
@ 2006-06-04 16:12 ` Mike Huber
  2006-06-13 13:12   ` YoYo Siska
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Huber @ 2006-06-04 16:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

There was a really good guide on how to do this (at least, from the point of
view of booting an nfs-mounted root directory) in the alternate installation
guide.  I'm pretty sure that you have to compile grub with the
--enable-diskless option.  I'm not really sure how to do that easily within
portage, but I'm sure someone will chime in with an appropiate answer.
Obviously PXE-booting requires a machine with a modern enough BIOS to
support it.

http://www.gentoo.org/doc/en/altinstall.xml

--Mike

On 6/2/06, Enrico Weigelt <weigelt@metux.de> wrote:
>
>
> Hi folks,
>
>
> I'd like to let grub boot an PXE bootloader, so I've got the
> option to boot from network instead of local disk.
> How can I do this ?
>
> Currently I'm using an PXE bootdisk to boot from network, but
> this is not satisfying.
>
>
> thx
> --
> ---------------------------------------------------------------------
> Enrico Weigelt    ==   metux IT service
>
>   phone:     +49 36207 519931         www:       http://www.metux.de/
>   fax:       +49 36207 519932         email:     contact@metux.de
>   cellphone: +49 174 7066481
> ---------------------------------------------------------------------
> -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
> ---------------------------------------------------------------------
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 2119 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub + pxeboot
  2006-06-04 16:12 ` Mike Huber
@ 2006-06-13 13:12   ` YoYo Siska
  2006-06-14 22:27     ` Mike Huber
  0 siblings, 1 reply; 4+ messages in thread
From: YoYo Siska @ 2006-06-13 13:12 UTC (permalink / raw
  To: gentoo-user

Mike Huber wrote:
> There was a really good guide on how to do this (at least, from the
> point of view of booting an nfs-mounted root directory) in the alternate
> installation guide.  I'm pretty sure that you have to compile grub with
> the --enable-diskless option.  I'm not really sure how to do that easily
> within portage, but I'm sure someone will chime in with an appropiate
> answer.

The "netboot" use flag seems to be the right thing ;) it seems that it
enables other things beside "--enable-diskless" that look like network
drivers/whatever.. (never tried it)

BTW if you want to pass something to ./configure in an  emerge, just use

EXTRA_ECONF="--enable-diskless" emerge -av grub

But I don't know if it can be set pernamently for that package in some
file in /etc/portage/....
> 
> On 6/2/06, *Enrico Weigelt* < weigelt@metux.de
> <mailto:weigelt@metux.de>> wrote:
> 
> 
>     Hi folks,
> 
> 
>     I'd like to let grub boot an PXE bootloader, so I've got the
>     option to boot from network instead of local disk.
>     How can I do this ?
> 
>     Currently I'm using an PXE bootdisk to boot from network, but
>     this is not satisfying.
> 
> 



YoYo
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub + pxeboot
  2006-06-13 13:12   ` YoYo Siska
@ 2006-06-14 22:27     ` Mike Huber
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Huber @ 2006-06-14 22:27 UTC (permalink / raw
  To: gentoo-user

Awesome tidbit, I'll be sure to file that one away.  Also, if you're
configuring for a netboot, the definitive place to look is in the
kernel tree itself.  I would especially recommend
Documentation/initrd.txt, which is great for netbooting something
that's not going to be a diskless thinclient.  Regardless, that should
tell you everything you need to know, or where to look for the few
pieces you're missing.

--Mike



On 6/13/06, YoYo Siska <yoyko@mailbox.sk> wrote:
> Mike Huber wrote:
> > There was a really good guide on how to do this (at least, from the
> > point of view of booting an nfs-mounted root directory) in the alternate
> > installation guide.  I'm pretty sure that you have to compile grub with
> > the --enable-diskless option.  I'm not really sure how to do that easily
> > within portage, but I'm sure someone will chime in with an appropiate
> > answer.
>
> The "netboot" use flag seems to be the right thing ;) it seems that it
> enables other things beside "--enable-diskless" that look like network
> drivers/whatever.. (never tried it)
>
> BTW if you want to pass something to ./configure in an  emerge, just use
>
> EXTRA_ECONF="--enable-diskless" emerge -av grub
>
> But I don't know if it can be set pernamently for that package in some
> file in /etc/portage/....
> >
> > On 6/2/06, *Enrico Weigelt* < weigelt@metux.de
> > <mailto:weigelt@metux.de>> wrote:
> >
> >
> >     Hi folks,
> >
> >
> >     I'd like to let grub boot an PXE bootloader, so I've got the
> >     option to boot from network instead of local disk.
> >     How can I do this ?
> >
> >     Currently I'm using an PXE bootdisk to boot from network, but
> >     this is not satisfying.
> >
> >
>
>
>
> YoYo
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-14 22:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02 10:24 [gentoo-user] grub + pxeboot Enrico Weigelt
2006-06-04 16:12 ` Mike Huber
2006-06-13 13:12   ` YoYo Siska
2006-06-14 22:27     ` Mike Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox