Page MenuHomeFreeBSD

kboot: Probe all disks and partitions for a kernel
ClosedPublic

Authored by imp on Feb 1 2023, 6:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 4:34 AM
Unknown Object (File)
Fri, Oct 10, 9:22 PM
Unknown Object (File)
Mon, Sep 29, 6:40 PM
Unknown Object (File)
Sat, Sep 20, 7:57 PM
Unknown Object (File)
Fri, Sep 19, 12:35 AM
Unknown Object (File)
Sep 16 2025, 6:17 PM
Unknown Object (File)
Sep 13 2025, 2:57 PM
Unknown Object (File)
Sep 13 2025, 12:50 PM
Subscribers

Details

Summary

Guess where to boot from when bootdev= isn't on the command line or
other config. Search all the disks and partitions for one that looks
like it could be a boot partition (same as we do when probing
zpools). Return the first one we find.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable