![]() |
|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Not sure how to create Grub menuentry for it. Is there anyone here used to dual boot UEFI OpenBSD with Linux?
|
|
|||
![]()
I end up using efibootmgr to generate bootloader for it. This is the command I use
Code:
efibootmgr -c -p 1 -d /dev/nvme0n1p4 -L OpenBSD -l /EFI/Boot/bootx64.efi |
|
|||
![]() Quote:
however, it's recommended to have also the bsd.rd within the 40_custom of grub. Unfortunately, I dont have it on my laptop right now (bios, like others), but I did it on several efi laptops. |
|
|||
![]()
As a caution, Redhat based distributions use /boot/efi/BOOTX64.EFI as their default location. This is also the default for OpenBSD and will result in Grub booting OpenBSD instead of Centos/RHEL/etc....
If you move OpenBSD location, as suggested in this thread, it will function but there will be an error generating the sha256 sum for the unique kernel. OpenBSD looks for /boot/efi/BOOTX64.EFI to update the sha256 sum and will fail if it is in a different location. OpenBSD will still run but not have a unique kernel with every boot. Debian based derivatives and Arch Linux do not have this problem and the unique kernel checksum will work if you use /boot/efi/BOOTX64.EFI. Last edited by shep; 21st October 2022 at 12:53 AM. |
|
||||
![]() Quote:
Debian will overwrite bootx64.efi if the "force installation to removable loader location" (force_efi_extra_removable) debconf option for GRUB is used. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DUAL BOOT OPENBSD WINDOWS 11 | vdavi81 | OpenBSD Installation and Upgrading | 12 | 14th September 2022 12:25 PM |
Can not Boot FreeBSD NetBSD in Bare Metal, UEFI | czachstd | NetBSD Installation and Upgrading | 5 | 28th July 2020 03:24 AM |
FreeBSD 11.1 amd64 UEFI boot from ZFS mirror | hanzer | FreeBSD Installation and Upgrading | 5 | 20th October 2017 10:53 PM |
Invalid Signature when trying to boot Ubuntu 14.04 (Dual Boot) | bsd007 | FreeBSD General | 7 | 18th September 2014 12:37 PM |
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 | kbeaucha | OpenBSD Installation and Upgrading | 17 | 30th May 2008 02:40 PM |