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 9th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 97
Default Dual boot on laptop with two hard drives

Greetings all,

per another thread, a laptop - Lenovo w540, with two video-cards should work with Open BSD. As also mentioned therein, I need Windows for applications that do not have an Open BSD counterpart, thus a dual boot, if possible, would be desirable, unless it is overly complicated and fragile, [I]e.g.[/I,] failing upon upgrade of either OS.

The laptop has two hard-drives, which would ideally allow installation of each of the OSs on its own drive.

The UEFI BIOS has an option to select one of the hard-drives. Although this appears to be an option, it would require to interrupt the boot, make the change and restart. Thus, I was wondering whether there would possible to have such an option to appear during the boot.

The other (potential) problem is, that as I vaguely remember, the Windows install did not offer the option on which hard-drive to install the OS.

Any help would be appreciated.

Kindest regards,

M
Reply With Quote
  #2   (View Single Post)  
Old 9th January 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,989
Default

I have a laptop with two drives: both EFI. One with OpenBSD installed, the other with Win10. Each drive uses its own bootloader. By default, it will boot OpenBSD from power-on. If I want to boot Win10, I use a BIOS function key during power on self-test to bring up a boot selection screen, where I select the Win10 drive.


To ensure Win10 installed where I wanted it to go, the OpenBSD drive was made unavailable. I cannot recall if I used a BIOS setting to disable the drive or physically disconnected it.
Reply With Quote
  #3   (View Single Post)  
Old 10th January 2024
hd77 hd77 is offline
Shell Scout
 
Join Date: Jan 2022
Posts: 104
Default

Quote:
Originally Posted by mefisto View Post
Greetings all,

per another thread, a laptop - Lenovo w540, with two video-cards should work with Open BSD. As also mentioned therein, I need Windows for applications that do not have an Open BSD counterpart, thus a dual boot, if possible, would be desirable, unless it is overly complicated and fragile, [I]e.g.[/I,] failing upon upgrade of either OS.

The laptop has two hard-drives, which would ideally allow installation of each of the OSs on its own drive.

The UEFI BIOS has an option to select one of the hard-drives. Although this appears to be an option, it would require to interrupt the boot, make the change and restart. Thus, I was wondering whether there would possible to have such an option to appear during the boot.

The other (potential) problem is, that as I vaguely remember, the Windows install did not offer the option on which hard-drive to install the OS.

Any help would be appreciated.

Kindest regards,

M
greettings,

as i did multiboot on several laptops, the linux grub's helped me a lot, it's the first one to get the bios/efi booted in, thus it permits to choose windows, linux, bsd or others unixies..
i multiboot always with grub. efi, or bios.
Reply With Quote
  #4   (View Single Post)  
Old 10th January 2024
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: 467
Default

The FAQ has instructions for creating a Windows boot menu entry for OpenBSD:

https://www.openbsd.org/faq/faq4.html#Multibooting

I think that might be for non-UEFI systems but it's worth a try.

OpenBSD uses /EFI/Boot/boox64.efi on the EFI system partition to boot up in UEFI mode. If you share the ESP with Windows it might be possible to add it to the Windows boot menu using the bcdedit command but I don't know how (sorry).
Reply With Quote
  #5   (View Single Post)  
Old 10th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 97
Default

Hi jggimi,

thank you for the reply. Yes, the UEFI/BIOS switching is a possibility, though, as noted, I would prefer not to enter the UEFI/BIOS; I am afraid of inadvertently changing other settings. However, maybe it is not so bothersome as one of the OSs will be used most of the time.

I like your idea of disconnecting one of the drive during the installation.

Hi hd77,

thank you for the reply. I found GRUB during my search, but it seems that people have issues with making it work consistently. In fact, the FAQ Haed-on_the_Stick posted, notes in particular: "GRUB is reported to usually fail."

Hi Head-on_the_Stick,

yes, as you noted, the FAQ specifically recites MBR.

Perhaps I will stick with switching by invoking UEFI/BIOS for now.

Kindest regards,

M
Reply With Quote
Reply


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
$35M fine for Morgan Stanley after unencrypted, unwiped hard drives are auctioned J65nko News 0 21st September 2022 10:46 PM
Hard drives are slow on NetBSD 8.1 notooth NetBSD General 0 6th November 2019 10:57 PM
Can DRAM replace hard drives and SSDs? RAMCloud creators say yes J65nko News 0 8th November 2011 09:16 AM
Is is possible to access my hard drives from install CD 'Shell' option?... Quaxo OpenBSD Installation and Upgrading 2 17th May 2009 04: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


All times are GMT. The time now is 09:14 AM.


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