[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:53 UTC 2017


--- 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

And then they have the msdos filesystem holding the kernel mounted as

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 the assignee for the bug.

More information about the freebsd-bugs mailing list