Dear Forum
Not having found any helpful information on the internet (and beeing quite new to FreeBSD, so maybe I haven’t looked for the relevant terms), I would like to ask you for some advice. I’m installing FreeBSD 10.3-Release on an HP ProLiant Gen8 Microserver, a system with four drive bays plus one ODD SATA channel. I intend to run the OS from a ZFS pool on an SSD attached to this ODD SATA port.
Due to some HP specific limitations, I run into problems with this setup: the microserver is equipped with an onboard HP Dynamic Smart Array B120i RAID-Controller I can turn on or off in BIOS. When turned off, i.e. in AHCI mode, the system will not boot any OS from the ODD SATA Port, while when turned on, FreeBSD will not boot correctly from the SSD (unlike e.g. Debian) but produce a BTX loader error and halt as described in Thread 46457. A system with the B120i controller turned off will boot an attached USB flash drive, though; but for reliability reasons I don’t want to run the OS off such hardware.
The workaround for this situation is to turn off the B120i controller, to install a separate bootloader on a USB flash drive connected to the server’s motherboard and to have this bootloader point to the OS on the SSD. I’ve found articles and instructions on how to achieve this for several OS’s, but not for FreeBSD. The closest I’ve found may be this answer on stackexchange, covering the solution for Solaris. Still I don't know how to translate this answer to FreeBSD. So my questions are:
Any input is appreciated very much. Thank you in advance.
stoe
Not having found any helpful information on the internet (and beeing quite new to FreeBSD, so maybe I haven’t looked for the relevant terms), I would like to ask you for some advice. I’m installing FreeBSD 10.3-Release on an HP ProLiant Gen8 Microserver, a system with four drive bays plus one ODD SATA channel. I intend to run the OS from a ZFS pool on an SSD attached to this ODD SATA port.
Due to some HP specific limitations, I run into problems with this setup: the microserver is equipped with an onboard HP Dynamic Smart Array B120i RAID-Controller I can turn on or off in BIOS. When turned off, i.e. in AHCI mode, the system will not boot any OS from the ODD SATA Port, while when turned on, FreeBSD will not boot correctly from the SSD (unlike e.g. Debian) but produce a BTX loader error and halt as described in Thread 46457. A system with the B120i controller turned off will boot an attached USB flash drive, though; but for reliability reasons I don’t want to run the OS off such hardware.
The workaround for this situation is to turn off the B120i controller, to install a separate bootloader on a USB flash drive connected to the server’s motherboard and to have this bootloader point to the OS on the SSD. I’ve found articles and instructions on how to achieve this for several OS’s, but not for FreeBSD. The closest I’ve found may be this answer on stackexchange, covering the solution for Solaris. Still I don't know how to translate this answer to FreeBSD. So my questions are:
- Has anyone of you successfully set up an HP Gen8 Microserver to boot FreeBSD off the ODD SATA port and if so, may I ask how you did this?
- Alternatively, how would I install a correctly configured bootloader on a USB drive? Would I have to install a full base system on this drive (i.e. clone of the actual OS installation) or just the required boot code?
Any input is appreciated very much. Thank you in advance.
stoe