[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: PXE boot over NFS please
From:       Beeblebrox <zaphod () berentweb ! com>
Date:       2014-06-09 4:55:30
Message-ID: CAPSTsksX0O_Q15c331c_df7UrAQjccnnze=rP1gZjRrVZOs8=w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi.
It looks like a PR was in fact filed: https://savannah.gnu.org/bugs/?41447
Is there anything I should add to it? Seems prety complete.

Before my other reported problem, I had gotten FreeBSD to boot with this
entry. If I can figure out how to load kernel module from grub, I won't
need to chainload to BTX.

menuentry 'FreeBSD amd64' --class freebsd --class bsd --class os {
   kfreebsd kernel/kernel
   kfreebsd_loadenv device.hints
   set kFreeBSD.boot.nfsroot.server="192.168.2.1"
   set kFreeBSD.boot.nfsroot.path="/data/amd64"
   set kFreeBSD.vfs.root.mountfrom="nfs:192.168.2.1:/data/amd64"
  }

It hangs at NFS mount stage however, because the NIC driver is not in the
kernel and must be loaded separately in order for NFS mount to proceed.

What is the grub syntax for loading a FreeBSD kernel module?
FreeBSD's loader.conf syntax is:   if_msk_load="YES".
This unfortunately did not work:   set kFreeBSD.if_msk_load="YES"

Regards.

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div>Hi.</div><div>It looks like a PR was in \
fact filed:  <a href="https://savannah.gnu.org/bugs/?41447" \
target="_blank">https://savannah.gnu.org/bugs/?41447</a></div><div>Is there anything \
I should add to it? Seems prety complete.</div>

<div><br></div><div>Before my other reported problem, I had gotten FreeBSD to boot \
with this entry. If I can figure out how to load kernel module from grub, I won&#39;t \
need to chainload to BTX.</div><div><div><br></div> <div>menuentry &#39;FreeBSD \
amd64&#39; --class freebsd --class bsd --class os {</div><div>     kfreebsd \
kernel/kernel</div>

<div>     kfreebsd_loadenv device.hints</div><div>     set \
kFreeBSD.boot.nfsroot.server=&quot;192.168.2.1&quot;</div><div>     set \
kFreeBSD.boot.nfsroot.path=&quot;/data/amd64&quot;</div><div>     set \
kFreeBSD.vfs.root.mountfrom=&quot;nfs:192.168.2.1:/data/amd64&quot;</div>


<div>   }</div></div><div><br></div><div>It hangs at NFS mount stage however, because \
the NIC driver is not in the kernel and must be loaded separately in order for NFS \
mount to proceed.</div> <div><br></div><div>What is the grub syntax for loading a \
FreeBSD kernel module?</div><div>FreeBSD&#39;s loader.conf syntax is:    \
if_msk_load=&quot;YES&quot;.  </div><div>This unfortunately did not work:    set \
kFreeBSD.if_msk_load=&quot;YES&quot;</div>


<div><br></div><div>Regards.</div>
</div></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic