Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
Thank you again for all your suggestions and answers. I finally made it to work. I first shrunk windows partition to be below 256 GB. Then as it says in this thread: https://marc.info/?l=openbsd-misc&m=138477729520448&w=2 I changed BOOTBIOS_MAXSEC in sys/arch/amd64/include/biosvar.h from ((1 << 28) - 1) to ((1 << 29) - 1), and rebuilt the system follwoing release(8), copied installboot binary to /usr/sbin overwriting the old one and successfully installed biosboot. I can finally boot OpenBSD directly from windows bootloader without using grub. 2016-09-26 12:48 GMT+02:00 Oriol Demaria : > I have OpenBSD booting correctly along Windows 10 in UEFI mode. I > installed a minimal Ubuntu to get grub2 installed, as it does it > without detecting the Windows OS. Then I copied the BOOTX64.EFI file > from OpenBSD to the EFI partition. With this custom entry in the grub > configuration works perfectly: > > menuentry "OpenBSD" { > insmod part_gpt > insmod search_fs_uuid > insmod chain > chainloader (hd0,gpt1)/EFI/openbsd/BOOTX64.EFI > } > > I assume that you can figure out if you want to make OpenBSD the > default, as I do, and also where did I copied the file. Works perfectly > for me. > > Regards, > -- > Oriol Demaria > 0x1FEF5D72 > 24 de septiembre del 2016 20:12, "yra ten" escribió: >> Thank you all for your asnwers. I cannot use grub or lilo as some of >> you pointed out beaceuse grub is i386 only and lilo isn't even in >> ports, and I don't have linux installed. I don't want to use quemu, >> vmm/vmd or any virtualization if at all possible as that would degrade >> performance, that isn't that great to begin with on lowe power i5(U) >> especially using Windows and Xilinx. Unfortunately I think my model of >> Thinkpad doesn't have space for another drive as it's middle range L >> series not higher end T seris. Also I wouldn't be able tu justify that >> expense beacuse $80 or so is much for me especially considering the >> fact I just spend all my savings on this very laptop. >> >> 2016-09-23 21:56 GMT+02:00 Karel Gardas : >> >>> On Fri, Sep 23, 2016 at 9:50 PM, Fred wrote: Or run it all on OpenBSD and run Windows and Linux in qemu from ports. Works for me ;~) >>> >>> How is it looking with performance difference of such combo host >>> versus guest? OP would like to run Xilinx ISE which is CPU/RAM hog >>> enough even on the fastest machines so running this in Qemu, hmm...
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
>Thank you all for your asnwers. I cannot use grub or lilo as some of >you pointed out beaceuse grub is i386 only and lilo isn't even in >ports, and I don't have linux installed. Neither do I, but I have Grub2 (from Debian amd64) and OpenBSD amd64 ;) You don't need to install any Gnu/Linux system to have bootloader from Gnu/Linux. You just need to prepare pendrive to boot liveCD *once* and install lilo or Grub2 bootloader, but not need to install the whole system. I must admit that I have additional 50MB partition with ext2 filesystem for bootloader.
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
Thank you all for your asnwers. I cannot use grub or lilo as some of you pointed out beaceuse grub is i386 only and lilo isn't even in ports, and I don't have linux installed. I don't want to use quemu, vmm/vmd or any virtualization if at all possible as that would degrade performance, that isn't that great to begin with on lowe power i5(U) especially using Windows and Xilinx. Unfortunately I think my model of Thinkpad doesn't have space for another drive as it's middle range L series not higher end T seris. Also I wouldn't be able tu justify that expense beacuse $80 or so is much for me especially considering the fact I just spend all my savings on this very laptop. 2016-09-23 21:56 GMT+02:00 Karel Gardas : > On Fri, Sep 23, 2016 at 9:50 PM, Fred wrote: >> >> Or run it all on OpenBSD and run Windows and Linux in qemu from ports. >> >> Works for me ;~) > > How is it looking with performance difference of such combo host > versus guest? OP would like to run Xilinx ISE which is CPU/RAM hog > enough even on the fastest machines so running this in Qemu, hmm...
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On 2016-09-23, yra ten wrote: > I've been looking for a solution, and then stumbled on this: > https://marc.info/?l=openbsd-misc&m=138477729520448&w=2 > So it looks like OpenBSD's bootloader needs too be in first 128 GB of > the disk. As for dualbooting I want to use OpenBSD > but I'll sonn start college, and we have digital logic class in firs > semester, and I will be required to use Xilinx ISE on their > machines so I want to have it on my PC too. As far as I know Xilinx > ISE supports only Windows and Linux, and OpenBSD > 6.0 no longer supports linux_compat, so that's why I went with dual booting. Do you have a way to use two drives? e.g. a minipcie/similar SSD and a 2.5" hard drive? I'm doing this on my thinkpad, it gives a convenient way to dual- boot using the BIOS boot selector, and is a lot easier (especially when you need to update the OS) than single-disk dual boot. > 2016-09-23 14:04 GMT+02:00 Eric Furman : >> NO professional dual boots OS's >> There is NO REAL reason to dual boot ANY OS's What nonsense.
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On Fri, Sep 23, 2016 at 09:56:27PM +0200, Karel Gardas wrote: > On Fri, Sep 23, 2016 at 9:50 PM, Fred wrote: > > > > Or run it all on OpenBSD and run Windows and Linux in qemu from ports. > > > > Works for me ;~) > > How is it looking with performance difference of such combo host > versus guest? OP would like to run Xilinx ISE which is CPU/RAM hog > enough even on the fastest machines so running this in Qemu, hmm... > Given that it's software it'd be pretty abysmal. You'd want a Windows or Linux host with the other two in VMs. Personally I just triple boot using LILO for chainloading and it works fine, even with the OpenBSD partition past 128GB. (Sorry about the direct reply Karel, didn't pay attention to the To field.)
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On Fri, Sep 23, 2016 at 9:50 PM, Fred wrote: > > Or run it all on OpenBSD and run Windows and Linux in qemu from ports. > > Works for me ;~) How is it looking with performance difference of such combo host versus guest? OP would like to run Xilinx ISE which is CPU/RAM hog enough even on the fastest machines so running this in Qemu, hmm...
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On 09/23/16 13:28, yra ten wrote: I've been looking for a solution, and then stumbled on this: https://marc.info/?l=openbsd-misc&m=138477729520448&w=2 So it looks like OpenBSD's bootloader needs too be in first 128 GB of the disk. As for dualbooting I want to use OpenBSD but I'll sonn start college, and we have digital logic class in firs semester, and I will be required to use Xilinx ISE on their machines so I want to have it on my PC too. As far as I know Xilinx ISE supports only Windows and Linux, and OpenBSD 6.0 no longer supports linux_compat, so that's why I went with dual booting. Or run it all on OpenBSD and run Windows and Linux in qemu from ports. Works for me ;~) Fred
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
Hi Eric, On Fri, 23 Sep 2016 08:04:19 -0400 Eric Furman wrote: > NO professional dual boots OS's Apart from those who are sick and tired of Windows, and sick and tired of Microsoft controlling their PCs. Many a professional will use Windows to do their work-related work, and the Linux distro to do the rest of their stuff. > There is NO REAL reason to dual boot ANY OS's See above, although with the event of vmm(4) and vmd(8) and other virtualisation, I predict that eventually your point will be valid, as people can simply run the secondary OS in a virtual environment. > This is why OpenBSD has stopped supporting such nonsense. Just because OpenBSD doesn't support it doesn't mean that it is "such nonsense." However since there are plenty of other boot managers out there, many of which support this configuration, there is no need for OpenBSD's boot loader to support it, as this just duplicates work. > Sorry. > I AM NOT AN OPENBSD DEVELOPER > NEVER HAVE BEEN > NEVER WILL BE. > http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/geo/openbsd-developers/files/OpenBSD Then there is no need to shout at everyone. > On Fri, Sep 23, 2016, at 06:57 AM, Lampshade wrote: > > I have installed OpenBSD before it had UEFI support, > > so I installed in Legacy Boot mode (I have UEFI capable > > laptop). > > I personally use Grub2 installed via > > debian live amd64 standard image. > > > > I don't have Gnu/Linux installed. > > I only have bootloader from Debian. > > > > I have Windows 8.1 and OpenBSD amd64. > > > > # cat /mnt/ext2/grub/grub.cfg \ > > > | grep -v -e ^# -e ^[:space:]*$ > > GRUB_DEFAULT=0 > > GRUB_TIMEOUT=5 > > GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` > > GRUB_CMDLINE_LINUX_DEFAULT="quiet" > > GRUB_CMDLINE_LINUX="" > > menuentry "Windows" --class os { > > set root=(hd0,2) > > chainloader (hd0,msdos2)+1 > > } > > menuentry "OpenBSD" { > > set root=(hd0,4) > > chainloader +1 > > } > > > > Grub2 is faster than Windows bootloader.
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
I've been looking for a solution, and then stumbled on this: https://marc.info/?l=openbsd-misc&m=138477729520448&w=2 So it looks like OpenBSD's bootloader needs too be in first 128 GB of the disk. As for dualbooting I want to use OpenBSD but I'll sonn start college, and we have digital logic class in firs semester, and I will be required to use Xilinx ISE on their machines so I want to have it on my PC too. As far as I know Xilinx ISE supports only Windows and Linux, and OpenBSD 6.0 no longer supports linux_compat, so that's why I went with dual booting. 2016-09-23 14:04 GMT+02:00 Eric Furman : > NO professional dual boots OS's > There is NO REAL reason to dual boot ANY OS's > This is why OpenBSD has stopped supporting such nonsense. > Sorry. > I AM NOT AN OPENBSD DEVELOPER > NEVER HAVE BEEN > NEVER WILL BE. > http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/geo/openbsd-developers/files/OpenBSD > > > On Fri, Sep 23, 2016, at 06:57 AM, Lampshade wrote: >> I have installed OpenBSD before it had UEFI support, >> so I installed in Legacy Boot mode (I have UEFI capable >> laptop). >> I personally use Grub2 installed via >> debian live amd64 standard image. >> >> I don't have Gnu/Linux installed. >> I only have bootloader from Debian. >> >> I have Windows 8.1 and OpenBSD amd64. >> >> # cat /mnt/ext2/grub/grub.cfg \ >> > | grep -v -e ^# -e ^[:space:]*$ >> GRUB_DEFAULT=0 >> GRUB_TIMEOUT=5 >> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` >> GRUB_CMDLINE_LINUX_DEFAULT="quiet" >> GRUB_CMDLINE_LINUX="" >> menuentry "Windows" --class os { >> set root=(hd0,2) >> chainloader (hd0,msdos2)+1 >> } >> menuentry "OpenBSD" { >> set root=(hd0,4) >> chainloader +1 >> } >> >> Grub2 is faster than Windows bootloader.
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
On Fri, Sep 23, 2016 at 12:57:35PM +0200, Lampshade wrote: > I have Windows 8.1 and OpenBSD amd64. > > # cat /mnt/ext2/grub/grub.cfg \ > > | grep -v -e ^# -e ^[:space:]*$ > GRUB_DEFAULT=0 > GRUB_TIMEOUT=5 > GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` > GRUB_CMDLINE_LINUX_DEFAULT="quiet" > GRUB_CMDLINE_LINUX="" > menuentry "Windows" --class os { > set root=(hd0,2) > chainloader (hd0,msdos2)+1 > } > menuentry "OpenBSD" { > set root=(hd0,4) > chainloader +1 > } This config is questionable as there is no 'lsb_release' command either on Windows (huh) or OpenBSD. I have no idea why you share a config from Debian here, ie. you have tripple-boot? j.
Re: Dual booting - can't boot OpenBSD from Windows 10 bootloader
NO professional dual boots OS's There is NO REAL reason to dual boot ANY OS's This is why OpenBSD has stopped supporting such nonsense. Sorry. I AM NOT AN OPENBSD DEVELOPER NEVER HAVE BEEN NEVER WILL BE. http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/geo/openbsd-developers/files/OpenBSD On Fri, Sep 23, 2016, at 06:57 AM, Lampshade wrote: > I have installed OpenBSD before it had UEFI support, > so I installed in Legacy Boot mode (I have UEFI capable > laptop). > I personally use Grub2 installed via > debian live amd64 standard image. > > I don't have Gnu/Linux installed. > I only have bootloader from Debian. > > I have Windows 8.1 and OpenBSD amd64. > > # cat /mnt/ext2/grub/grub.cfg \ > > | grep -v -e ^# -e ^[:space:]*$ > GRUB_DEFAULT=0 > GRUB_TIMEOUT=5 > GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` > GRUB_CMDLINE_LINUX_DEFAULT="quiet" > GRUB_CMDLINE_LINUX="" > menuentry "Windows" --class os { > set root=(hd0,2) > chainloader (hd0,msdos2)+1 > } > menuentry "OpenBSD" { > set root=(hd0,4) > chainloader +1 > } > > Grub2 is faster than Windows bootloader.