Hey everyone.
(First off: I'm a newcomer to both BSD and this forum, so I apologize in advance if I posted in the wrong place or if the solution is embarrassingly obvious.)
What's the right way™ to boot NetBSD from a different physical drive than the one it's installed on?
I'm planning to run NetBSD on an HP Microserver (Gen 8), which has quirky booting behavior.
Without going into too much gory detail, the problem is that the server's only SATA port is not recognized by the BIOS unless all other drives are unplugged, or unless hardware RAID is enabled. (And neither is an option for me.)
What does always work though is booting from any of the USB ports or the internal card reader, so until now (with Linux) I simply threw /boot/
and GRUB onto a microSD and called it a day.
I tried to replicate that kind of setup with NetBSD, but for the life of me can't get it to work.
Tried fiddling around with installboot
, fdisk
, and disklabel
for hours on end, but it seems like I'm either missing something in the manpages or generally misunderstand how the boot process works in NetBSD.
First off, none of the tools seem to toggle the MBR boot flag, which causes my buggy BIOS to completely ignore the device at startup. Secondly, when I "manually" toggle that flag the bootloader does launch, but instantly exits, claiming that the /boot
file can't be found (despite the file being there on both the microSD and the HDD).
This was the case with both FFS w. bootxx_ffsv2
and FAT32 w. bootxx_msdos
.
Any kind of hints/pointers are appreciated 👀
Thanks