DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 4th March 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 476
Default

Quote:
Originally Posted by shep View Post
I renamed BOOTX64.EFI from OpenBSD to BSD_BOOTX64.EFI and copied it over to Debian /boot/efi/.
You can keep OpenBSD's BOOTX64.EFI loader in the original location and use this instead:
Code:
menuentry 'OpenBSD' {
   set root='hd0,gpt1'
   chainloader EFI/BOOT/BOOTX64.EFI
}
^ If that is saved as /boot/grub/custom.cfg then there is no need to run `update-grub` afterwards, it will be sourced automatically by Debian's standard grub.cfg

The only caveat here is that some defective UEFI implementations will boot $ESP/EFI/BOOT/BOOTX64.EFI automatically even if Debian's GRUB creates NVRAM entries instructing the motherboard to do otherwise, in that case moving BOOTX64.EFI will be necessary to load GRUB's menu.

I find the insmod commands unnecessary, GRUB loads the modules automatically.

Note that OpenBSD will default to a UEFI installation if a GPT disk is used and will install a non-UEFI system to an msdos disk.
__________________
Destruam et ædificabo
Reply With Quote
Old 4th March 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,515
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
The only caveat here is that some defective UEFI implementations will boot $ESP/EFI/BOOT/BOOTX64.EFI automatically even if Debian's GRUB creates NVRAM entries instructing the motherboard to do otherwise, in that case moving BOOTX64.EFI will be necessary to load GRUB's menu.
On my install Debian produced a $ESP/EFI/BOOT/bootx64.efi. I had read that EFI partitions were msdos and I was concerned that bootx64.efi would not be distinguished from BOOTX64.EFI. Hence I renamed it and placed it in a location specified in 40_custom. This was in part based on a post in the OpenBSD mailing list where BOOTX64.EFI was renamed.

Debian 10 is rolling out a secure boot that needs the linux boot kernel placed in /boot. I have not ventured into this as far as secure Dual booting with OpenBSD.

https://wiki.debian.org/SecureBoot

https://wiki.debian.org/SecureBoot/Discussion
Reply With Quote
Old 4th March 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 476
Default

Quote:
Originally Posted by shep View Post
On my install Debian produced a $ESP/EFI/BOOT/bootx64.efi
Ah, I see. I haven't installed Debian on a UEFI computer since stretch, I think that used $ESP/grub/debian/grubx64.efi and made an NVRAM entry to set that as the loader.

I will have to try the buster installer on a UEFI laptop.

Quote:
I had read that EFI partitions were msdos and I was concerned that bootx64.efi would not be distinguished from BOOTX64.EFI.
The FAT filesystem is case-insensitive but because the names are longer than 8 characters they should have an LFN extension which will distinguish between the two.
__________________
Destruam et ædificabo
Reply With Quote
Old 5th March 2019
hrsetrdr's Avatar
hrsetrdr hrsetrdr is offline
Port Guard
 
Join Date: Jul 2008
Posts: 25
Default

Quote:
Originally Posted by shep View Post
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
Thanks, good to know. MBR will be the route I'll be going with this particular machine(AMD Phenom II x4 965).
__________________
Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |OpenBSD 6.4
Endeavoring to resolve my Linux dependancies.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft has released a Debian Linux switch OS. Repeat, a Debian Linux switch OS J65nko News 9 12th March 2016 11:58 PM
GAG as a multiboot manager? blackhole OpenBSD Packages and Ports 9 23rd December 2014 09:42 PM
Misc. BSD/UNIX Debian Forked Over Systemd J65nko News 10 30th November 2014 12:39 AM
Debian + FreeBSD bsdperson Other BSD and UNIX/UNIX-like 20 22nd August 2011 06:41 PM
Debian 5.0 released ephemera Other BSD and UNIX/UNIX-like 36 26th November 2010 04:50 PM


All times are GMT. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick