PXE boot over NFS please

2014-06-01 Thread Beeblebrox
In a previous discussion on this list, I was advised grub does not boot
over NFS, and that it must use TFTP only.

I had asked the questionn because of this article [
http://www.wonkity.com/~wblock/docs/html/pxe.html) where it states:

gpxelinux.0 from the SYSLINUX project will be used as a PXE boot loader

XUbuntu With NFS: This menu entry sets the netboot and nfsroot options.
"label xubuntu \   menu label XUbuntu \   kernel
images/xubuntu/casper/vmlinuz \ append boot=casper netboot=nfs \
nfsroot=192.168.1.1:/usr/tftpboot/images/xubuntu \  initrd
images/xubuntu/casper/initrd.lz"

I just wanted to advise that, although I have not tried it, SysLinux seems
able to boot over NFS. I hope one day Grub will be able to as well.

Thanks and Regards.
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: PXE boot over NFS please

2014-06-01 Thread Andrey Borzenkov
В Sun, 1 Jun 2014 20:53:27 +0300
Beeblebrox  пишет:

> In a previous discussion on this list, I was advised grub does not boot
> over NFS, and that it must use TFTP only.
> 
> I had asked the questionn because of this article [
> http://www.wonkity.com/~wblock/docs/html/pxe.html) where it states:
> 
> gpxelinux.0 from the SYSLINUX project will be used as a PXE boot loader
> 
> XUbuntu With NFS: This menu entry sets the netboot and nfsroot options.
> "label xubuntu \   menu label XUbuntu \   kernel
> images/xubuntu/casper/vmlinuz \ append boot=casper netboot=nfs \
> nfsroot=192.168.1.1:/usr/tftpboot/images/xubuntu \  initrd
> images/xubuntu/casper/initrd.lz"
> 
> I just wanted to advise that, although I have not tried it, SysLinux seems
> able to boot over NFS.

Where Linux kernel mounts its root filesystem from is hardly related to
how bootloader obtains Linux kernel. 

>I hope one day Grub will be able to as well.
> 

Implementing NFS client in grub is a lot of work for very little gain,
especially if you are speaking about PXE which mandates working tftp
server. What exact functionality is missing right now?

> Thanks and Regards.


___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Improper handling of --disk-module argument in grub-install

2014-06-01 Thread Andrey Borzenkov
В Sun, 18 May 2014 08:18:56 -0500
Glenn Washburn  пишет:

> Currently when using --disk-module=xxx, grub-install will fail with a
> message about disk-module not being a valid option.
> 
> To fix this, OPTION_MODULE should be removed from the option enum and
> the remaining references to OPTION_MODULE (only one) should be renamed
> to OPTION_DISK_MODULE.
> 

Please send a patch against current GIT master.

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: PXE boot over NFS please

2014-06-01 Thread Beeblebrox
Hello Andrey,

The linked article, under the "Advanced Options" title (just past middle of
page) covers two interesting aspects of non-tftp transfer alternatives.
One is "Faster Transfers With HTTP",
The other is NFS.

Neither method / description has anything to do with issue of mount_nfs
after the kernel has been loaded.

> Implementing NFS client in grub is a lot of work for very little gain,
> especially if you are speaking about PXE which mandates working tftp
> server. What exact functionality is missing right now?

The advantage of using http or nfs compared to tftp is transfer speed, as
summarized on the page:

"TFTP is not particularly fast when transferring the 200M or larger
compressed filesystems used by some bootable utilities. Newer utilities can
often retrieve their filesystem images by HTTP, which is much faster. One
target system took three minutes to load the sysrcd.dat file by TFTP. With
HTTP, it took only 18 seconds."

The article describes NFS as an alternative to HTTP, with conceivably
similar file transfer speed.

Of course, the grub developers may have decided that "grub is a boot loader
and not a PXE oriented project"; which is of course fine. As stated, I just
wanted to get your view(s) on the described alternative boot method.

Regards.
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: PXE boot over NFS please

2014-06-01 Thread arvidjaar
Отправлено с iPhone

> 02 июня 2014 г., в 9:35, Beeblebrox  написал(а):
> 
> Hello Andrey,
> 
> The linked article, under the "Advanced Options" title (just past middle of 
> page) covers two interesting aspects of non-tftp transfer alternatives.
> One is "Faster Transfers With HTTP",
> The other is NFS.
> 
> Neither method / description has anything to do with issue of mount_nfs after 
> the kernel has been loaded.
> 

The code you quoted has.


> > Implementing NFS client in grub is a lot of work for very little gain,
> > especially if you are speaking about PXE which mandates working tftp
> > server. What exact functionality is missing right now?
> 
> The advantage of using http or nfs compared to tftp is transfer speed, as 
> summarized on the page:
> 
> "TFTP is not particularly fast when transferring the 200M or larger 
> compressed filesystems used by some bootable utilities. Newer utilities can 
> often retrieve their filesystem images by HTTP, which is much faster. One 
> target system took three minutes to load the sysrcd.dat file by TFTP. With 
> HTTP, it took only 18 seconds."
> 

Grub already supports HTTP. Did you try it?

> The article describes NFS as an alternative to HTTP, with conceivably similar 
> file transfer speed. 
> 
> Of course, the grub developers may have decided that "grub is a boot loader 
> and not a PXE oriented project"; which is of course fine. As stated, I just 
> wanted to get your view(s) on the described alternative boot method.
> 
> Regards.

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel