Friday, April 17, 2026

Re: Booting OpenBSD from M2 nvme drive

Heppler, J. Scott wrote: > I was trying to work around the unfriendly bios with a GRUB menuentry > that boots the M2 drive. I ran into the problem with accessing > /etc/random.seed on hd0a. I did try to dd if=/dev/random to > /etc/random.seed on the HD without success. GRUB is a Rube Goldberg machine. I would not use it to boot OpenBSD. I suspect it could keep bsd.rd or sysupgrade from working properly. I have a similar issue with a Linux machine. The fix is to locate *both* the bootloader and kernel on a device the BIOS (and bootloader) can read before the kernel is fully initialized. Put everything else on the SSD. In Linux this would be /boot. Under OpenBSD, this means /. Fortunately / can be very small on OpenBSD. 512MB is more than enough. Regards Lloyd

No comments:

Post a Comment