Re: Configure grub for pxe boot and nfs-mounted root

2013-11-26 Thread Beeblebrox
Since I got grub's pxe set to go, I have started to try the ideas solutions. * Answer to my first question from previous post (I don't see a way where tftp-server would be able to serve-up the grub menu if it were in say /data/tftp path?): This seems not possible. TFTPD cannot chroot (-s) unless

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.11.2013 11:01, Beeblebrox wrote: Since I got grub's pxe set to go, I have started to try the ideas solutions. * Answer to my first question from previous post (I don't see a way where tftp-server would be able to serve-up the grub menu if it were in say /data/tftp path?): This seems not

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-26 Thread Beeblebrox
This doesn't seem to be a GRUB problem at all. I use tftpd which serves from /var/tftpd You are right, it is not a GRUB problem; it's a folder structure error in the way I approached the problem. boot/grub ($prefix) is where grub.cfg goes. Judging from your first question, is it possible you

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.11.2013 12:26, Beeblebrox wrote: This doesn't seem to be a GRUB problem at all. I use tftpd which serves from /var/tftpd You are right, it is not a GRUB problem; it's a folder structure error in the way I approached the problem. boot/grub ($prefix) is where grub.cfg goes. Judging from

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Beeblebrox
I tried as suggested, # grub-mknetdir --net-directory=/data/tftp --subdir=boot And no files were plced in /data/tftp/boot I did not see the relevance, but I also tried, # grub-mknetdir --net-directory=/data/tftp --subdir=boot /dev/ada0 grub-mknetdir: Too many arguments Try 'grub-mknetdir --help'

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Vladimir 'phcoder' Serbinenko
On Nov 25, 2013 4:29 PM, Beeblebrox zap...@berentweb.com wrote: I tried as suggested, # grub-mknetdir --net-directory=/data/tftp --subdir=boot And no files were plced in /data/tftp/boot paste full output with -v I did not see the relevance, but I also tried, # grub-mknetdir

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Beeblebrox
# grub-mknetdir -v = no output dmesg shows nothing ls -la /usr/local/bin/grub-mknetdir -rwxr-xr-x 1 root wheel 444009 Nov 24 17:53 grub-mknetdir* ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.11.2013 17:25, Beeblebrox wrote: # grub-mknetdir -v = no output dmesg shows nothing Found the problem. Either use -d or upgrade. ls -la /usr/local/bin/grub-mknetdir -rwxr-xr-x 1 root wheel 444009 Nov 24 17:53 grub-mknetdir* ___

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Beeblebrox
Found the problem. Either use -d or upgrade. The -d flag did not work (gave error), so I I upgraded. Works now! # grub-mknetdir --net-directory=/data/tftp --subdir=boot Netboot directory for i386-pc created. Configure your DHCP server to point to /data/tftp/boot/i386-pc/core.0 The DHCP message

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.11.2013 08:22, Beeblebrox wrote: Found the problem. Either use -d or upgrade. The -d flag did not work (gave error), so I I upgraded. Works now! -d requires an argument (consult --help) # grub-mknetdir --net-directory=/data/tftp --subdir=boot Netboot directory for i386-pc created.

Configure grub for pxe boot and nfs-mounted root

2013-11-24 Thread Beeblebrox
Using grub-trunk. My PXE boot environment is a little different: * FreeBSD_amd64 jail on /data/amd64, serving dhcp tftp from jail. NFS-related (rpcbind, nfsd, mountd) being served from host (trivial detail). Jail IP is 192.168.2.1 * Once PXE client obtains IP, the tftp-server needs to find

Re: Configure grub for pxe boot and nfs-mounted root

2013-11-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.11.2013 09:14, Beeblebrox wrote: d version: grub-mkimage --format=i386-pc-pxe --output=grub.pxe --prefix='(192.168.2.1)/data/amd64/boot/grub' pxe pxecmd No, use grub-mknetdir. signature.asc Description: OpenPGP digital signature ___