Re: Selecting the scheduler from boot menu
- Reply: Milan Obuch : "Re: Selecting the scheduler from boot menu"
- In reply to: Milan Obuch : "Re: Selecting the scheduler from boot menu"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 20:44:07 UTC
On 1/31/26 12:35, Milan Obuch wrote: > On Sat, 31 Jan 2026 12:21:59 -0800 > Steve Kargl <kargls@comcast.net> wrote: > >> All, >> >> Is it possible modify the boot menu to select 4BSD or ULE >> during the boot process? I've looked at the code in >> src/stand/forth, but unfortunately the language is foreign >> to me. Currently, one boots into FreeBSD, checks the >> kern.sched.name, and then may need to edit /boot/loader.conf >> to change to the other scheduler, and then reboot. >> > > Which version are you working on? I think something recent, maybe > 16-CURRENT. Loader was rewritten in lua some time ago. I'm looking at src/stand/forth, particular, menu-commands.4th. If the boot menu is written in lua, it's still a foreign language to me. So, I would need some guidance on how to hack the menu up. Yes, it is a convenience to have menu item. Dropping to the loader prompt is possible. Taking it to a logical extreme, let's retire the menu because everything can be set at the loader prompt. -- steve