View Single Post
Old 4th March 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

Quote:
Originally Posted by hrsetrdr View Post
I am planning this very same type install, just wondering if this thread is still relevant for a Debian + OBSD 6.4?
This is still relevant for MBR bootloaders. In the interim GPT/UEFI bootloading has become a newer option for supported hardware. I'm presently running Debian 10(Buster) and OpenBSD 6.4 with a GPT bootloader and this entry in Debian /etc/grub.d/40_custom

Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry 'OpenBSD' {
         insmod part_gpt
         insmod search_fs_uuid
         insmod chain
         chainloader (hd0,gpt1)/BSD_BOOTX64.EFI
}
I renamed BOOTX64.EFI from OpenBSD to BSD_BOOTX64.EFI and copied it over to Debian /boot/efi/.

You can source BOOTX64.EFI from this howto:

https://blog.jasper.la/openbsd-uefi-...der-howto.html

Remember to create a new /boot/grub/grub.cfg file with the root command: update-grub.

Last edited by shep; 4th March 2019 at 12:11 AM.
Reply With Quote