> From: Daniel Pocock <dan...@pocock.pro> > Date: Fri, 11 Sep 2020 20:18:57 +0200 > > I had another go at this today > > I used the latest snapshot, 6 September: > > sha256sum install68.iso > aa7b5270506dcccd80045dae22fb8a6aeb4c892d71f74c6e27175d30295f9b17 > > I removed the LSI HBA and I put a blank SSD into a Sharkoon USB 3 dock. > > The installer was able to install into the docked SSD > > When the machine rebooted, the Talos II bootloader, petitboot, did not > display OpenBSD in the list of boot options > > I exited the menu to check the petitboot shell and using fdisk, I can > see that the petitboot kernel has found the USB dock. It seems that the > petitboot menu system isn't recognizing the OpenBSD partition. Can > anybody make any suggestion how to troubleshoot or how to select the > partition and make it boot? > > > # fdisk /dev/sda > > The number of cylinders for this disk is set to 21889. > There is nothing wrong with that, but this is larger than 1024, > and could in certain setups cause problems with: > 1) software that runs at boot time (e.g., old versions of LILO) > 2) booting and partitioning software from other OSs > (e.g., DOS FDISK, OS/2 FDISK) > > Command (m for help): p > Disk /dev/sda: 168 GB, 180045766656 bytes, 351651888 sectors > 21889 cylinders, 255 heads, 63 sectors/track > Units: sectors of 1 * 512 = 512 bytes > > Device Boot StartCHS EndCHS StartLBA EndLBA Sectors > Size Id Type > /dev/sda4 * 1,5,5 1023,254,63 16384 351646784 351630401 > 167G a6 OpenBSD
The Petitboot Linux kernel doesn't understand the OpenBSD's disklabel. So what the installer does (if you select "(W)hole disk") is create a 0C FAT partition and an A6 OpenBSD partition. The FAT partition is used to store the OpenBSD bootloader and a GRUB-style menu.cfg that tells Petitboot that there is a bootable OS on the disk. I don't see the FAT partition in your fdisk output, which makes me suspect that you follwed the "(E)dit MBR" path instead. In that case your on your own and if you don't create a FAT partition the disk will not be recognized by Petitboot. Cheers, Mark