DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th June 2022
hd77 hd77 is offline
Shell Scout
 
Join Date: Jan 2022
Posts: 97
Default openbsd, triboot with win/nux : how to grub?

hi guys,

thanks to https://bsdlaptops.wordpress.com/ I was able to enable openbsd boot to efi/gpt environnment managed by grub2 with windows/LMDE5 by adding :
menuentry 'OpenBSD/amd64 normal kernel' {
insmod part_gpt
insmod search_fs_uuid
insmod chain
chainloader (hd0,gpt1)/EFI/Boot2/BSD.BOOTX64.EFI
}
menuentry 'OpenBSD/amd64 ramdisk kernel' --class os {
set root='(hd0,gpt1)'
kopenbsd /bsd.rd
}

to my 40_custom
(with a "toggled" command part to "openbsd data" of the fdisk linux tool, as described:
https://srobb.net/openbsdmultiboot.html )

(obviously you have to add bsd.rd plus bootx64.efi downloaded separately from obsd website to your efi partition with right grub path targeted on them )

This is efficient for gpt disks compliant to full-efi class 3 systems (means no csm, no bios at all)

now, Im looking to do so with mbr/bios disk, as a tri win/nux/obsd boot, does someone have the key to do so?

I thank you vm
Reply With Quote
  #2   (View Single Post)  
Old 12th June 2022
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: 461
Default

GRUB should be able to chainload both the OpenBSD and Windows partitions:
Code:
menuentry 'example' {
   search.fs_uuid $uuid
   chainloader +1
}
Replace $uuid with the actual UUID of the partitions containing OpenBSD & Windows.
__________________
Are you infected with Wetiko?
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
Grub and NetBSD XeBuZer0 NetBSD General 4 11th June 2014 08:54 PM
Grub Secure Boot shep News 0 2nd December 2012 02:01 AM
Booting install.iso from grub. tls OpenBSD Installation and Upgrading 6 5th April 2012 12:12 PM
grub on obsd dennky OpenBSD Packages and Ports 9 14th January 2010 08:21 PM
Having trouble adding 7.0 to GRUB 0.97 Arenlor FreeBSD General 4 26th June 2008 01:02 AM


All times are GMT. The time now is 12:43 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