Project

General

Profile

Feature #3426

NanoBSD shorter F1 boot prompt display

Added by Max Mustermann almost 6 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
Start date:
02/01/2014
Due date:
% Done:

0%

Estimated time:

Description

The boot process of pfSense-2.1.1-PRERELEASE-4g-amd64-nanobsd_vga-20140131-1030.img is approximately delayed by 12 seconds due to the "F1 pfSense F2 pfSense F5 Drive 1 F6 PXE" boot prompt.

Currently commands like "boot0cfg -t 1", "boot0cfg -t 1 da0" or "boot0cfg -t 1/dev/da0" fail with "/usr/sbin/boot0cfg: Device not configured." or "/usr/sbin/boot0cfg: Input/output error."

Please shorten this boot prompt timeout, or allow a user setting a shorter boot prompt timeout value.

Associated revisions

Revision 151d1591 (diff)
Added by Chris Buechler almost 4 years ago

Lessen the boot delay at the F1 prompt on nanobsd from ~12 seconds to ~6 seconds. Ticket #3426

History

#1 Updated by Chris Buechler almost 6 years ago

  • Target version deleted (2.1.1)

#2 Updated by Max Mustermann almost 6 years ago

In pfsense-tools / builder_scripts / builder_common.sh, line #2202

boot0cfg -B -b ${CLONEDIR}/${NANO_BOOTLOADER} ${NANO_BOOT0CFG} ${MD}

seems the candidate for a change. Insert: "-t 2"?

boot0cfg -B -t 2 -b ${CLONEDIR}/${NANO_BOOTLOADER} ${NANO_BOOT0CFG} ${MD}

#3 Updated by Chris Buechler almost 4 years ago

  • Status changed from New to Resolved
  • Target version set to 2.3

-t is for ticks, of which there are about 18.2 per second, so '-t 2' would be way too short. changed this to roughly cut the delay in half with '-t 100'

Also available in: Atom PDF