[Bug 221550] kern.bootfile returns only /kernel on mips64 (ERL) platform
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 13 21:47:54 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221550
--- Comment #1 from Kurt Lidl <lidl at 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=fatload usb 0 $loadaddr kernel/kernel ; bootoctlinux $loadaddr
coremask=0x3
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=/boot/kernel/kernel' >> /etc/sysctl.conf
sysctl kern.bootfile=/boot/kernel/kernel
And then 'make installkernel' will do the right thing...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-mips
mailing list