On Sat, Sep 19, 2026 at 05:04:09PM -0600, Duke Normandin wrote:
> OpenBSD noob here. Successfully installed the latest version of OpenBSD. 
> Here's
> an overview of my setup:
> 
> sd0 => antiX Linux & GRUB2
> sd2 => openBSD
> 
> On the first reboot after installation, I went into the BIOS first and 
> selected
> "sd2" to boot from.
> Got to the boot prompt, but it simply chokes and repeats the boot process. It
> seems that it's not detecting "sd2".

>From the bootloader you can use the 'machine diskinfo' command to list the
disks that are recognised, (by the bios).

This will list the device name, (that the bootloader uses, not the same as
what the running kernel will see it as), and the size of the disk, (and other
information).

Unless you have two identical disks, it should be obvious from the size field
which device name corresponds to the disk that you installed OpenBSD on.

Then you should be able to boot the installed kernel with:

boot hd8a:/bsd

where '8' is replaced with whatever the correct number is.

If this does not boot the kernel, then you can find out more information by
doing:

boot hd8a:/bsd.rd

If this boots into the installer then your installation was partially
successful but for some reason did not write the kernel at the expected
location in the filesystem.  The easiest solution here would be to re-install
rather than try to work out what happened.

As a side note, if you installed to an encrypted volume, (I.E. when the
installer asked, 'Encrypt the root disk with a passphrase or keydisk', you
selected anything other than 'no'), then your system would need to boot from
an 'sr' device rather than 'hd'.

There are a few failure modes that can cause the bootloader to be configured
incorrectly and instead of trying the correct, (usually sr0a), device, hit
hd0a instead.

On a running system, this can be corrected by booting by some other means and
running installboot with the correct parameters, but if this is a fresh
install and you are not familiar with OpenBSD then re-installing from scratch
is probably easier.

Reply via email to