Date: Mon, 2 May 2011 20:57:05 -0700 From: Devin Teske <dteske@vicor.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Cc: Olivier SMEDTS <olivier@gid0.org> Subject: [UPDATE] New Boot-Loader Menu -- version 1.3 Message-ID: <6955841F-C3C1-4C7D-8BA4-F8EBBF60F69B@vicor.com>
next in thread | raw e-mail | index | archive | help
Hey all, Proud to bring you version 1.3 which completes the followup suggestions mad= e by Olivier Smedts (use autoboot_delay instead of loader_menu_timeout and = change dc_seconds to loader_delay) and a couple other minor enhancements/fi= xes. I think that brings everything up to speed with the phenomenal feedback pro= vided so far. Really, thank you all very much. Get your update at http://druidbsd.sf.net/ or http://druidbsd.sourceforge.n= et/download/loader_menu-1.3.tgz Here's a dump of the latest pkg-descr (the pertinent parts that have change= d are highlighted above and one additional paragraph added to the end about= loader_delay): loader_menu is a modern boot loader for the FreeBSD Operating System. The following options can be added to loader.conf(5) to customize the behav= ior and/or appearance of the boot menu/process: autoboot_delay=3D"N" Timeout in seconds (N) until the menu aborts, causing the system to autoboot with the displayed options. Default is 10 seconds. Pressing any key during the duration will cancel the timeout. You can use values as high as you like, however due to limited screen real-estate (at a mere 24 rows x 80 columns for compatibility reasons) the counter will simply display "9 seconds" while counting down internally. Once the final countdown is upon you, the numbers will finally start to move. A future version could overcome this limitation. loader_menu_timeout_x=3D"N" loader_menu_timeout_y=3D"N" Column (x) and row (y) placement of the menu timeout count-down text. Defaults are 4 (x) and 23 (y). loader_color=3D"YES" Enables the use of color in the boot menu. Not all devices support the display of ANSI color codes, and so the default is to not use them. loader_logo=3D"..." Selects which FreeBSD logo to display. Valid values are "beastie", "beastiebw", "fbsdbw", "orb", or "orbbw". An invalid value (such as "none") will disable the display of any logo. The logo is displayed to the right of the dynamic menu. loader_logo_x=3D"N" loader_logo_y=3D"N" Column (x) and row (y) placement of FreeBSD" mascot placed to the right of the dynamic menu. Defaults are 46 (x) and 4 (y). loader_brand=3D"..." Selects the BSD brand to display. Valid values are "fbsd" (displays "FreeBSD") and "dbsd" (displays "DruidBSD"). An invalid value (such as "none") will disable the display of any brand. The brand is displayed above the dynamic menu. The default is "fbsd". loader_brand_x=3D"N" loader_brand_y=3D"N" Column (x) and row (y) placement of the brand text ("FreeBSD") placed above the dynamic menu. Defaults are 2 (x) and 1 (y). loader_password=3D"..." Sets a password (up to 16 characters long) that is required to be entered before the system is allowed to boot. Default is to not ask for a password if unset or NULL. loader_version=3D"..." Overrides the display of the loader's built-in version. Displays the text at the bottom-right edge of the screen (underneath beastie). The version text is right-justified when displayed. The current default is to not display any text. However, as-of RELENG_9, there may be plans to modify loader(8) to export this variable for display during the boot process, displaying the version of boot-loader for trouble-shooting purposes. loader_version_x=3D"N" loader_version_y=3D"N" Column (x) and row (y) placement of the loader's built-in version at the bottom-right edge of the screen. Defaults are 80 (x) and 24 (y). The version text is right-justified with the text ending at (x,y). loader_delay=3D"N" By default, loader_menu introduces a 2-second delay before launching the menu for improved debugging abilities. This option customizes the duration (setting it to zero disables the delay). However, it is worth noting that pressing ENTER anytime during the delay will preempt the duration, launching the menu immediately upon keypress. During this delay, a string of dots is displayed. The user can press Ctrl-C or Esc on the keyboard to prevent the loading of the dynamic menu system. After pressing either of these keys, the loader will drop to the usual autoboot sequence (counting down autoboot_delay seconds until booting the loaded kernel). During the autoboot sequence, any key pressed except for ENTER will allow escaping to the loader prompt. WWW: http://druidbsd.sourceforge.net/ --=20 Cheers, Devin Teske -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.12 GAT/CS/B/CC/E/IT/MC/M/MU/P/S/TW d+(++) s: a- C+++@$ UB++++$ P++++@$ L++++$ = E- W+++ N? o? K? w@ O M++$ V- PS+>++ PE@ Y+ PGP-> t(+) 5? X(+) R(-) tv+ b+>++ = DI+ D+(++) G++ e>++++ h r+++ z+++ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6955841F-C3C1-4C7D-8BA4-F8EBBF60F69B>