11.2 series won't boot after install or upgrade

ikke

Contributor
Joined
Apr 22, 2012
Messages
124
I peeked into installer code. The bootloader seems to get installed here:

https://github.com/freenas/freenas/...f87/src/freenas-installer/etc/install.sh#L393
https://github.com/freenas/freenas/...f87/src/freenas-installer/etc/install.sh#L483

That would be the first place I'd try modifying. E.g. it uses partition type freebsd-boot, which would be interesting to change to something more traditional. Could it be old BIOSes don't recognise that? This is hugely guessing, but I'd start from there, tweaking options. That's easy place to try, as those are shell scripts. So you don't need to build anything, just modify the installer USB stick.

At least I have troubles seeing USB stick in BIOS. I don't remember if it was UEFI or legacy mode, the stick didn't appear in selection list for bootable devices. Could be the partition types is causing that issue.

Gpart manual is here: https://www.unix.com/man-page/FreeBSD/8/GPART/
 
Joined
Apr 23, 2017
Messages
30
@Michael Armstrong, I'm afraid you are confusing two things here:

1. FreeNAS not booting from boot USB after install is done
2. FreeNAS installer media USB stick not booting

My issue is 1. It has nothing to do with RUFUS or what ever tools to write USB sticks with in order to make install media, or broken USB sticks. My install media works 100% of the time, as I do byte by byte copy using dd -command.

This issue is about FreeBSD boot loader not being able to boot once installed and doing the real boot of installed system. There seems to be bugs reported about this with other aged hardware. Like this: https://redmine.ixsystems.com/issues/65517 and this: https://redmine.ixsystems.com/issues/52647
My issue is (2). I've avoided the issue altogether by writing a CD instead of a USB stick.
 
Joined
Feb 23, 2018
Messages
17
Same happening with me, upgraded my freenas from 11.1 u7 to 11.2 u5 but wont boot and gives the following error. Tried fresh install as well but still same.
IMG_20190823_094030__01.jpg
 
Last edited:
Top