|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
This has always bothered me that I did not get to a conclusion but I think this was not actually a bug.
I noticed that some Linux (Fedora, RHEL, Centos, Rocky) systems use /boot/efi/BOOT/BOOTX64.EFI which is exactly where OpenBSD puts its BOOTX64.EFI. If you install one of the conflicting linux systems followed by a GPT/EFI OpenBSD install, OpenBSD overwrites the Linux BOOTX64.EFI and the Grub Linux boot option will boot OpenBSD. For that reason, I would rename OpenBSD BOOTX64.EFI to BSD_BOOTX64.EFI. Re-linking in OpenBSD would subsequently fail. Debian, and it's derivatives do not use the same location and if the OpenBSD BOOTX64.EFI file is not renamed, there are no kernel re-linking errors. Two thoughts on fixing. Upstream i could make this a configurable option in the re-linking code or if the BSD's rename their *.EFI's to something like NBSD_BOOTX64.EFI, OBSD_BOOTX64.EFI and FBSD_BOOTX64.EFI. |
|
||||
While I've not used one of the "conflicting" Linuxes, or grub ... just a thought:
Maybe you could move their EFI boot stuff into a different directory, and tell the UEFI firmware where to find it with the Linux efibootmgr program? |
|
|||
Quote:
https://ackstorm.de/posts/uefi-openb...dual-boot.html I think this 2016 guide was before OpenBSD implemented kernel re-linking. My system still functioned but without the security of a re-linked kernel I suspect it was because the OpenBSD re-linking code was looking for /boot/efi/BOOTX64.EFI. It the file was renamed/relocated, it would not be found. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
segmentation fault | daemonfowl | OpenBSD General | 14 | 21st September 2012 01:39 PM |
a segmentation fault line | daemonfowl | OpenBSD General | 3 | 16th June 2012 08:13 PM |
Segmentation fault error139 | delboy | FreeBSD Ports and Packages | 8 | 9th July 2009 06:32 PM |
Segmentation fault (11) - Apache | ijk | FreeBSD Ports and Packages | 16 | 15th July 2008 11:04 AM |
Segmentation fault | ccc | FreeBSD General | 8 | 28th June 2008 02:15 PM |