freebsd-src/stand/forth
Toomas Soome e307eb94ae loader: zfs should support bootonce an nextboot
bootonce feature is temporary, one time boot, activated by
"bectl activate -t BE", "bectl activate -T BE" will reset the bootonce flag.

By default, the bootonce setting is reset on attempt to boot and the next
boot will use previously active BE.

By setting zfs_bootonce_activate="YES" in rc.conf, the bootonce BE will
be set permanently active.

bootonce dataset name is recorded in boot pool labels, bootenv area.

in case of nextboot, the nextboot_enable boolean variable is recorded in
freebsd:nvstore nvlist, also stored in boot pool label bootenv area.
On boot, the loader will process /boot/nextboot.conf if nextboot_enable
is "YES", and will set nextboot_enable to "NO", preventing /boot/nextboot.conf
processing on next boot.

bootonce and nextboot features are usable in both UEFI and BIOS boot.

To use bootonce/nextboot features, the boot loader needs to be updated on disk;
if loader.efi is stored on ESP, then ESP needs to be updated and
for BIOS boot, stage2 (zfsboot or gptzfsboot) needs to be updated
(gpart or other tools).

At this time, only lua loader is updated.

Sponsored by:	Netflix, Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D25512
2020-09-21 09:01:10 +00:00
..
beastie.4th
beastie.4th.8
brand-fbsd.4th
brand.4th
brand.4th.8
check-password.4th Restore the ability to prevent the user from interrupting the boot process 2018-10-21 00:15:51 +00:00
check-password.4th.8 check-password.4th(8): Fix manual [in]accuracy 2018-06-24 19:29:29 +00:00
color.4th loader: Respect loader_color=YES for serial consoles 2019-09-20 19:43:40 +00:00
color.4th.8
delay.4th
delay.4th.8
efi.4th Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
frames.4th loader: use teken teminal emulator for x86 and uefi 2019-09-05 22:15:50 +00:00
loader.4th loader: Fully reset terminal settings, not just colors 2020-03-27 17:37:31 +00:00
loader.4th.8
loader.rc loader: Fully reset terminal settings, not just colors 2020-03-27 17:37:31 +00:00
logo-beastie.4th
logo-beastiebw.4th
logo-fbsdbw.4th
logo-orb.4th
logo-orbbw.4th
Makefile Forth version of EFI autoresizing 2018-03-21 22:01:51 +00:00
Makefile.depend
menu-commands.4th
menu.4th loader_4th: menu items need to reset color attribute, not switch to white 2019-09-22 16:10:25 +00:00
menu.4th.8
menu.rc loader_4th: menu items need to reset color attribute, not switch to white 2019-09-22 16:10:25 +00:00
menusets.4th
menusets.4th.8
screen.4th loader: Fully reset terminal settings, not just colors 2020-03-27 17:37:31 +00:00
shortcuts.4th
support.4th loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
version.4th
version.4th.8