Linking STAGE 2 boot, directly to the kernel (skipping loader)

rank1seeker at gmail.com rank1seeker at gmail.com
Wed May 25 11:57:19 UTC 2011


After I do it via /boot.config, it fails, with an error: "Invalid format", in cases when:

a) kernel is gzip-ed
b) kernel has statically compiled md root, which was gzip-ed, before being embedded into kernel
c) kernel has statically compiled md root, which was uzip-ed, before being embedded into kernel
d) kernel has statically compiled md root, which wasn't compress-ed, before being embedded into kernel

It works, only with regular kernel.

Is this a bug or what?
I suspect size of a kernel, confuses STAGE 2 boot, in non-a) cases.


Domagoj Smolčić


More information about the freebsd-hackers mailing list