Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 21:47:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221550] kern.bootfile returns only /kernel on mips64 (ERL) platform
Message-ID:  <bug-221550-8-uGLdR1UPqK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221550-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221550-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221550

--- Comment #1 from Kurt Lidl <lidl@FreeBSD.org> ---
It's probably obvious, but I'll post a workaround here too -
since the edgerouter pretty much always boots the same
kernel file...

Most people setup the boot command to do something like this:

boot_freebsd=3Dfatload usb 0 $loadaddr kernel/kernel ; bootoctlinux $loadad=
dr
coremask=3D0x3

And then they have the msdos filesystem holding the kernel mounted as
/boot:

The right thing for kern.bootfile ought to be set to
/boot/kernel/kernel, so just do the following:

echo 'kern.bootfile=3D/boot/kernel/kernel' >> /etc/sysctl.conf
sysctl kern.bootfile=3D/boot/kernel/kernel

And then 'make installkernel' will do the right thing...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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