From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Beeblebrox <zaphod@berentweb.com>
Cc: grub-devel <grub-devel@gnu.org>
Subject: Re: Grub kfreebsd with pxe & nfs
Date: Sun, 26 Oct 2014 21:24:44 +0300 [thread overview]
Message-ID: <20141026212444.79c1757e@opensuse.site> (raw)
In-Reply-To: <20141026200300.70fc4099@rsbsd.rsb>
В Sun, 26 Oct 2014 20:03:00 +0200
Beeblebrox <zaphod@berentweb.com> пишет:
> I have two separate issues involving the {kfreebsd} code in grub.cfg:
>
> * First is, code snippet to get mount_root to use NFS V3 instead of V2. The code for this in FreeBSD's /boot/loader.conf is: {boot-nfsroot-options=“nfsv3”}
>
> The comparable grub.cfg code should be as below, but does not work (mount_root hangs for some time, then falls back to V2)
> {set kfreebsd.boot.nfsroot.options="nfsv3"}
>
This should be kFreeBSD....
> * Second issue is, how to over-ride the {option root-path "192.168.2.1:/data/amd64"} code defined by dhcp? This is needed for example when I want to boot a i386 version of FreeBSD rather than amd64. As above, this does not work correctly:
> {set kfreebsd.vfs.root.mountfrom="nfs:192.168.2.1:/data/amd64/alt_root/path"}
>
Same.
> Also, which file in the grub code can I look through to get a list of options supported by the kfreebsd operator?
>
Which operator? freebsd loader simply strips kFreeBSD. prefix from
variable name and exports the rest as environment variable for
FreeBSD kernel. So list of options is whatever is supported by
FreeBSD kernel.
next prev parent reply other threads:[~2014-10-26 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 18:03 Grub kfreebsd with pxe & nfs Beeblebrox
2014-10-26 18:24 ` Andrei Borzenkov [this message]
2014-10-26 19:19 ` Beeblebrox
2014-11-01 14:30 ` Andrei Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141026212444.79c1757e@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=zaphod@berentweb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).