grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub kfreebsd with pxe & nfs


From: Andrei Borzenkov
Subject: Re: Grub kfreebsd with pxe & nfs
Date: Sun, 26 Oct 2014 21:24:44 +0300

В Sun, 26 Oct 2014 20:03:00 +0200
Beeblebrox <address@hidden> пишет:

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]