Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 13:34:41 +0200
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   Linking STAGE 2 boot, directly to the kernel (skipping loader)
Message-ID:  <20110525.113441.625.1@DEV>

next in thread | raw e-mail | index | archive | help

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ć



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110525.113441.625.1>