On 2016-07-11 10:43, Philip Guenther wrote:
On Sun, Jul 10, 2016 at 7:32 PM, Tinker <ti...@openmailbox.org> wrote:
On 2016-07-11 04:18, Nick Holland wrote:
On 07/10/16 21:48, Tinker wrote:
What is a recommended way to ensure that the MP kernel is installed
really, "cp /bsd.mp /bsd; reboot" because the bootloader always
loads
the "/bsd" file?
and when you build a kernel from source, it is always named "bsd".
I use the precompiled one, at least for now.
So do what the installer does. <pause> You *do* run the installer,
yes? If not, try it before you reinvent the wheel.
Sorry -
Where on http://cvsweb.openbsd.org/cgi-bin/cvsweb/ is the installer's
/install.sh's sourcecode?
(It's not easily extractible from
http://piotrkosoft.net/pub/OpenBSD/5.8/amd64/install58.fs .)
http://piotrkosoft.net/pub/OpenBSD/5.8/amd64/INSTALL.amd64 says
"On multiprocessor systems, if the bsd.mp kernel has been installed,
it will be renamed to `bsd', which is the default kernel the boot
blocks look for. The single processor kernel, `bsd', will be
available as `bsd.sp'."
making me think that if the machine the installer is run on is detected
as being MP, then bsd.mp will be used as /bsd file.
Which I don't want, because I could install on a single-core machine and
use a multi-core machine (as I said).
This is what I got on a default install,
$ ls -l /bsd*
-rw-r--r-- 1 root wheel 9975220 Nov 18 2015 /bsd
-rw-r--r-- 1 root wheel 10019975 Nov 18 2015 /bsd.mp
-rw-r--r-- 1 root wheel 7642500 Nov 18 2015 /bsd.rd
seems to show that.. the single-core kernel was deployed by the
installer?
Thanks