Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2016 17:53:04 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Mark Felder <feld@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: loader.conf from loader prompt
Message-ID:  <20161229145304.GK37118@zxy.spb.ru>
In-Reply-To: <1483022457.3851552.832172593.724798DE@webmail.messagingengine.com>
References:  <20161229114324.GI37118@zxy.spb.ru> <1483022457.3851552.832172593.724798DE@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 29, 2016 at 08:40:57AM -0600, Mark Felder wrote:

> 
> 
> On Thu, Dec 29, 2016, at 05:43, Slawa Olhovchenkov wrote:
> > I am need set/unset some values (from loader.conf) from loader prompt.
> > Or add content of some file to loader.conf from loader prompt.
> > Or interactivly enable/disable some lines from loader.conf
> > 
> > Is this posible?
> >
> 
> Yes. Check the loader(8) man page or the "help" command at the loader
> prompt.

Already did, don't help.

For example, what I need enter in loader prompt for next equalent:
==
mfsroot_load="YES"
mfsroot_type="md_image"
mfsroot_name="/boot/md.img"
==

set mfsroot_load="YES"
set mfsroot_type="md_image"
set mfsroot_name="/boot/md.img"
boot

don't work.

`load -t md_image /boot/md.img` can't be before kernel load.

What I am missing?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161229145304.GK37118>