Re: efiboot: change default partition from hd0a
> you may have to compile your own bootloader. you just need someone to give > you the patch needed to default you to partition l. Thanks for the suggestion! I dug through the code and changed the default partition myself. In case anyone is looking for it, it is in devboot() function: /usr/src/sys/arch/amd64/stand/efiboot/dev_i386.c > I looked at the .so file that builds the .EFI and I didn't see anything about > msdos file system. I only saw things like: cd9660 nfs ufs ufs2 tftp. It may > be possible if you compiled in msdos support to read in your config from your > EFI partition. I would like that feature. Interesting observation. I will try to look further into this possibility as well. -Johnathan
efiboot: change default partition from hd0a
I have installed OpenBSD on hd0l: in my case it is for multi-booting, but I imagine there are other use cases where boot and/or root are installed on partitions other than 'a'. This is a UEFI system so I've installed the efi bootloader which I am able to execute. The bootloader first complains that there is no hd0a:/etc/boot.conf. This is expected, since my install is at hd0l. Since there is no boot.conf being read, it doesn't know where to try booting: I am only able to boot the OS by typing "boot hd0l:/bsd". This is not the end of the world, but it feels like it should be possible to have a boot.conf somewhere other than the 'a' partition. Is it? Is it possible to have a conf file in the EFI partition alongside the bootloader itself? Thanks, Johnathan