DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st June 2017
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default Multibooting

I am interested in multibooting Ubuntu and OpenBSD. I did read the section on the faq, but I was really interested in, was finding out if it's possible to use full disk encryption with two operating systems installed, or at least have them both installations encrypted separately?

thanks
Reply With Quote
  #2   (View Single Post)  
Old 1st June 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

They use different, non-compatible encryption systems. Treat each OS and its MBR/GPT partitions as separate entities.
  • You will make mistakes. Data will be lost. So practice using spare equipment. Do NOT use any production system as your test bed.
  • Back up your production systems before beginning your multiboot transition. Yes, you will have already practiced on spare equipment, but you may still make a mistake resulting in data loss.
Using multiple drives will be a superior solution.
Reply With Quote
  #3   (View Single Post)  
Old 1st June 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

Oh, , and if the system cannot boot using MBR and must use EFI with GPT partitions, be aware that OpenBSD does not support "multiboot" with GPT at this time.
Reply With Quote
  #4   (View Single Post)  
Old 2nd June 2017
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,065
Default

It is possible to dual boot an OpenBSD gpt partition but you need to use a 3rd party bootloader.

The links below are not officially supported, proceed at your own risk.

https://eerielinux.wordpress.com/201...-about-gptefi/

https://wiki.debian.org/GrubEFIReinstall

https://packages.debian.org/sid/admin/refind
Reply With Quote
  #5   (View Single Post)  
Old 2nd June 2017
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Mostly Harmless
 
Join Date: Dec 2015
Location: London
Posts: 75
Default

I have had success multibooting OpenBSD on a GPT disk in UEFI mode.

The OpenBSD installer copies their UEFI bootloader from /usr/mdec/bootx64.efi (bootia32.efi for 32-bit systems) to the /EFI/BOOT/ directory on the EFI system partition.

To start the OpenBSD bootloader, I used systemd-boot with this configuration:
Code:
# $ESP/loader/entries/openbsd.conf

title OpenBSD
efi /EFI/BOOT/BOOTX64.EFI
I don't think I tried it with GRUB but this may work:
Code:
menuentry 'OpenBSD' {
    set root=(hd0,4)
    chainloader /EFI/BOOT/BOOTX64.EFI
}
EDIT: the "root" in the above example would be the EFI system partition.

Last edited by Head_on_a_Stick; 2nd June 2017 at 01:50 AM. Reason: idem
Reply With Quote
  #6   (View Single Post)  
Old 2nd June 2017
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,065
Default

@Head_on_a_Stick.

Could you share your partition scheme? I'm mainly interested in Debian 9/OpenBSD using Debian's Grub2.
Reply With Quote
  #7   (View Single Post)  
Old 2nd June 2017
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 536
Default

If using mbr, it's really easy.

http://srobb.net/openbsdmultiboot.html
Reply With Quote
  #8   (View Single Post)  
Old 2nd June 2017
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Mostly Harmless
 
Join Date: Dec 2015
Location: London
Posts: 75
Default

Quote:
Originally Posted by shep View Post
@Head_on_a_Stick.

Could you share your partition scheme?
I don't actually have that system any more but it was fairly simple: a 512MiB EFI system partition (type "ef00" in gdisk, FAT32-formatted), a standard GNU/Linux partition (type "8300", btrfs) and an OpenBSD disklabel ("a600").

The OpenBSD installer used the pre-existing ESP as /dev/sd0i

Last edited by Head_on_a_Stick; 3rd June 2017 at 03:16 AM. Reason: corrected GNU/Linux partition code (8200 is for swap).
Reply With Quote
  #9   (View Single Post)  
Old 3rd June 2017
beiroot beiroot is offline
Fdisk Soldier
 
Join Date: Sep 2016
Posts: 65
Default

any ideas about OpenBSD + Windows FDE while using Windows boot manager?
first softraid crypto for OpenBSD and veracrypt for windows?
Reply With Quote
Old 3rd June 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

Was I unclear?
Quote:
Originally Posted by jggimi View Post
They use different, non-compatible encryption systems. Treat each OS and its MBR/GPT partitions as separate entities.
Reply With Quote
Old 7th June 2017
beiroot beiroot is offline
Fdisk Soldier
 
Join Date: Sep 2016
Posts: 65
Default

The initial question was about Ubuntu, so that's why I asked.
Reply With Quote
Old 8th June 2017
hitest's Avatar
hitest hitest is offline
Real Name: George Nielsen
Package Pilot
 
Join Date: Sep 2008
Location: B.C., Canada
Posts: 189
Default

I currently dual boot Slackware64-current and OpenBSD 6.1. Lilo is installed to the MBR. I put the following addition at the tail end of /etc/lilo.conf. This assumes that swap is sda1, / is sda2, /home is /dev/sda3, and OpenBSD is on /dev/sda4.

other = /dev/sda4
label = OpenBSD
table = /dev/sda
__________________
hitest
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
multibooting versus virtualization? raindog308 General software and network 16 22nd December 2014 12:10 AM
multibooting OpenBSD 4.4 through Vista's boot manager ocicat Guides 12 8th June 2010 04:28 PM
MultiBooting OpenBSD. bsdnewbie999 OpenBSD Installation and Upgrading 13 26th October 2008 12:00 PM


All times are GMT. The time now is 11:08 PM.


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