Re: pxeboot, NFS and root-path: bug or documentation error?

From: Brian Candler (B.Candler_at_pobox.com)
Date: 06/24/05

  • Next message: Gary Mu1der: "Re: panic in RELENG_5 UMA"
    Date: Fri, 24 Jun 2005 20:05:54 +0100
    To: John Baldwin <jhb@FreeBSD.org>
    
    

    On Fri, Jun 24, 2005 at 01:50:37PM -0400, John Baldwin wrote:
    > It uses TFTP to fetch the pxeboot binary itself. After that, it uses either
    > NFS or TFTP. By default it uses NFS to access /boot/loader and friends. If
    > you want it to just use TFTP and not use NFS at all, you need to recompile
    > pxeboot with LOADER_TFTP_SUPPORT=yes defined in make. That is:
    >
    > % cd /sys/boot
    > % make clean
    > % make LOADER_TFTP_SUPPORT=yes
    > % cp /usr/obj/usr/src/sys/boot/i386/pxeldr/pxeboot /usr/tftpboot

    Thank you, that's very clear. Re-reading the manpage I do now see the phrase
    "selectable through compile-time options"; perhaps it would be worth also
    showing those options.

    Is there any fundamental reason why both couldn't be compiled in at once,
    e.g. limitations on the pxeboot binary size? Or is it just awkward to
    implement?

    I would have no objection to

        options root-path = "tftp://192.168.0.1/usr/tftpboot"

    I would also have no objection to "pxeboot.nfs" and "pxeboot.tftp" being
    built :-)

    I'll try building the tftp version when back in the office next week.

    Thanks again,

    Brian.
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Gary Mu1der: "Re: panic in RELENG_5 UMA"

    Relevant Pages

    • Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout
      ... the kernel with tftp and then the kernel tries to mount a root device with nfs? ... the kernel from tftp just fine, but after the NFS gracefully times out. ... It will also fetch & mount the root device from tftp ok. ...
      (freebsd-questions)
    • pxeboot, TFTP loader/NFS root, NFS MOUNT RPC error: 60, timeout
      ... Subject was: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout ... I compiled the boot loader with tftp support but every time ... I boot it will first try nfs, then timeout after around two minutes (it ...
      (freebsd-questions)
    • Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem
      ... >Any reasons for not using NFS? ... >A workaround, no using NFS, could be to tftp a second filesystem image ... >on boot and mount that from the root filesystem. ... I assume that the PXE clients are diskless clients. ...
      (freebsd-hackers)
    • Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem
      ... >Any reasons for not using NFS? ... >A workaround, no using NFS, could be to tftp a second filesystem image ... >on boot and mount that from the root filesystem. ... I assume that the PXE clients are diskless clients. ...
      (freebsd-stable)
    • Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout
      ... Also I tried with nfs disabled and tftp enabled. ... Only once i`ve got it working without timeout, but I could not repeat this. ... I`ll be back to this question in about one or two month with 6.2 and amd64 arch, so may be I`ll discover something new. ...
      (freebsd-questions)