Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

config(8) is a utility that has two purposes, the first is to turn a kernel configuration file (GENRIC/GENRIC.MP) into a build directory for compiling, second to modify a resulting ELF kernel binary using an interface similar to the boot time kernel configuration prompt UKC>

For example, when booting OpenBSD you can type boot -c in the bootloader to enter the UKC> prompt to disable integrated drivers from attaching, i.e:

ukc> disable acpibat

ukc> quit

..continues booting the kernel, but this doesn't work with USB keyboards as there is no USB stack before the kernel is even loaded, this works better with PS/2 keyboards and serial consoles.

You can also boot the same USB flash drive on another computer, run the config utility against an OpenBSD kernel, repeat the same UKC commands, and save a modified kernel with those changes so that a boot can proceed on the HP Stream 7.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: